USS Function

Returns the uncorrected sum of squares of the nonmissing arguments.

Category: Descriptive Statistics

Syntax

Required Argument

argument

specifies a numeric constant, variable, or expression. At least one nonmissing argument is required. Otherwise, the function returns a missing value. If you have more than one argument, the argument list can consist of a variable list, which is preceded by OF.

Example

The following SAS statements produce these results.
SAS Statement
Result
x1=uss(4,2,3.5,6);
68.25
x2=uss(4,2,3.5,6,.);
68.25
x3=uss(of x1-x2);
9316.125