Calculator Tips and Tricks

Listed below are some useful TI83/84 graphing calculator commands for Stats 60. It is not necessary to know these commands for the homeworks and exams, but they may be helpful for checking your work.
General Tip: To access any of the menus in yellow above each button, press 2ND (the yellow button at the top left) and then the corresponding button.
(Click the calculator to enlarge.)

Mean and SD of a List of Numbers
Enter the data into a list.
Press STAT and select EDIT > 1:Edit…
Enter the data into L1 (or any other list), one entry per line.
To clear list L1, make sure the cursor is over the L1, press CLEAR and ENTER.
Press STAT and select CALC > 1:1Var Stats
Now type in the symbol L1 (either press 2ND + 1, or go to LIST (2ND + STAT) and select L1 from the NAMES menu) and press ENTER.
The mean is , the SD is . (Note: the SD+ is and if you scroll down you can also find the median and the quartiles.)
Correlation and Regression Line
Enter the X data into L1 and the Y data into L2. (See above for how to do this.)
Press STAT and select CALC > 4:LinReg(ax+b)
Now type in the symbol L1, followed by ,, then the symbol L2.
You should see the slope and intercept of the regression line, followed by r and rsquared. If you do not see r and rsquared, you need to set DiagnosticOn. To do this, go to CATALOG (2ND + 0), scroll down until you see DiagnosticOn, and press ENTER.
Caution
The value of r — and hence the slope and intercept — will be different from what you would get using the formulas in the book. The reason is that the calculator uses the more conventional formula for r where you divide by (n1) instead of n:
To convert the r on the calculator to the r in the book, multiply by (n1)/n.
Normal Distribution
Area under Normal Curves
Go to DISTR (2ND + VARS) and select DISTR > 2:normalcdf(
You can use this function in one of two ways:
If you enter normalcdf(a,b), it will give you the area between a and b SD's from the mean. (Check that when a=1 and b=1, the calculator returns 68%!)
If you enter normalcdf(a,b,avg,SD), it will give you the area between a and b for a normal curve with the given average and SD.
Tip: To find the area less than b, set a to some ridiculously low number, i.e. 999.
Note
You are expected to learn to use normal tables for this course. Although the calculator can give more precise areas than the table, you should give the answer you would get from a table and use the calculator output only as a check.
Percentiles of Normal Curves
Go to DISTR (2ND + VARS) and select DISTR > 3:invNorm(
You can use this function in one of two ways:
If you enter invNorm(p), it will give you the pth percentile for a standard (mean 0 and SD 1) normal curve. (i.e. invNorm(.975)2).
If you enter invNorm(p,avg,SD), it will give you the pth percentile for a normal curve with that mean and SD (i.e. invNorm(.5,3,1)=3).
Binomial Coefficients and Probabilities
To calculate a binomial coefficient , you need the nCr symbol. To retrieve this symbol, press MATH and select PRB > 3:nCr. To calculate , type 5 nCr 3 and press ENTER.
If your ultimate goal is to calculate a binomial probability, there is an easier way than calculating manually. Go to DISTR (2ND + VARS) and select 0:binompdf(. binompdf(,,) gives the probability of successes in trials when the success probability is .
There is also the option binomcdf(,,), which gives the probability of successes.
Note
Although binomcdf allows you to obtain exact probabilities for situations where we'd ordinarily use a normal approximation, you should still use the normal approximation on homeworks and exams and use binomcdf only as a check.
Hypothesis Tests
All of the following tests can be found under TESTS. To get to TESTS, press STAT and the right arrow twice.
ztest for means
Go to 1:ZTest.
Make sure the input is set to Stats, not Data (since you will usually not be dealing with the raw data).
Enter the data for computing the test statistic.
is the hypothesized mean under the null.
is the SD of the box. (Enter the SD of the sample if SD(box) is unknown.)
is the observed average of the sample.
is the sample size.
Specify the alternative hypothesis: i.e. is the average of the box or (the two most common scenarios in this class)?
Select Calculate to see the results of the test, or Draw if you want to see the normal curve with the value shaded.
ztest for proportions
Go to 5:1PropZTest
Enter the data for computing the test statistic.
is the hypothesized proportion under the null.
is the observed number of successes.
is the sample size.
Specify the alternative hypothesis: i.e. is the proportion of ones or (the two most common scenarios in this class)?
Select Calculate to see the results of the test, or Draw if you want to see the normal curve with the value shaded.
ttest
Go to 2:TTest
Make sure the input is set to Stats, not Data (since you will usually not be dealing with the raw data).
Enter the data for computing the test statistic.
is the hypothesized mean under the null.
is the observed average of the sample.
is the SD+ of the sample.
is the sample size.
Specify the alternative hypothesis: i.e. is the average of the box or (the two most common scenarios in this class)?
Select Calculate to see the results of the test, or Draw if you want to see the curve with the value shaded.
2Sample ztest for means
Go to 3:2SampZTest
Make sure the input is set to Stats, not Data (since you will usually not be dealing with the raw data).
Enter the data for computing the test statistic.
and are the SD of the two boxes. (Enter the SD's of sample 1 and sample 2 if the SD's of the boxes are unknown.)
and are the observed means of the two samples.
and are the sizes of the two samples.
Specify the alternative hypothesis: i.e. is the average of box 1 or the average of box 2?
Select Calculate to see the results of the test, or Draw if you want to see the normal curve with the value shaded.
2Sample ztest for proportions
Go to 6:2PropZTest
Enter the data for computing the test statistic.
and are the size of samples 1 and 2 (e.g. the number of people surveyed).
and are the number of successes in samples 1 and 2.
Specify the alternative hypothesis: i.e. is the proportion of ones in box 1 () or the proportion of ones in box 2 ()?
Select Calculate to see the results of the test, or Draw if you want to see the normal curve with the value shaded.
Caution
The calculator calculates the SD of the difference of two proportions in a slightly different way than the textbook, so you will get a slightly different answer if you follow the formula in the book.
ChiSquare Test for Independence
Note
The following describes how to perform a chisquare test of whether two categorical variables are independent. It cannot be used to test whether a categorical variable fits some distribution (a ‘‘goodnessoffit’’ test). In other words, if you are trying to perform a chisquare test on a one dimensional table, you're out of luck. On some newer calculators, there is also an option D:GOFTest. I don't have it on mine, so if you want to try that out, you're on your own.
You will first need to enter the observed counts into a matrix (i.e. a table):
Go to MATRIX (2ND + ) and select EDIT > the matrix you want to edit (let's say [A]).
Enter the dimension of the matrix: (# rows x # cols).
Enter the counts into the matrix.
Exit by pressing 2ND + MODE (i.e. QUIT).
Go to C:Test.
Make sure [A] is selected as the Observed matrix. (If it's not, go to MATRIX and select NAMES > 1: [A].)
Select Calculate to see the results of the test, or Draw if you want to see the chisquare curve with the value shaded
