DOT PRODUCT

The dot product between two variabes X and Y is the sum of the
products. The formula for the dot product is

\( X \cdot Y = \sum_{i=1}^{n}{X_{i} Y_{i}} \)

Syntax:

LET <par> = DOT PRODUCT <y1> <y2>
<SUBSET/EXCEPT/FOR qualification>
where <y1> is the first response variable;
<y2> is the second response variable;
<par> is a parameter where the computed dot product
is stored;
and where the <SUBSET/EXCEPT/FOR qualification> is optional.

This command performs the same function as the
VECTOR DOT PRODUCT. The
distinction is that DOT PRODUCT is implemented as a
Statistics LET subcommand while
VECTOR DOT PRODUCT is implemented as a
Mathematics LET subcommand. The
Statistics LET subcommands work with the commands documented in
HELP STATISTICS while the Mathematics LET subcommands do not.