E-Code

t test and interval from data lists — a TI-89 Titanium program

By E-Code · updated

TTEST89 is a TI-89 BASIC program for the TI-89 Titanium. One-sample or pooled two-sample t test straight from your data lists (drop-down): t, degrees of freedom, two-sided p-value, the decision at alpha, t* and the confidence interval — the t distribution is your own Define'd function (exact finite sums for whole-number df).

What it asks for and what it shows

It asks for 3 values at its prompts, after you pick option 1 from its menu. In the example below it shows T, DF, P, T*, CI LOW, CI HIGH, DO NOT REJECT H0.

Example run

One of its oracle test cases: “one sample, 5 df (odd)”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Menuoption 1
Input 15
Input 20.05
Input 3{5.1,4.9,5.3,5.2,4.8,5.4}
The screen shows
T=1.233587909
DF=5
P=0.2721791032
T*=2.570581836
CI LOW=4.873553702
CI HIGH=5.359779632
TextDO NOT REJECT H0

How it's checked

5 test cases, each checked against an independent method. Replayed key by key on a virtual TI-89 Titanium, they make 39 checks.

How E-Code checks every program

Run it or put it on your calculator

Related programs

All TI-89 Titanium statistics programs · All TI-89 Titanium programs