This page contains the programs that are used in the TI-83 companion manual to Introduction to the Practice of Statistics (3rd Edition) by Moore and McCabe (W. H. Freeman and Company College Publishing). In this companion manual, problems from each section of the text are worked using either the built-in functions or programs specially written for the TI-83. The unequaled capabilities and usefulness of the TI-83 are demonstrated throughout. It is hoped that all students, teachers, and practitioners of statistics discover and make use of these capabilities. I hope you find the manual to be helpful.
The TI-83 manual was written by David K. Neal, Department of Mathematics, Western Kentucky University, Bowling Green, KY 42101
Instructions on how to
download the calculator programs.
These programs will differ slightly from the codes in the 3rd edition of the printed manual. These are now the programs that appear in the 4th edition that also contains six new programs.
ANOVA1.83p - Displays the pooled deviation and the P-value of the ANOVA test for equality of means when the data is entered as summary statistics. Before executing the program, enter the sample sizes into L1, the sample means into L2, and the sample deviations into L3.
ANOVA2.83p - Displays the P-values for two-way analysis of variance. If there is one observation per cell, then the data is entered into matrix [A] before executing the program. If there are c observations per cell, then the means must be entered into matrix [A] and the standard deviations entered into matrix [B]. Also stores the marginal means for the rows and columns into lists L2 and L4. The overall mean is stored as the first value in list L5. The remainder of L5 are the values SSA, SSB, and SSE.
BAYES.83p - Computes the total probability P(A) and conditional probabilities associated with Bayes' rule. Before executing the program, enter values for P(Bi) into list L1 and the conditionals P(A | Bi) into list L2. The program displays P(A) , stores P(A & Bi) into list L3, stores P(Bi | A) into list L4, stores P(Bi | A') into list L5, and stores P(A | Bi') into list L6.
BINOMIAL.83p - Computes the probability of a binomial distribution upon entering values for n, p, and for the lower and upper bounds. The program displays the probability along with the average value. Has an option to store the entire distribution into lists L1, L2, and L3.
CONTRAST.83p - Computes the tail value for a significance test and a confidence interval for population contrasts. The displayed tail value equals the P-value for a one-sided test. Multiply the tail value by 2 to get the P-value for a two-sided test.
GEOMET.83p - Computes the probability of a geometric distribution upon entering values for p and for the lower and upper bounds. The program displays the probability along with the median and the average value. Has an option to store the entire distribution into lists L1, L2, and L3.
KRUSKAL.83p - Performs the Kruskal-Wallace test. Before executing, enter the data into the columns of matrix [A] and the sample sizes into a row matrix [B]. The program displays the test statistic and P-value. Then L3 contains the merged, sorted measurements, L4 contains their (averaged) ranks, and L5 contains the sum of ranks from each population.
LOG1.83p - Computes the coefficients of the linear regression model for the log of odds ratio.
MULTREG.83p - Computes the regression coefficients, the squared correlation coefficient, an ANOVA table, and the P-value for a multiple linear regression model. Before executing the program, enter sample data as columns in matrix [A] with the last column used for the dependent variable. The regression coeffecients are stored into matrix [D].
NORMDIST.83p - Displays the probability of a normal distribution upon entering values for the mean, standard deviation, lower bound, and upper bound. Displays the left and right tail values, and the body area when entering the same value for the lower bound and upper bound.
ODDS.83p - Computes the appropriate mathematical odds for a given probability p of an event A. If p < .50, then the odds against A are given as the ratio (1-p):p. If p > .50, then the odds in favor of A are given as the ratio p:(1-p).
ODDS2.83p - Computes the odds in favor ratio between two proportions.
POWER2T.83p - Computes a standard normal approximation of the power of the two sample test upon entering values for the alternative mean difference, the two sample sizes, the level of significance, and the common standard deviation.
PSAMPSZE.83p - When finding a confidence interval for a proportion, computes the required sample size that would provide a certain maximum margin of error with a certain level of confidence.
RANKSUM.83p - Performs the Wilcoxon rank sum test on data from two populations. Before executing, enter the data into lists L1 and L2. The program displays the sums of the ranks from each list and the smallest tail-value created by the test statistic which is the sum of the ranks from L1. List L3 then contains the merged, sorted measurements, and L4 contains their (averaged) ranks.
REG1.83p - Finds confidence intervals for the regression slope and intercept. Before executing the program, data must be entered into lists and the LinRegTTest (from the STAT TESTS menu) must be performed.
REG2.83p - Finds a confidence interval for a mean response and a prediction interval for an estimated response when performing linear regression. Before executing the program, data must be entered into lists and the LinRegTTest (from the STAT TESTS menu) must be performed.
REG3.83p - Displays the ANOVA table for linear regression and computes the associated F-statistic and P-value. Before executing the program, data must be entered into lists L1 and L2.
SAMPLEN.83p - Generates a random sample from a specified normal distribution and stores the data into list L1. Then displays the sample mean and sample deviation to compare with the true parameters.
SAMPLEN2.83p - Generates a specified number of random samples, each of the same specified sample size from a specified normal distribution. Also computes the sample mean for each sample and stores it into list L2. Then displays the average and standard deviation of the sample means to compare with theoretical mean and standard deviation of the sampling statistics.
SAMPLEP.83p - Generates count data for a specified proportion p and sample size and stores the data into list L1. Then displays the sample proportion to compare with the true proportion.
SAMPLEP2.83p - Generates a specified number of random samples of count data, each of the same specified sample size and for the same proportion p. Also computes the sample proportion for each sample and stores it into list L2. Then displays the average of the sample proportions to compare with the real proportion.
SIGN.83p - Performs the sign test on paired data. Before executing the program, enter the "Before" measurements into list L1 and the "After" measurements into list L2. The program displays the number of positive changes, the number of changes, and the tail value created by the test statistic for a one-sided hypothesis test. For a two-sided test, the P-value is twice the displayed tail value.
SIGNRANK.83p - Performs the Wilcoxon signed rank test on data sets of size n from two populations. Before executing, enter the data into lists L1 and L2. The program sorts the absolute value of the differences L2 - L1 into list L3, but disregards any zero differences. The (averaged) rank of each non-zero difference is stored in L4. The sums of the ranks of the positive differences and of the negative differences are displayed. The program also displays the smallest tail-value created by the test statistic which is the sum of the ranks of the positive differences.
TESTNORM.83p - Performs a Chi-square goodness of fit test for normality. Before executing, enter sample data into list L1. For testing, we may specify one, both, or neither of the parameters µ and s. The test statistic and P-value are displayed. The frequencies and expected numbers of occurrences per bin are stored into lists L2 and L3.
TSCORE.83p - Finds the critical value (t score) of a T distribution upon specifying the degrees of freedom and confidence level.
TWOWAY.83p - Converts a two-way table of raw data into three different proportion tables. Before executing the program, enter the raw data into matrix [A]. The proportion tables are stored in matrices [B], [C], and [D].
UNIFORM.83p - Displays the probability of a uniform distribution upon entering values for the left and right endpoints and for the lower and upper bounds.
ZSAMPSZE.83p - When finding a confidence interval for the mean using the normal distribution, computes the sample size needed to obtain a desired margin of error with a specified level of confidence.
Return to David Neal's Homepage.
Last updated August 25, 2002
All contents copyright (c) 1998 - 2002.