This page contains the programs that are used in the TI-83 companion manual to The Basic Practice of Statistics (2nd Edition) by David Moore (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
USA: david.neal@wku.edu.

Instructions on how to
download the calculator 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**.

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**.

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**.

HYPGEOM.83p - Computes the probability of a hypergeometric distribution upon entering values for the population size, type A size, sample size, and for the lower and upper bounds. The program displays the probability along with the average value and standard deviation. Has an option to store the entire distribution in 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.

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.

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.

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.

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.

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]**.

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 1, 2002
david.neal@wku.edu
All contents copyright (c) 1999 - 2002. *