P Value For A Z Test Standard Deviation Known - Hypothesis Testing Using A P Value Explained
In this video we discuss hypothesis testing using a p value for a z test when the standard deviation is known. We go through the steps in detail using 2 different examples. There is an error in the calculation of the second example. The area or p-value should be 0.0122 from the z-distribution table. The result is still the same, fail to reject the null hypothesis. Thanks to William for pointing that out. Sorry for any confusion that may cause. Transcript/notes (partial) In this video we are going to through how to perform a hypothesis test using a p value for a population mean, mew, assuming we know the population standard deviation, sigma. And we do this by using a z test for the mean, where z equals the sample mean minus the hypothesized mean divided by the standard error. The formula for this is z equals x bar minus mew, divided by, sigma over the square root of n. And in this formula, z is a standardized test statistic for mew, x bar is a mean from a sample, mew is the population mean, which is being hypothesized, sigma is the population standard deviation, and n is the size of the sample we are using. And there are 2 conditions, the sample must be a random sample, and the population must be normally distributed, or n, the sample size must be greater than or equal to 30. Lets jump into an example, and we will go through a list of steps for this method. A recent news article stated that the mean cost of an oil change is $53. You think this information is incorrect, so you randomly select 36 people and find the mean cost for their oil changes to be $49. And from past data, you know the population standard deviation is $12. Is there enough evidence to support your claim at a level of significance of alpha = 0.05? When using p values for a z test for a mean it’s good to go through a list of steps. And step 1 is to make sure the conditions for using the formula are met. The sample is a random sample, and the sample size, n is 36, so n is greater than or equal to 30. Step 2 is write the claim out and identify the null and alternative hypotheses. Our claim is that the mean, mew is not equal to 53. And we know the alternative hypothesis contains a statement of inequality, so h sub a is mew does not equal 53. The null hypothesis is the complement of the alternative hypothesis and contains a statement of equality, so h sub 0 is mew equals 53. Step 3 is to identify the level of significance, which was given, alpha = 0.05. Step 4 is to use the formula and calculate the z value, or the value of the standardized test statistic. And in our example, we have x bar, the sample mean = 49, mew, the hypothesized population mean equals 53, sigma, the population standard deviation equals 12, and n, the sample size equals 36. So, we can plug these into the formula and we get z equals -2.00. Step 5 is to find the area that corresponds to the z value we calculated, and looking that value up in a z distribution table we get 0.0228. Step 6 is to determine the test to use, left tailed, right tailed or 2 tailed. And in our example, the null hypothesis contains the does not equal sign, so that means a 2 tailed test is required. Step 7 is to assign the p value, and in a 2 tailed test, the p value is the area under both of the tails. In step 5 we found that the area under 1 tail is 0.0228, so the p value equals 2 times that, which gives us 0.0456. Step 8 is to compare the p value to alpha, the level of significance. And we have alpha = 0.05, and a p value of 0.0456. Step 9 is to make a decision to reject or fail to reject the null hypothesis. The rule is if the p value is less than or equal alpha, then reject the null hypothesis, and if the p value is greater than alpha, then fail to reject the null hypothesis. Since our p value is less than alpha, we reject the null hypothesis that mew is equal to $53. Step 10 is to write out the decision. So, there is enough evidence at the 5% level of significance to support the claim that the mean cost of an oil change is different from $53. A website reported that the mean time for a person per day spent playing a popular game on their phone is less than 23 minutes. A random sample of 25 people has a sample mean of 25.7 minutes. Assume the population standard deviation is 6 minutes and the population is normally distributed. Is there enough evidence to support the claim at a level of confidence of alpha = 0.01? Step 1, it is a random sample, and the population is normally distributed, so we are good there. Step 2, the claim is that mew is less than 23. And we know the alternative hypothesis contains a statement of inequality, so h sub a is mew is less than 23. Timestamps 0:00 What Is A Z Test For The Mean? 0:18 Z Test Formula 0:50 Example Problem 1 For A Z Test For The Mean 3:55 Example Problem 2 For A Z Test For The Mean
Download
0 formatsNo download links available.