How to run a t-test on the TI-84 and read the output

By Jude Wallis · Updated

Press STAT, arrow right to TESTS, then choose T-Test for one sample or 2-SampTTest for two independent samples. For paired data, subtract the pairs first and run T-Test on the differences. Output: the statistic t, the p-value, x-bar, Sx, and n.

AP Statistics: Unit 4 (topics 4.4 Setting Up a Test for a Population Mean or Population Mean Difference, 4.5 Carrying Out a Test for a Population Mean or Population Mean Difference, 4.10 Carrying Out a Test for the Difference Between Two Population Means). One-sample, matched pairs, and two-sample t-tests are Unit 4 topics in the Fall 2026 AP Statistics course, where a graphing calculator with statistical capabilities is expected on both sections of the exam.

Where the t-test lives on the TI-84

Every inference procedure on a TI-84 sits behind one key. Press STAT, arrow right twice to the TESTS tab, and scroll the list of procedures by name. Choose T-Test when you have one sample and a claim about a population mean μ\mu (mu), and 2-SampTTest when you have two independent samples.

The t procedures are the right family whenever the population standard deviation σ\sigma (sigma) is unknown, which is almost always true with real data. If a problem hands you σ\sigma outright, the z procedures on the same menu apply instead. The guide on t-test vs z-test sorts out that choice.

The wording below is TI-84 wording, but the statistics do not depend on the device. Menu names and key sequences vary between calculators; the inputs each test needs and the meaning of each output line do not.

Data or Stats: the input choice that trips people up

The first line of the T-Test screen is Inpt, with two options, Data and Stats. Highlight one, press ENTER, then fill in the fields that appear underneath.

Choose Data when the raw values are already typed into a list. The screen asks for μ0\mu_0 (mu-nought, the hypothesized mean from the null hypothesis), the List holding your values (usually L1), and Freq (leave it at 1 unless you have a separate column of counts). The calculator computes the sample mean and sample standard deviation from the list for you.

Choose Stats when the problem gives you summary numbers instead of raw data. The screen then asks for μ0\mu_0, xˉ\bar{x} (x-bar, the sample mean), Sx\text{Sx} (the sample standard deviation), and nn (the sample size).

The last two lines are identical either way. Set μ\mu to μ0\ne \mu_0, <μ0< \mu_0, or >μ0> \mu_0 so it matches your alternative hypothesis, then highlight Calculate and press ENTER. Draw returns the same numbers with the tail area shaded on a picture of the t-distribution.

What every line of the output means

Calculate returns a short results screen. Here is the one-sample T-Test output, line by line.

  • The alternative hypothesis, echoed at the top, for example μ50\mu \ne 50. Read this first, because a wrong tail choice changes the p-value while leaving every other line untouched.
  • tt, the test statistic. It counts how many standard errors separate your sample mean from the hypothesized mean: t=xˉμ0Sx/nt = \frac{\bar{x} - \mu_0}{\text{Sx}/\sqrt{n}}.
  • pp, the p-value. This is the probability of a sample result at least as extreme as yours when the null hypothesis is true. It is not a sample proportion or a population proportion, so never report it as the proportion of anything in your data.
  • xˉ\bar{x}, the sample mean, echoed back from your list or your typed input.
  • Sx\text{Sx}, the sample standard deviation, the version that divides by n1n - 1.
  • nn, the sample size.

The one-sample screen does not print a degrees of freedom line, and you still have to report one. For a one-sample t-test, df=n1df = n - 1, so a sample of 25 gives df=24df = 24. Work it out and write it down.

Watch for scientific notation in the p-value. A display of 3.2E-4 means 0.00032, a very small p-value rather than a large one. For output across the other procedures, see reading calculator output.

Two independent samples with 2-SampTTest

2-SampTTest compares the means of two groups made of different individuals, such as a treatment group and a control group. Under Data it asks for List1 and List2. Under Stats it asks for xˉ1\bar{x}_1, Sx1\text{Sx1}, n1n_1, then xˉ2\bar{x}_2, Sx2\text{Sx2}, n2n_2.

Two prompts appear that the one-sample screen does not have. Set μ1\mu_1 to μ2\ne \mu_2, <μ2< \mu_2, or >μ2> \mu_2 for your alternative. Then answer Pooled, which asks whether to merge the two sample standard deviations into a single estimate; leave it on No unless a problem states that the population variances are equal. The guide on pooling or not on a two-sample t-test explains why No is the safe default.

The output is longer. You get the alternative, tt, pp, dfdf, then xˉ1\bar{x}_1, xˉ2\bar{x}_2, Sx1\text{Sx1}, Sx2\text{Sx2}, n1n_1, and n2n_2, so scroll to the bottom before you copy anything. This screen does print dfdf, and it will not be a whole number.

Why the two-sample df comes back as a decimal

A one-sample df is a count, n1n - 1. A two-sample df is an approximation, so the calculator returns something like 24.2267 instead of a tidy integer. Nothing is broken. The TI-84 uses the Welch approximation, which weights each sample variance by its own sample size:

df=(s12n1+s22n2)21n11(s12n1)2+1n21(s22n2)2df = \frac{\left(\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}\right)^2}{\frac{1}{n_1 - 1}\left(\frac{s_1^2}{n_1}\right)^2 + \frac{1}{n_2 - 1}\left(\frac{s_2^2}{n_2}\right)^2}

Try it with n1=12n_1 = 12, s1=5.2s_1 = 5.2, n2=15n_2 = 15, and s2=7.9s_2 = 7.9. Then s12n1=27.0412=2.2533\frac{s_1^2}{n_1} = \frac{27.04}{12} = 2.2533 and s22n2=62.4115=4.1607\frac{s_2^2}{n_2} = \frac{62.41}{15} = 4.1607, so the numerator is 6.4142=41.13946.414^2 = 41.1394 and the denominator is 2.2533211+4.1607214=0.4616+1.2365=1.6981\frac{2.2533^2}{11} + \frac{4.1607^2}{14} = 0.4616 + 1.2365 = 1.6981. Dividing gives df=41.13941.6981=24.2267df = \frac{41.1394}{1.6981} = 24.2267.

The AP course states that the two-sample degrees of freedom fall between the smaller of n11n_1 - 1 and n21n_2 - 1 and the value n1+n22n_1 + n_2 - 2, and that technology finds them. Here that range runs from 11 to 25, and 24.2267 sits inside it. Report the decimal exactly as the screen gives it, and see why df is a decimal on a two-sample t-test for the full story.

Paired data is a one-sample T-Test on the differences

This is the most common TI-84 error in an AP Statistics classroom. When each value in one group is matched to a specific value in the other, such as a before and after measurement on the same person, the two samples are not independent. Running 2-SampTTest on that data throws the pairing away and usually understates the evidence.

The fix takes three moves. Press STAT, choose EDIT, and put the first measurement in L1 with each matched second measurement beside it in L2. Arrow up onto the L3 column header, type L2 - L1 (the list names are 2nd then 2, and 2nd then 1), and press ENTER to fill L3 with the differences.

Now run T-Test on L3 with Inpt: Data, List: L3, and μ0=0\mu_0 = 0. You are testing a claim about μd\mu_d (mu-d, the population mean difference), and df=n1df = n - 1 where nn counts the pairs, not the individual measurements. The AP course puts it the same way: for a matched pairs design with two dependent samples, you calculate differences between pairs to produce one sample of differences, and the procedure is a one-sample t-test for the population mean difference.

Decide your order of subtraction before you start, since it fixes the sign of tt and the direction of a one-sided alternative. The paired vs two-sample t-test comparison shows how to tell the two designs apart from the wording of a problem.

What to write down after you press Calculate

The screen is a source of numbers, not a finished answer. Copy the test statistic, the degrees of freedom, and the p-value, then write a conclusion in your own words. A bare menu name with no numbers beside it does not show any reasoning.

Round the statistic to two or three decimals and keep the p-value to three or four. Compare that p-value to your significance level α\alpha (alpha, the cutoff you chose in advance, usually 0.05), then say what the decision means for the original question rather than only for H0H_0, the null hypothesis.

Before you trust any output, check the echoed xˉ\bar{x}, Sx\text{Sx}, and nn against your data. A single mistyped value shows up on those lines immediately. If you have raw data and want those summary numbers on their own, 1-Var Stats reports x-bar and Sx without running a test at all.

How this fits the Fall 2026 AP course

A graphing calculator with statistical capabilities is expected on both sections of the AP Statistics exam that takes effect in Fall 2026, with the first exam in May 2027. Formulas and tables are provided, so the work on exam day is choosing the right procedure and reading its output, not recalling critical values.

One-sample and matched pairs t-tests are Unit 4 topics 4.4 and 4.5, Setting Up and Carrying Out a Test for a Population Mean or Population Mean Difference. Two independent samples are topics 4.9 and 4.10. Unit 4, Inference for Quantitative Data: Means, carries 10 to 20 percent of the multiple-choice section, and free-response Question 3 is an inference question every year.

Conditions still come before the calculator. A one-sample t procedure needs data from a random sample or a randomized experiment, the 10 percent condition when sampling without replacement, and either an approximately normal population, n30n \ge 30, or sample data free from strong skewness and outliers. For matched pairs, that count applies to the number of differences, not the number of measurements.

One-sample T-Test in Stats mode

A coach claims the mean resting heart rate of the athletes in her program is 50 beats per minute. A random sample of 25 athletes gives xˉ=52.3\bar{x} = 52.3 and Sx=6.1\text{Sx} = 6.1. Test H0:μ=50H_0: \mu = 50 against Ha:μ50H_a: \mu \ne 50 at α=0.05\alpha = 0.05 on the TI-84, then confirm the output by hand.

  1. Set up the screen. Press STAT, arrow right to TESTS, choose T-Test, and set Inpt: Stats. Enter μ0=50\mu_0 = 50, xˉ=52.3\bar{x} = 52.3, Sx=6.1\text{Sx} = 6.1, and n=25n = 25, select the alternative μμ0\mu \ne \mu_0, then highlight Calculate and press ENTER.

  2. Confirm the standard error by hand: Sxn=6.125=6.15=1.22\frac{\text{Sx}}{\sqrt{n}} = \frac{6.1}{\sqrt{25}} = \frac{6.1}{5} = 1.22 beats per minute.

  3. Confirm the test statistic: t=xˉμ01.22=52.3501.22=2.31.22=1.8852t = \frac{\bar{x} - \mu_0}{1.22} = \frac{52.3 - 50}{1.22} = \frac{2.3}{1.22} = 1.8852.

  4. Work out the degrees of freedom yourself, since the one-sample screen does not print them: df=n1=251=24df = n - 1 = 25 - 1 = 24.

  5. Read the p-value. The calculator returns p=0.0716p = 0.0716, the two-tailed area beyond t=1.8852t = 1.8852 on a t-distribution with 24 degrees of freedom. Each tail holds about 0.0358, and 2(0.0358)=0.07162(0.0358) = 0.0716.

  6. Compare and decide. Since 0.0716>0.050.0716 > 0.05, you fail to reject H0H_0.

The output is t=1.885t = 1.885 with p=0.0716p = 0.0716, and df=24df = 24 from n1n - 1. Because 0.0716>0.050.0716 > 0.05, you fail to reject H0H_0, so the sample does not give convincing evidence that the mean resting heart rate of these athletes differs from 50 beats per minute.

Paired data: T-Test on the list of differences

Six students chosen at random from a school's enrollment take a reading speed test before and after a two-week practice program. Words per minute before: 210, 195, 220, 188, 202, 205. Words per minute after, in the same student order: 212, 200, 223, 195, 206, 208. Test at α=0.05\alpha = 0.05 whether mean reading speed increased over the two weeks.

  1. Recognize the design. Each after value belongs to the same student as the before value beside it, so the two samples are dependent and 2-SampTTest is the wrong menu item.

  2. Enter the data. Press STAT, choose EDIT, put the before values in L1 and the matched after values in L2. Arrow up onto the L3 header, type L2 - L1, and press ENTER.

  3. L3 fills with the differences, after minus before: 2, 5, 3, 7, 4, 3. The mean difference is xˉd=2+5+3+7+4+36=246=4\bar{x}_d = \frac{2 + 5 + 3 + 7 + 4 + 3}{6} = \frac{24}{6} = 4 words per minute.

  4. Find the standard deviation of the differences. The deviations from 4 are 2-2, 1, 1-1, 3, 0, 1-1, and their squares are 4, 1, 1, 9, 0, 1, which add to 16. Then sd=1661=3.2=1.7889s_d = \sqrt{\frac{16}{6 - 1}} = \sqrt{3.2} = 1.7889.

  5. Check the conditions, then run the test. Randomization first: the six students are a random sample of the school's enrollment, so the sample-of-differences condition is met. Then the sample data: with only 6 differences you need them free from strong skewness and outliers, and the sorted differences 2, 3, 3, 4, 5, 7 show no gap and no extreme value. Run T-Test with Inpt: Data, μ0=0\mu_0 = 0, List: L3, Freq: 1, and the alternative μ>μ0\mu > \mu_0.

  6. Confirm the statistic: SE=sdn=1.78896=1.78892.4495=0.7303SE = \frac{s_d}{\sqrt{n}} = \frac{1.7889}{\sqrt{6}} = \frac{1.7889}{2.4495} = 0.7303, so t=400.7303=5.4772t = \frac{4 - 0}{0.7303} = 5.4772 with df=61=5df = 6 - 1 = 5.

  7. Read the p-value: p=0.0014p = 0.0014. Since 0.0014<0.050.0014 < 0.05, you reject H0H_0.

T-Test on the list of differences gives t=5.477t = 5.477, df=5df = 5, and p=0.0014p = 0.0014. At α=0.05\alpha = 0.05 there is convincing evidence that mean reading speed increased, with an estimated mean gain of 4 words per minute. Stop the claim there. Every student did the program and there was no control group and no random assignment, so the increase cannot be attributed to the program; ordinary practice, maturation, or familiarity with the test would produce the same result. Running 2-SampTTest on the same 12 numbers would have answered a different question.

Frequently asked questions

Why does 2-SampTTest give degrees of freedom with decimals?

Because the two-sample df is an approximation, not a count. The TI-84 uses the Welch formula, which weights each sample variance by its sample size and rarely lands on a whole number. Report the decimal the calculator shows, such as df=24.2267df = 24.2267.

Should I pick Data or Stats on the T-Test screen?

Pick Data when you have the individual values typed into a list, and Stats when the problem gives you xˉ\bar{x} (x-bar), Sx\text{Sx}, and nn instead. Data is safer with raw values because the calculator computes the mean and standard deviation itself, removing one place to mistype.

Can I use 2-SampTTest on before and after measurements from the same people?

No. Those measurements are paired, so the correct procedure is a one-sample T-Test on the list of differences with μ0=0\mu_0 = 0. Subtract in a fixed order, store the differences in a third list, and use the number of pairs for df=n1df = n - 1.

The one-sample T-Test screen has no df line. What do I report?

Compute it yourself: df=n1df = n - 1 for a one-sample t-test, and also for a matched pairs test where nn is the number of differences. A sample of 25 gives df=24df = 24. Of the t-test screens, only 2-SampTTest prints a df line, and that one is a decimal.

What is the difference between Calculate and Draw?

They run the same test. Calculate lists the numbers on a results screen, while Draw plots the t-distribution, shades the tail area matching your alternative, and prints tt and pp on the graph. Draw is useful for seeing whether a p-value is one-tailed or two-tailed.