
SUM OF SQUARESName:
You can also compute the difference of the sum of squares between two response variables. That is, compute the sum of squares for each variable and then compute the difference between these two values.
<SUBSET/EXCEPT/FOR qualification> where <y> is the response variable; <par> is a parameter where the computed sum of squares is saved; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
<SUBSET/EXCEPT/FOR qualification> where <y1> is the first response variable; <y2> is the second response variable; <par> is a parameter where the computed difference of the sum of squares is saved; and where the <SUBSET/EXCEPT/FOR qualification> is optional. This syntax computes the sum of squares of <y1> and <y2> and then computes the difference of the two sum of squares values.
LET A = SUM OF SQUARES Y1 SUBSET TAG > 2 LET A = DIFFERENCE OF SUM OF SQUARES Y1 Y2
where <value> is typically 3 or 4 (if the reponse data are zscores or zscore type data). Note that the value represents an absolute value. For example, if CAPVALUE is 4, values greater than 4 will be set to 4 and values less than 4 will be set to 4.
2012/6: Added DIFFERENCE OF SUM OF SQUARES LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100 LET SSQ = SUM OF SQUARES Y1The resulting value is 85.67012.  
Privacy
Policy/Security Notice
NIST is an agency of the U.S. Commerce Department.
Date created: 06/29/2012 