E-Code

Hypothesis tests: z, t, two-sample t, chi-square — a TI-84 Plus CE program

By E-Code · updated

HYPTEST is a TI-BASIC program for the TI-84 Plus CE. One-sample z and t tests, the two-sample (Welch) t test and the chi-square goodness-of-fit test from summary numbers: test statistic, degrees of freedom, p-value for the chosen tail, and the reject / do-not-reject decision at your alpha.

What it asks for and what it shows

It asks for 5 values at its prompts, after you pick options 1, 1 from its menu. In the example below it shows STAT, P, DO NOT REJECT H0.

Example run

One of its oracle test cases: “z: mean 102.5 vs 100, sigma 10, n 36, two-sided”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Menuoption 1
Menuoption 1
Input 1100
Input 210
Input 3102.5
Input 436
Input 50.05
The screen shows
STAT=1.5
P=0.1336144025
TextDO NOT REJECT H0

How it's checked

17 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 91 checks.

How E-Code checks every program

Run it or put it on your calculator

Related programs

All TI-84 Plus CE statistics programs · All TI-84 Plus CE programs