# Statistics Calculator Packet - Old OS

# Statistics Calculator Packet - Old OS

### Crystal Holtzheimer

#### Whatcom Community College Library

##### Bellingham

### 1

## To “Seed” Your Calculator

- Input a numeric value between 5,000 and 10,000, and make sure it’s not “tidy” (in other words, don’t use exactly 5,000, but something like 5,397).
- Press the STO> key.
- Press MATH and use the right arrow key to scroll over to the PRB menu.
- Press the down arrow key to highlight rand and press ENTER.
- Press ENTER again. The calculator will display the same number you used from step 1 above, but it is now “seeded.”

*Special n**ote* *about seeding**:* You only need to seed your calculator once, and it will stay that way until you remove the batteries or clear the RAM. If you remove the batteries or clear the RAM, you will need to seed your calculator again.

### 2

## To Generate Pseudo-Random Integers

- Once you have first seeded your calculator, if necessary, press MATH and use the right arrow key to scroll over to the PRB menu.
- Highlight randInt and press ENTER.
- Your screen should now display the prompt randInt(.
- Enter the range of data values you want the random numbers to be generated from, separated by a comma. Then, use one more comma and select the amount of numbers you want it to return at one time. For example, randInt(1,6,3) will generate 3 random integers between 1 and 6, while randInt(0,99,5) will generate 5 random integers between 0 and 99.
- Make sure to close the parentheses and press ENTER. The calculator should return the requested amount of random numbers. If you keep pressing ENTER, this will create additional “trials.”

### 4

## To Sort Lists of Data

- Input a list of data, following the procedure above.
- Press STAT.
- Select either SortA (this will sort the list from low to high) or SortD (this will sort the list from high to low), and press ENTER.
- Input the name of the list where the data are stored by pressing 2
^{nd} and then the number of the list you want to sort. - Close the parentheses and press ENTER.
- The calculator will displa the word Done, and if you go back into STAT and EDIT, you will see that your list has been sorted.

### 5

## To Make a Histogram

- Enter the data into a list using the procedure above.
- Press 2
^{nd} and Y=. This will take you to the STAT PLOT menu. - Press ENTER when the desired plot number is highlighted (you might want to make sure other plots are turned off).
- Select the word ON and press ENTER.
- Press the down arrow key, and select the third icon in the first row (it will look like a histogram) and press ENTER.
- Input the list in which the data are stored next to Xlist.
- If your data are all stored in one list, Freq should be set to 1. If you have a list of frequencies associated with your list of data, you will need to input the name of this list on the Freq line.
- Press WINDOW.
- Set up the window as follows:
- Xmin: lowest class boundary
- Xmax: highest class boundary
- Xscl: class width
- Ymin: 0
- Ymax: a little higher than the largest frequency
- Yscl: Could use a lot of things here, but 1 will work
- Xres: 1
- Press GRAPH. The calculator should now display the desired histogram. You can view details about each of the bins by pressing TRACE.

### 6

## To Make a Time-Series Graph

- Enter the data into a list using the procedure above.
- Press 2
^{nd} and Y=. This will take you to the STAT PLOT menu. - Press ENTER when the desired plot number is highlighted (you might want to make sure other plots are turned off).
- Select the word ON and press ENTER.
- Press the down arrow key, and select the second icon on the first row. It will look like a time-series graph.
- Input the list in which the x-data are stored next to Xlist.
- Input the list in which the y-data are stored next to Ylist.
- Select the mark you would like the calculator to use for the data points.
- Press ZOOM and the number 9 (this is ZoomStat – statistical zoom).
- The calculator should now display the desired time-series graph.

### 7

## To Compute One Variable Statistics for Data in a Single List

- Input your data into a list using the procedure above.
- Press STAT, then press the right arrow key to scroll over to the CALC menu.
- Highlight 1-VarStats and press ENTER.
- Press 2
^{nd} and one of the numbers 1 through six to indicate in which list your data are stored. - Press ENTER. The calculator should now display the desired statistics.

### 8

## To Compute One Variable Statistics for Data in Two Lists

**Special note about data in two lists:** You would use this method to compute a weighted average, or to compute one variable statistics when you have data in one list and associated frequencies in another list.

- Input your data using the procedure above, and input the weights/frequencies associated with the data into another list.
- Press STAT, then press the right arrow key to scroll over to the CALC menu.
- Press ENTER.
- Press 2
^{nd} and one of the numbers 1 through six to indicate in which list your data are stored. - Press the comma key.
- Press 2
^{nd} and one of the numbers 1 through 6 to indicate in which list your weights/frequencies are stored. - Press ENTER. The calculator should now display the desired statistics.

### 9

## To Create a Box and Whisker Plot

- Enter the data into a list using the procedure above.
- Press 2
^{nd} and Y=. This will take you to the STAT PLOT menu. - Press ENTER when the desired plot number is highlighted (you might want to make sure other plots are turned off).
- Select the word ON and press ENTER.
- Press the down arrow key, and then press the right arrow key until the first icon on the second row is highlighted (it will look like a box and whisker plot with some dots) and press ENTER.
- Input the list in which the data are stored next to Xlist.
- If the data are in a single list, Freq should be set to 1. If your data has weights/frequencies associated with it, input the name of this list next to Freq.
- Select the mark you would like the calculator to use for outliers.
- Press ZOOM and 9 (ZoomStat). The calculator will now display the desired histogram. You can also press TRACE to view the values from the graph.

### 10

## To Calculate a Factorial

- Input the number that you want to compute the factorial of.
- Press MATH and use the right arrow key to scroll over to the PRB menu.
- Highlight ! (the factorial – looks like an exclamation point) and press ENTER.
- Press ENTER to compute the factorial.

### 11

## To Calculate the number of Permutations or Combinations

- Input the total number of objects, n.
- Press MATH and use the right arrow key to scroll over to the PRB menu.
- Highlight either nPr or nCr and press ENTER.
- Input the number of objects you’re choosing, r.
- Press ENTER to compute the value.

### 12

## To Create a Histogram of a Probability Distribution

- Input the values of the random variable into L
_{1} (remember to use the class midpoints for continuous random variables). - Input the associated percentages, formatted as decimals, into L
_{2}. - Press 2
^{nd} Y= and ENTER to edit stat plot 1. - Press ENTER when the word ON is highlighted to turn on the stat plot.
- Select the histogram graphic and press ENTER.
- Set the Xlist: to L
_{1}. - Set the Freq: to L
_{2}. - Press WINDOW.
- Set up the window as follows:
- Xmin: lowest x-value from L
_{1} - Xmax: a little higher than the highest x-value from L
_{1} - Xscl: the “increment of change” of the x-variable in L
_{1} - Ymin: 0
- Ymax: a little higher than the maximum probability from L
_{2} - Yscl: Could use a lot of things here, but 0.05 works pretty well
- Xres: 1
- Press GRAPH. The calculator should now display the graph of the specified binomial distribution.

### 13

## To Calculate the Binomial Probability of a Single Value (exactly r successes)

- Press 2
^{nd} VARS to get to the DISTR menu. - Use the down arrow key to scroll down until binompdf is highlighted and press ENTER.
- Input the number of trials, n.
- Press the comma key.
- Input the probability of success on a single trial, p, formatted as a decimal.
- Press the comma key.
- Input the number of successes, r.
- Press the ) key.
- Press ENTER to compute the probability.

### 14

## To Calculate the Binomial Probability of a Range of Values (r or fewer successes)

- Press 2
^{nd} VARS to get to the DISTR menu. - Press the down arrow key to scroll down until binomcdf is highlighted and press ENTER.
- Input the number of trials, n.
- Press the comma key.
- Input the probability of success on a single trial, p, formatted as a decimal.
- Press the comma key.
- Input the number of successes, r.
- Press the ) key.
- Press ENTER to compute the probability.

### 15

## To Graph a Binomial Distribution

- Input the possible number of successes (from zero to n) in L
_{1}. - Scroll right and up, using the arrow keys, until the L
_{2} is highlighted. - Press 2
^{nd} VARS and select binompdf from the DISTR menu. - Input the value for n, a comma, the value for p formatted as a decimal, a comma, L
_{1}, and a closing parenthesis. The command should look like L_{2}=binompdf(n,p,L_{1}). - Press ENTER, and the calculator will store the probabilities attached to each number of successes in L
_{2}. - Press 2
^{nd} Y= to go to the STAT PLOT menu. - Press ENTER to select plot 1.
- Press ENTER when the word ON is highlighted to turn the plot on.
- Use the arrow keys to scroll over until the histogram graphic is highlighted, and press ENTER.
- Set the Xlist to L
_{1}. - Set the Freq to L
_{2}. - Press WINDOW.
- Set up the window as follows:
- Xmin: -0.5
- Xmax: n+0.5
- Xscl: 1
- Ymin: 0
- Ymax: a little higher than the maximum probability from L2
- Yscl: Could use a lot of things here, but 0.05 works pretty well
- Xres: 1
- Press GRAPH. The calculator should now display the graph of the specified binomial distribution.

### 16

## To Compute One Variable Statistics for a Probability Distribution

- Input the values of the random variable in L
_{1}, and the associated probabilities in L_{2}, using the procedure above for entering lists of data. - Follow the procedure above for computing one variable statistics for data in two lists.

### 17

## To Graph a Normal Distribution

- Press the Y= key.
- Press 2
^{nd} VARS to get to the DISTR menu. - Select normalpdf and press ENTER.
- Press the X key.
- Press the comma key.
- Input the desired mean.
- Press the comma key.
- Input the desired standard deviation.
- Press the ) key.
- Press the WINDOW key.
- Set Xmin
^{µ-3σ} to and Xmax to ^{µ+3σ} . - Press the ZOOM key.
- Press the down arrow key until ZoomFit is highlighted and press ENTER.
- The calculator should now display the desired graph.

### 18

## To Compute the Areas Under the Normal Curve

- Press 2
^{nd} VARS to get to the DISTR menu. - Press the down arrow key to highlight normalcdf, and press ENTER.
- Input the left endpoint, and press the comma key.
- Input the right endpoint and press ).
- Press ENTER. The calculator should display the area under the normal curve between the two specified endpoints (remember: use -100 for an infinite left endpoint, and 100 for an infinite right endpoint).

### 19

## To Find a z-value from the Area to the Left of z

- Press 2
^{nd} VARS to get to the DISTR menu. - Press the down arrow key to highlight invNorm, and press ENTER.
- Input the percentage, expressed as a decimal, and press ).
- Press ENTER. The calculator should display the desired z-value.

### 20

## To Graph a Normal Quantile Plot

- Enter the data into a list using the procedure above.
- Press 2
^{nd} and Y=. This will take you to the STAT PLOT menu. - Press ENTER when the desired plot number is highlighted (you might want to make sure other plots are turned off).
- Select the word ON and press ENTER.
- Press the down arrow key, and then press the right arrow key until the last icon on the second row is highlighted, and press ENTER.
- Input the name of the list in which the data are stored next to Data List.
- Select the axis you would like the calculator to use for the data (usually, X works well).
- Select the mark you would like the calculator to use for the data points.
- Press Zoom and 9 (ZoomStat).
- The calculator should now display the desired normal quantile plot.

### 21

## To Compute a Confidence Interval for a Mean

- Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until ZInterval or TInterval is highlighted (whichever is appropriate).
- Press ENTER.
- Specify whether you are using raw data, or stats (if you are using raw data, you need to enter that data into one of the lists before attempting to create the interval).
*If you’re using raw data*, input the location of the data, the frequency of the data points contained in the list (usually 1), and the confidence level, formatted as a decimal. *If you’re using stats*, enter the sample mean, the population or sample standard deviation (whichever is appropriate), the sample size, and the confidence level, formatted as a decimal. - Highlight the word Calculate and press ENTER.
- The calculator should now display the desired confidence interval.

### 22

## To Compute a Confidence Interval for a Proportion

- Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until 1-PropZInt is highlighted.
- Press ENTER.
- Input the number of “successes” next to the x. Remember: The number of successes must be entered as a whole number.
- Input the sample size next to the n.
- Input the confidence level as a decimal.
- Highlight the word Calculate and press ENTER.
- The calculator should now display the desired confidence interval.

### 23

## To Compute a Confidence Interval for the Difference Between Two Means (Independent Samples)

- Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until 2-SampZInt or 2-SampTInt is highlighted (whichever is appropriate).
- Press ENTER.
- Specify whether you are using raw data, or stats (if you are using raw data, you need to enter that data into two of the lists, one for each sample, before attempting to create the interval).
*If you’re using raw data*, input the locations of the data, the frequency of the data points contained in each list (usually 1), the confidence level formatted as a decimal, and tell the calculator whether or not to use pooling, if necessary. *If you’re using stats*, input the mean, standard deviation, and sample size for each of the two samples, the confidence level formatted as a decimal, and tell the calculator whether or not to use pooling, if necessary. - Highlight the word Calculate and press ENTER.
- The calculator should now display the desired confidence interval.

### 24

## To Compute a Confidence Interval for the Difference Between Two Proportions (Independent Samples)

- Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until 2-PropZInt is highlighted.
- Press ENTER.
- Input the number of “successes” for the first group next to the x
_{1} (remember: this must be a whole number). - Input the sample size for the first group next to the n
_{1}. - Input the number of “successes” for the second group next to the x
_{2}. - Input the sample size for the second group next to the n
_{2}. - Input the desired confidence level, formatted as a decimal.
- Highlight the word Calculate and press ENTER.
- The calculator should now display the desired confidence interval.

### 25

## To Compute a Confidence Interval for Dependent Samples (Paired Data)

- Store your data in two lists, L
_{1} and L_{2} for example. - Create a list of the differences by scrolling over and up until L
_{3} is highlighted. Then press 2^{nd} 1 minus 2nd 2, and press ENTER. This stores a list of differences in L_{3}. - Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until TInterval is highlighted.
- Press ENTER.
- Highlight Data.
- Press ENTER.
- Specify the location of the list of differences (L
_{3} in our example above), the frequency (usually 1), and the confidence level formatted as a decimal. - Highlight Calculate and press ENTER.
- The calculator should now display the desired confidence interval.

### 26

## To Test Hypotheses About a Mean

- Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until Z-Test or T-Test is highlighted (whichever is appropriate).
- Press ENTER.
- Specify whether you are using raw data, or stats (if you are using raw data, you need to enter that data into one of the lists before attempting to create the interval).
*If you’re using raw data*, input the value from the null hypothesis, the location of the data, the frequency of the data points contained in the list (usually 1), and the alternative hypothesis. *If you’re using stats*, input the value from the null hypothesis, the mean, the standard deviation, the sample size, and the alternative hypothesis. - Highlight the word Calculate and press ENTER.
- The calculator should now display the results of the hypothesis test.

### 27

## To Test Hypotheses About a Proportion

- Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until 1-PropZTest is highlighted.
- Press ENTER.
- Input the proportion you used for your null hypothesis (as a decimal) next to the p
_{0}. - Input the number of “successes” next to the x. Remember: The number of successes must be entered as a whole number.
- Input the sample size next to the n.
- Select the alternate hypothesis.
- Highlight Calculate and press ENTER.
- The calculator should now display the results of the hypothesis test.

### 28

## To Test Hypotheses About the Difference Between Two Proportions (Independent Samples)

- Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until 2-PropZTest is highlighted.
- Input the number of “successes” for the first group next to the x
_{1}. Remember: this must be a whole number. - Input the sample size for the first group next to the n
_{1}. - Input the number of “successes” for the second group next to the x
_{2}. - Input the sample size for the second group next to the n
_{2}. - Select the alternate hypothesis.
- Highlight Calculate and press ENTER.
- The calculator should now display the results of the hypothesis test.

### 29

## To Test Hypotheses About the Difference Between Two Means (Independent Samples)

- Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until 2-SampZTest or 2-SampTTest is highlighted (whichever is appropriate).
- Press ENTER.
- Specify whether you are using raw data, or stats (if you are using raw data, you need to enter that data into two of the lists, one for each sample, before attempting to create the interval).
*If you’re using raw data*, input the locations of the data, the frequency of the data points contained in each list (usually 1), the confidence level formatted as a decimal, and tell the calculator whether or not to use pooling, if necessary. *If you’re using stats*, input the mean, standard deviation, and sample size for each of the two samples, the null hypothesis, and tell the calculator whether or not to use pooling, if necessary. - Highlight the word Calculate and press ENTER.
- The calculator should now display the results of the hypothesis test.

### 30

## To Test Hypotheses Using Paired (Dependent) Data

- Store your data in two lists, L
_{1} and L_{2} for example. - Create a list of the differences by scrolling over and up until L
_{3} is highlighted. Then press 2^{nd} 1 minus 2^{nd} 2, and press ENTER. This stores a list of differences in L_{3}. - Press STAT.
- Press the right arrow key to scroll over to the TESTS menu.
- Press the down arrow key to scroll down until T-Test is highlighted and press ENTER.
- Highlight Data and press ENTER.
- Specify the mean value from the null hypotheses, the list where the differences are stored, the frequency (usually 1), and the alternate hypothesis.
- Highlight the word Calculate and press ENTER.
- The calculator should now display the results of the hypothesis test.

### 31

## To Turn on the r and R2 Values

- Press 2
^{nd} 0 to enter the CATALOG menu. - Press x
^{-1} to navigate to the D section of the catalog. - Press the down arrow key to scroll down until DiagnosticOn is highlighted.
- Press ENTER twice.

## Special note about turning diagnostic values on

You only need to turn on these values once, and they will remain on until you remove the batteries or clear the RAM. If you remove the batteries or clear the RAM, you will need to repeat this process.

### 32

## To Create a Scatterplot

- Input the data into two lists (one for the x-values and one for the y-values) using the procedure above.
- Press 2
^{nd} and Y=. This will take you to the STAT PLOT menu. - Press ENTER when the desired plot number is highlighted (you might want to make sure other plots are turned off).
- Select the word ON and press ENTER.
- Press the down arrow key, and select the first icon on the first row. It will look like a scatterplot.
- Input the list in which the x-data are stored next to Xlist.
- Input the list in which the y-data are stored next to Ylist.
- Select the mark you would like the calculator to use for the data points.
- Press ZOOM and the number 9 (this is ZoomStat – statistical zoom).
- The calculator should now display the desired scatterplot.

### 33

## To Compute a Linear Regression and Diagnostics

**Special note about linear regression and diagnostics**: This process will allow you to compute the values for the linear regression, the correlation coefficient, and the coefficient of determination.

- Make sure you have already turned on your diagnostics, as described above.
- Input the data points into two lists (one for the x-values and one for the y-values) using to the procedure above.
- Press STAT.
- Press the right arrow key to scroll over to the CALC menu.
- Press the down arrow key to scroll down until LinReg(a+bx) is highlighted and press ENTER.
- Press 2
^{nd} and a number 1 through six to denote in which list your x-values are stored. - Press the comma key.
- Press 2
^{nd} and a number 1 through 6 to denote in which list your y-values are stored. - Press ENTER. The calculator should display the desired values.

### 34

## To Get the LinReg Line to Display With the Scatterplot

- Follow steps 1 through 8 above.
- Press the comma key.
- Press VARS.
- Press the right arrow key to navigate to the Y-VARS menu.
- Press ENTER three times.
- Press GRAPH to view the linear regression line with the scatterplot.

### 35

## To Compute Two Variable Statistics

- Input the data into two lists (one for the x-values and one for the y-values) using the procedure above.
- Press STAT.
- Press the right arrow key to scroll over to the CALC menu.
- Press the down arrow key until 2-Var Stats is highlighted, and press ENTER.
- Press 2
^{nd} and one of the numerals 1 through 6 to indicate in which list your x-values are stored. - Press the comma key.
- Press 2
^{nd} and one of the numerals 1 through 6 to indicate in which list your y-values are stored. - Press ENTER. The calculator should now display the desired statistics.

### 36

## To Compute Residuals

- Input the data into two lists (L
_{1} for the x-values and L_{2} for the y-values, for example), and calculate the linear regression equation, using the procedure above. - Select another list in which to store the residual values (L
_{3}, for example) by using the arrow keys to scroll over and up until the name of the list is highlighted. - Press 2
^{nd} STAT to navigate to the List menu. - Select the RESID option by scrolling down to it and pressing ENTER.
- Press ENTER again to populate your selected list with the residual values.

## Special note about computing residuals

You MUST compute the LinReg for your current set of data before asking the calculator to provide the residuals.

### 37

## To Graph a Residual Plot

- Compute the residuals using the procedure above.
- Press 2
^{nd} Y= to navigate to the STAT PLOT menu. - Select a plot and make sure it is turned on.
- Select the first icon (scatterplot) next to “Type.”
- Set the XList to the list where the x-values are stored.
- Set the YList to the list where the
**residuals** are stored. - Press ZOOM and select option 9 (ZoomStat).
- The calculator should now display the desired residual plot.

### 38

## To Test Hypotheses About ρ and β

- Input the data into two lists (one list for the x-values and one for the y-values).
- Press STAT.
- Press the right arrow key to scroll over to the TESTS submenu.
- Use the down arrow key to scroll down until LinRegTTest is highlighted and press ENTER.
- Select your x list and y list (the two lists where your data are stored).
- Select the frequency (usually 1).
- Select your alternate hypothesis.
- Highlight the word Calculate and press ENTER.
- The calculator should now display the results of the hypothesis test.

### 39

## To Compute a Confidence Interval for β

- Input the data into two lists (one list for the x-values and one for the y-values).
- Press STAT.
- Press the right arrow key to scroll over to the TESTS submenu.
- Press the down arrow key to scroll down until LinRegTInt is highlighted and press ENTER.
- Select your x list and y list (the two lists where your data are stored).
- Select the frequency (usually 1).
- Input your confidence level, formatted as a decimal.
- Highlight the word Calculate and press ENTER.
- The calculator should now display the desired confidence interval.