1. Home
  2. Explore
  3. Statistics
  4. Confidence Interval Critical Values

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Confidence Interval Critical Values

Confidence Intervals and Hypothesis Testing

Choosing a Critical Value for a Confidence Interval

A confidence-interval critical value depends on the confidence level and, when using the ttt distribution, the degrees of freedom.

Degrees of freedom

For a one-sample ttt procedure, calculate degrees of freedom as

df=n−1df=n-1df=n−1

where nnn is the sample size.

Example: 98% confidence level

For a sample of 292929, the degrees of freedom are

df=29−1=28df=29-1=28df=29−1=28

Looking up a 98% confidence level with 282828 degrees of freedom gives the critical value

t∗=2.467t^*=2.467t∗=2.467

Choosing between a zzz and a ttt critical value

  • Use a ttt critical value when the population standard deviation σ\sigmaσ is unknown and the sample standard deviation sss is used.

  • Use a zzz critical value when the population standard deviation σ\sigmaσ is known.


Constructing a ttt Confidence Interval for a Mean

When the population standard deviation is unknown, a confidence interval for the population mean is calculated using the sample mean, the sample standard deviation, and a ttt critical value.

xˉ±t∗sn\bar{x}\pm t^*\frac{s}{\sqrt{n}}xˉ±t∗n​s​

Here, xˉ\bar{x}xˉ is the sample mean, sss is the sample standard deviation, nnn is the sample size, and t∗t^*t∗ is determined by the confidence level and degrees of freedom.

Example: 90% confidence interval

Suppose a sample has:

  • Sample mean xˉ=13.9\bar{x}=13.9xˉ=13.9

  • Sample standard deviation s=0.76s=0.76s=0.76

  • Sample size n=15n=15n=15

  • Confidence level of 90%

The degrees of freedom are

df=15−1=14df=15-1=14df=15−1=14

The corresponding critical value is t∗=1.761t^*=1.761t∗=1.761. The margin of error is

E=t∗sn=1.7610.7615≈0.346E=t^*\frac{s}{\sqrt{n}} =1.761\frac{0.76}{\sqrt{15}} \approx 0.346E=t∗n​s​=1.76115​0.76​≈0.346

The interval is

13.9±0.34613.9\pm0.34613.9±0.346

Its endpoints are approximately 13.55413.55413.554 and 14.24614.24614.246. Rounded to one decimal place, the 90% confidence interval is

(13.6, 14.2)(13.6,\ 14.2)(13.6, 14.2)

This interval gives a range of plausible values for the population mean. It does not mean that 90% of individual observations fall within the interval.


Determining the Tail of a Hypothesis Test

The alternative hypothesis determines whether a test is left-tailed, right-tailed, or two-tailed. The direction of the alternative identifies the kind of evidence being investigated.

  • A left-tailed test uses an alternative of the form μ<c\mu<cμ<c.

  • A right-tailed test uses an alternative of the form μ>c\mu>cμ>c.

  • A two-tailed test uses an alternative of the form μ≠c\mu\ne cμ=c.

For example, if the alternative says that a mean is less than 8.28.28.2, the rejection region is in the left tail. If the alternative says that the mean is greater than 8.28.28.2, the rejection region is in the right tail. If the alternative says that the mean differs from 8.28.28.2, the test is two-tailed, with rejection regions in both tails.

The null hypothesis includes equality; the alternative hypothesis expresses the direction or difference the test is seeking evidence for.


Writing Null and Alternative Hypotheses

A claim about a population mean is translated into hypotheses by identifying whether the claim includes equality and whether it specifies a direction.

Example: Claim that a cost is more than 93

Suppose a pharmaceutical company claims that the mean cost of a 30-day supply of a medication is more than 93.

The claim is directional and does not include equality, so it belongs in the alternative hypothesis:

Ha:μ>93H_a:\mu>93Ha​:μ>93

The null hypothesis is the opposing statement and includes equality:

H0:μ≤93H_0:\mu\le 93H0​:μ≤93

For calculating many test statistics, the null hypothesis is evaluated at its boundary value, μ=93\mu=93μ=93. The claim is not automatically the null hypothesis: a claim containing equality generally goes in H0H_0H0​, while a directional claim such as “greater than” goes in HaH_aHa​.


Using a ppp-Value to Make a Decision

The ppp-value measures how unusual the observed result would be if the null hypothesis were true. Compare it with the significance level α\alphaα:

  • If p≤αp\le\alphap≤α, reject the null hypothesis.

  • If p>αp>\alphap>α, fail to reject the null hypothesis.

The decision is always stated about the null hypothesis. “Fail to reject” does not prove that the null hypothesis is true; it means the evidence is not strong enough to reject it at the chosen significance level.

Example: Comparing p=0.0767p=0.0767p=0.0767 with different significance levels

  • At α=0.01\alpha=0.01α=0.01, 0.0767>0.010.0767>0.010.0767>0.01, so fail to reject H0H_0H0​.

  • At α=0.05\alpha=0.05α=0.05, 0.0767>0.050.0767>0.050.0767>0.05, so fail to reject H0H_0H0​.

  • At α=0.10\alpha=0.10α=0.10, 0.0767<0.100.0767<0.100.0767<0.10, so reject H0H_0H0​.

The same ppp-value can therefore lead to different decisions at different significance levels.


Finding a Critical zzz Value for a Left-Tailed Test

A critical-value test compares the test statistic with a cutoff that defines the rejection region. For a left-tailed test, the rejection region lies to the left of the critical value, and its area is α\alphaα.

For a left-tailed zzz test with α=0.02\alpha=0.02α=0.02, the critical value is the zzz-score with approximately 0.02 of the standard normal distribution’s area to its left:

zcrit≈−2.05z_{\text{crit}}\approx-2.05zcrit​≈−2.05

The negative sign is appropriate because the cutoff lies in the left tail. The rejection region is

z<−2.05z<-2.05z<−2.05

A test statistic below this cutoff leads to rejection of H0H_0H0​; a test statistic above it does not fall in the rejection region.


One-Sample zzz Test for a Population Mean

A one-sample zzz test for a mean is used when the population standard deviation σ\sigmaσ is known. Its standardized test statistic is

z=xˉ−μ0σ/nz=\frac{\bar{x}-\mu_0}{\sigma/\sqrt{n}}z=σ/n​xˉ−μ0​​

where xˉ\bar{x}xˉ is the sample mean, μ0\mu_0μ0​ is the mean specified by the null hypothesis, σ\sigmaσ is the population standard deviation, and nnn is the sample size.

Example: Tuna consumption

A nutritionist’s claim is that average annual tuna consumption is 3.33.33.3 pounds per person. A sample of 505050 people has a mean of 3.23.23.2 pounds, and the population standard deviation is given as 1.131.131.13 pounds. The significance level is 0.100.100.10.

Because the claim includes equality, it is the null hypothesis:

H0:μ=3.3H_0:\mu=3.3H0​:μ=3.3

The alternative is that the mean differs from the claimed amount:

Ha:μ≠3.3H_a:\mu\ne3.3Ha​:μ=3.3

This is a two-tailed test. The test statistic is

z=3.2−3.31.13/50≈−0.63z=\frac{3.2-3.3}{1.13/\sqrt{50}}\approx-0.63z=1.13/50​3.2−3.3​≈−0.63

For a two-tailed test, the ppp-value includes the corresponding tail area on both sides of the distribution. The area beyond z=−0.63z=-0.63z=−0.63 on the left is approximately 0.26430.26430.2643. Doubling that area gives

p≈2(0.2643)=0.5286p\approx2(0.2643)=0.5286p≈2(0.2643)=0.5286

Since 0.5286>0.100.5286>0.100.5286>0.10, the decision is to fail to reject H0H_0H0​. There is not sufficient evidence at the 0.10 significance level to reject the claim that mean annual tuna consumption is 3.33.33.3 pounds per person. This conclusion does not prove that the mean is exactly 3.33.33.3 pounds.


Hypothesis Testing for a Mean When the Population Standard Deviation Is Unknown

When σ\sigmaσ is unknown and a sample standard deviation sss is used, the test uses the ttt distribution rather than the zzz distribution. The test statistic is

t=xˉ−μ0s/nt=\frac{\bar{x}-\mu_0}{s/\sqrt{n}}t=s/n​xˉ−μ0​​

The degrees of freedom are n−1n-1n−1. For a claim that the mean equals a specified value, the hypotheses are typically

H0:μ=μ0H_0:\mu=\mu_0H0​:μ=μ0​

and

Ha:μ≠μ0H_a:\mu\ne\mu_0Ha​:μ=μ0​

This alternative makes the test two-tailed. The critical values are then located in both tails, with α/2\alpha/2α/2 in each tail.

Salary example: Setting up the test

An employment information service claims that the mean annual salary for senior-level product engineers is 99,000. The equality claim belongs in the null hypothesis:

H0:μ=99,000H_0:\mu=99{,}000H0​:μ=99,000

The alternative is

Ha:μ≠99,000H_a:\mu\ne99{,}000Ha​:μ=99,000

The source describes the sample size inconsistently as both 15 and 16, so the exact degrees of freedom cannot be determined from the information given. If n=15n=15n=15, then df=14df=14df=14; if n=16n=16n=16, then df=15df=15df=15. With α=0.10\alpha=0.10α=0.10 and a two-tailed alternative, each tail contains 0.050.050.05 of the distribution’s area.

The source also reports summary values of 205.5 and 233.8644, but their roles and units are unclear. Because those figures cannot be reliably matched to the sample mean and sample standard deviation, the test statistic and final decision cannot be determined from the available information. A complete calculation requires a verified sample size, sample mean, and sample standard deviation, all expressed in units consistent with the claimed salary.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent