# Example Of Stat Menu Operations - HP 50g User Manual

Graphing calculator.

X^2 : provides the sum of squares of values in Xcol column.
Y^2 : provides the sum of squares of values in Ycol column.
X*Y: provides the sum of x y, i.e., the products of data in columns Xcol and
Ycol.
N : provides the number of columns in the DATA matrix.

## Example of STAT menu operations

Let DATA be the matrix shown in next page.
Type the matrix in level 1 of the stack by using the Matrix Writer.
To store the matrix into DATA, use: @) D ATA „ @£DAT
Calculate statistics of each column: @) S TAT @) 1 VAR:
@TOT
@MEAN
@SDEV
@MAX£
@MIN£
L @VAR
@PSDEV
@PVAR
Data:
Generate a scatterplot of the data in columns 1 and 2 and fit a straight line
to it:
produces [38.5 87.5 82799.8]
produces [5.5. 12.5 11828.54...]
produces [3.39... 6.78... 21097.01...]
produces [10 21.5 55066]
produces [1.1 3.7 7.8]
produces [11.52 46.08 445084146.33]
produces [3.142... 6.284... 19532.04...]
produces [9.87... 39.49... 381500696.85...]
1
1 .
3
7 .
3
7 .
8
9 .
2
2 .
5
9 .
5
5 .
12
5 .
6
8 .
15
1 .
9
2 .
19
9 .
10
0 .
21
5 .
7
8 .
101
25
612
2245
24743
55066
Page 18-19