ap stats study guides

โœŒ๏ธย  Unit 2 - Exploring Two-Variable Data

โš–๏ธย  Unit 6 - Inference for Categorical Data: Proportions

๐Ÿ˜ผย  Unit 7 - Inference for Qualitative Data: Means

โœณ๏ธย  Unit 8 Inference for Categorical Data: Chi-Square

๐Ÿ“ˆย  Unit 9 - Inference for Quantitative Data: Slopes

๐Ÿงย  Multiple Choice Questions (MCQs)

7.5 Carrying Out a Test for a Population Mean

#hypothesistest

#populationmean

โฑ๏ธย ย 3 min read

written by

Josh Argo

josh argo


Calculating T-Score

The first step in actually performing any statistical significance test is to calculate the test statistic used for that particular test. Since we are carrying out a significance test for a population mean, we should calculate a t-score.

When calculating a t-score, we use the general formula for critical values:

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-10%20at%203.15.59%20PM.png?alt=media&token=6321d427-eda3-4066-aaab-887af4266c12

When we specify this formula for a t-score, we get the following:

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-10%20at%203.11.57%20PM.png?alt=media&token=e54f7216-b54b-434b-909a-ffad59b65451

Where xฬ„ is our sample mean, ๐žต is our hypothesized sample mean, s is our standard deviation of our sample and n is our sample size.

Example

Ricardo has a bag of 30 ๐ŸŠ. The bag says that each orange weighs an average of 4.5 oz.

Ricardo weighs all of the oranges in his bag and finds that they have an average of 4.65 oz with a standard deviation of 0.8 oz.

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-10%20at%204.00.34%20PM.png?alt=media&token=65877ddd-fe19-440c-8a02-a92420ee12dd

Calculating P-Value

When performing a hypothesis test, we could be performing either a one tailed or two tailed test. This depends on our alternate hypothesis when setting up our test. If our alternate hypothesis features either a greater than or less than sign, we are performing a one tailed test, because we are looking for a t-score only in one tail of our curve. If our alternate hypothesis has a "not equal to" sign, we will perform a two tailed test since we are looking to find a t-score in either tail of our curve.

We will then need to reference our t-score chart to calculate our p value.

First, lets determine the degrees of freedom, which is always one less than our sample size.

Then, we find our t-score in the column matching our given degrees of freedom to estimate our p-value. If the degrees of freedom can not be found in the chart, round down to the nearest df.

Example

In our example above with Ricardo's ๐ŸŠs, our df=29. So we need to locate 29 df on the chart and then try to find 1.027.

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-10%20at%204.07.59%20PM.png?alt=media&token=800d1195-141f-484c-a44d-e0b9263f6b00

We can see in the t table, that the tail probability with df=30 and t-score of 1.027 is approximately 0.15 (since its close to 1.055).

If we are doing a one tailed test, this is our p-value.

If we are doing a two tailed test, we would double this to get 0.3 for our p-value (since the t curve is symmetric and tail probabilities are equal).

Using Calculator to Calculate T Score and P Value

Perhaps a much easier way to perform a one sample t test would be to use technology such as a graphing calculator. The most commonly used calculator for AP Statistics is the Texas Instruments TI-84.

When performing a one sample t test, you will first enter into the stats menu:

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-10%20at%204.15.29%20PM.png?alt=media&token=6ae2bfc9-f518-4665-9218-7ecca9c2c3e8

Then, you will navigate over to tests and select option 2:

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-10%20at%204.16.07%20PM.png?alt=media&token=22d618a0-4203-4b3c-a10f-bee8b5c976be

You are then given two options: you can enter the given sample statistics or let the calculator use data points entered in Lists to calculate your necessary test statistic and p value. We will proceed with our example using Ricardo's ๐ŸŠs.

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-10%20at%204.21.06%20PM.png?alt=media&token=2bdf34d7-a2b5-49f9-9e27-66f650b14875

Once you press calculate, it gives you your test statistic and p value. Both of these things are essential to list out in your written response to receive full credit on the AP exam. Also, it is important for a t-test for population mean to include your degrees of freedom, even though it is not listed in the computer output for the test.

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-10%20at%204.22.31%20PM.png?alt=media&token=fdd76e1d-cabb-4c0a-844d-c8da404e81c0

Using P Value to Make Conclusions

Once you have calculated your test statistic and p value, you are ready to draw inference and make conclusions from your test. You are always going to compare your p-value to your significance level (usually 0.05). If your p is less than your significance level, you reject your null hypothesis in favor of the alternate hypothesis. If your p is not less than your significance level, you fail to reject your null hypothesis.

Templates

  • p<๐žช: Since p<๐žช, we reject our Ho. We have convincing evidence at the ๐žช level that (Ha in context of problem).

  • p>๐žช: Since p>๐žช, we fail reject our Ho. We do not have convincing evidence at the ๐žช level that (Ha in context of problem).

We NEVER "accept" a null or alternate hypothesis.

๐ŸŽฅWatch: AP Stats - Inference: Hypothesis Tests for Means

continue learning

Slide 1 of 12
Fiveable

Join Our Community

Fiveable Community students are already meeting new friends, starting study groups, and sharing tons of opportunities for other high schoolers. Soon the Fiveable Community will be on a totally new platform where you can share, save, and organize your learning links and lead study groups among other students!๐ŸŽ‰

Fiveable Logo

2550 north lake drive
suite 2
milwaukee, wi 53211

92% of Fiveable students earned a 3 or higher on their 2020 AP Exams.

*apยฎ and advanced placementยฎ are registered trademarks of the college board, which was not involved in the production of, and does not endorse, this product.

ยฉ fiveable 2020 | all rights reserved.