![]() |
RATIOName:
![]() In the current implementation, Y1 and Y2 are assumed to have the same number of elements. In the typical use of this command, Y2 denotes the number of cases or number of trials while Y1 denotes the corresponding number of successes or failures (e.g., the number of successes might be the number of false negatives or false positives). This statistic then computes the success rate over all groups.
where <y1> is the first response variable; <y2> is the second response variable; <par> is a parameter where the computed ratio is stored; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
LET A = RATIO Y1 Y2 SUBSET TAG > 2
CROSS TABULATE RATIO Y1 Y2 X1 X2
RATIO PLOT Y1 Y2 X
BOOTSTRAP RATIO PLOT Y1 Y2
LET Y1 = DATA 2 4 0 1 8 5 5 5 2 2 LET Y2 = 10 FOR I = 1 1 10 LET A = RATIO Y1 Y2
Date created: 12/2/2005 |