
RATIOName:
In the current implementation, Y_{1} and Y_{2} are assumed to have the same number of elements. In the typical use of this command, Y_{2} denotes the number of cases or number of trials while Y_{1} 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
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  
Privacy
Policy/Security Notice
NIST is an agency of the U.S. Commerce Department.
Date created: 12/02/2005 