One-variable statistics of a list — a TI-89 Titanium program
STATS89 is a TI-89 BASIC program for the TI-89 Titanium. Type a list like {2,4,4,5}; shows n, mean, median, sample standard deviation, min and max.
What it asks for and what it shows
It asks for 1 value at its prompts. In the example below it shows N, MEAN, MEDIAN, SX, MIN, MAX.
Example run
One of its oracle test cases: “textbook set {2,4,4,4,5,5,7,9}”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | {2,4,4,4,5,5,7,9} |
| The screen shows | |
N= | 8 |
MEAN= | 5 |
MEDIAN= | 4.5 |
SX= | 2.138089935 |
MIN= | 2 |
MAX= | 9 |
How it's checked
4 test cases, each checked against an independent method. Replayed key by key on a virtual TI-89 Titanium, they make 27 checks.
How E-Code checks every program
Run it or put it on your calculator
- Open the library in the TI-89 Titanium calculator and pick “One-variable statistics of a list” (STATS89).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Linear regression with exact slope
- One-sample z test and interval (dialog)
- t test and interval from data lists
- Chi-square goodness of fit
- Binomial (exact), Poisson and normal probabilities
All TI-89 Titanium statistics programs · All TI-89 Titanium programs