CALC 1 Home Documentation Home Contact

CALC 1 Statistics: 2 Lists Examples

Calculate the sum and correlation for the following data:

X Y
2 33
3 42
4 54
5 64
6 77

 

Data Entry
Value Key Display Description
  shift clr l 0 Clears the x and y lists.
33 = or ENTER 33.0000 Enters y value.
2 Σ+ 1.0000 Append x and y to lists x and y.
42 = or ENTER 42.0000 Enters y value.
3 Σ+ 2.0000 Append x and y to lists x and y.
Repeat for the remaining data.

Data can be verified and corrected using the List Manager.

The calculations below that measure central tendency and spread return values for both the x and y lists to the x and y registers of the stack. In RPN mode, both values will be displayed as long as 2 or more rows are displayed. ALG mode only displays the x register of the stack, so you will need to tap SWAP to see the y register value.

Calculations
mean 54.0000 y
4.0000 x
Calculates the mean of lists x, y.
Σx,y 270.00 y
20.00 x
Calculates the sum of lists x, y.
var 303.50 y
2.50 x
Calculates the sample variance of lists x, y.
shift , Σx, y^2 15,790 y
90 x
Calculates the sum of the squares of the values.
shift , crrl 0.9984 Calculates the correlation coefficient between lists x, y.
shift , covar 22.00 Calculates the covariance of lists x, y.
shift , w mn 59.50 Calculates the weighted mean of list y.
shift , Σx*y 1190 Calculates the sum of the products.

Plotting
Value Key Display Description
  shift plot 0 Displays a plot of the lists.

Filling list x with a sequence of numbers

The key "seq(x) will populate list x with a sequence of numbers from 0 to the value in rgx. This is useful for creating a list for the y=f(x) key or for x values for a x-y plot."

Value Key Display Description
100 seq(x) 100
Populates list x with values 0-99 and returns the number of values created.

If you have a list of values in list x and would like create an x-y plot:

  1. From the 1 List Statistics calculator sort the list using the sort 0-9 or 9-0 key.
  2. Store the list to list y.
  3. Switch to the 2 List Statistics calculator.
  4. The number of values should already be in rgx from storing the list. If not, the "N" key calculates it.
  5. Tap "seq(x)" to populate list x.
  6. Tap "plot" to create the x-y plot.

Filling list y from an expression with the"y=f(x)"key

List y can be filled from the values in list x and an ALG expression.
The "y=f(x)" key will only be displayed in ALG calculation mode.
If you do not have a key labeled "y=f(x)" (shift, 5th row, 3rd col), change the calculation mode to ALG in options.

This example assumes the values at the top of the page are in list x. 

Value Key Display Description
  C
Clears the current expression
  rgx^2+1
Enter expression
  shift y=f(x)
Evaluates the current expression for each value in list x and places the results in list y.

Displaying the List Manager for lists x and y will show the results.