# 2.4 Hypothesis testing of single mean and single proportion: examples  (Page 3/6)

 Page 3 / 6

Statistics students believe that the mean score on the first statistics test is 65. A statistics instructor thinks the mean score is higher than 65.He samples ten statistics students and obtains the scores

• 65
• 65
• 70
• 67
• 66
• 63
• 63
• 68
• 72
• 71
. He performs a hypothesis test using a 5% level of significance. The data are from a normal distribution.

Set up the Hypothesis Test:

A 5% level of significance means that $\alpha =0.05$ . This is a test of a single population mean .

${H}_{o}$ : $\mu$ $=65\phantom{\rule{20pt}{0ex}}$ ${H}_{a}$ : $\mu$ $>65$

Since the instructor thinks the average score is higher, use a " $>$ ". The " $>$ " means the test is right-tailed.

Determine the distribution needed:

Random variable: $\overline{X}$ = average score on the first statistics test.

Distribution for the test: If you read the problem carefully, you will notice that there is no population standard deviation given . You are only given $n=10$ sample data values. Notice also that the data come from a normal distribution. This means that thedistribution for the test is a student's-t.

Use ${t}_{\text{df}}$ . Therefore, the distribution for the test is ${t}_{9}$ where $n=10$ and $\text{df}=10-1=9$ .

Calculate the p-value using the Student's-t distribution:

$\text{p-value}=P\left($ $\overline{x}$ $>67$ ) $=0.0396$ where the sample mean and sample standard deviation are calculated as 67 and 3.1972 from the data.

Interpretation of the p-value: If the null hypothesis is true, then there is a 0.0396 probability (3.96%) that the sample mean is 67 or more.

Compare $\alpha$ and the p-value:

Since $\alpha =.05$ and $\text{p-value}=0.0396$ . Therefore, $\alpha >\text{p-value}$ .

Make a decision: Since $\alpha >\text{p-value}$ , reject ${H}_{o}$ .

This means you reject $\mu =65$ . In other words, you believe the average test score is more than 65.

Conclusion: At a 5% level of significance, the sample data show sufficient evidence that the mean (average) test score is more than 65, just as the math instructor thinks.

The p-value can easily be calculated using the TI-83+ and the TI-84 calculators:

Put the data into a list. Press STAT and arrow over to TESTS . Press 2:T-Test . Arrow over to Data and press ENTER . Arrow down and enter 65 for ${\mu }_{0}$ , the name of the list where you put the data, and 1 for Freq: . Arrow down to $\mu :$ and arrow over to $>{\mu }_{0}$ . Press ENTER . Arrow down to Calculate and press ENTER . The calculator not only calculates the p-value ( $p=0.0396$ ) but it also calculates the test statistic (t-score) for the sample mean, the sample mean, and the sample standarddeviation. $\mu >65$ is the alternate hypothesis. Do this set of instructions again except arrow to Draw (instead of Calculate ). Press ENTER . A shaded graph appears with $t=1.9781$ (test statistic) and $p=0.0396$ (p-value). Make sure when you use Draw that no other equations are highlighted in $Y=$ and the plots are turned off.

Joon believes that 50% of first-time brides in the United States are younger than their grooms. She performs a hypothesis test to determine if the percentageis the same or different from 50% . Joon samples 100 first-time brides and 53 reply that they are younger than their grooms. For the hypothesis test, she uses a 1% level ofsignificance.

Set up the Hypothesis Test:

The 1% level of significance means that $\alpha =0.01$ . This is a test of a single population proportion .

${H}_{o}$ : $p$ $=0.50\phantom{\rule{20pt}{0ex}}$ ${H}_{a}$ : $p$ $\ne 0.50$

The words "is the same or different from" tell you this is a two-tailed test.

Calculate the distribution needed:

Random variable: $P\text{'}$ = the percent of of first-time brides who are younger than their grooms.

Distribution for the test: The problem contains no mention of a mean. The information is given in terms of percentages. Use the distribution for $P\text{'}$ , the estimated proportion.

$P\text{'}$ ~ $N$ $\left(p,\sqrt{\frac{p\cdot q}{n}}\right)\phantom{\rule{20pt}{0ex}}$ Therefore, $P\text{'}$ ~ $N$ $\left(0.5,\sqrt{\frac{0.5\cdot 0.5}{100}}\right)$ where $p=0.50$ , $q=1-p=0.50$ , and $n=100$ .

Calculate the p-value using the normal distribution for proportions:

$\text{p-value}=P\left(\mathrm{p\text{'}}$ $()$ $0.47$ or $\mathrm{p\text{'}}>0.53$ ) $=0.5485$

where $x=53$ , $p\text{'}=\frac{x}{n}$ $=\frac{53}{100}=0.53$ .

Interpretation of the p-value: If the null hypothesis is true, there is 0.5485 probability (54.85%) that the sample (estimated) proportion $p\text{'}$ is 0.53 or more OR 0.47 or less (see the graph below).

$\mu =p=0.50$ comes from ${H}_{o}$ , the null hypothesis.

$p\text{'}$ $=0.53$ . Since the curve is symmetrical andthe test is two-tailed, the $p\text{'}$ for the left tail is equal to $0.50-0.03=0.47$ where $\mu =p=0.50$ . (0.03 is the differencebetween 0.53 and 0.50.)

Compare $\alpha$ and the p-value:

Since $\alpha =0.01$ and $\text{p-value}=0.5485$ . Therefore, $\alpha$ $()$ $\text{p-value}$ .

Make a decision: Since $\alpha$ $()$ $\text{p-value}$ , you cannot reject ${H}_{o}$ .

Conclusion: At the 1% level of significance, the sample data do not show sufficient evidence that the percentage of first-time brides that are younger than their grooms isdifferent from 50%.

The p-value can easily be calculated using the TI-83+ and the TI-84 calculators:

Press STAT and arrow over to TESTS . Press 5:1-PropZTest . Enter .5 for ${p}_{0}$ , 53 for $x$ and 100 for $n$ . Arrow down to Prop and arrow to not equals ${p}_{0}$ . Press ENTER . Arrow down to Calculate and press ENTER . The calculator calculates the p-value ( $p=0.5485$ ) and the test statistic (z-score). Prop not equals .5 is the alternate hypothesis. Do this set of instructions again except arrow to Draw (instead of Calculate ). Press ENTER . A shaded graph appears with $z=0.6$ (test statistic) and $p=0.5485$ (p-value). Make sure when you use Draw that no other equations are highlighted in $Y=$ and the plots are turned off.

The Type I and Type II errors are as follows:

The Type I error is to conclude that the proportion of first-time brides that are younger than their grooms is different from 50% when, in fact, the proportion is actually 50%.(Reject the null hypothesis when the null hypothesis is true).

The Type II error is there is not enough evidence to conclude that the proportion of first time brides that are younger than their grooms differs from 50% when, in fact, the proportion does differ from 50%. (Do not reject the null hypothesis when the null hypothesis is false.)

use the y -intercept and slope to sketch the graph of the equation y=6x
how do we prove the quadratic formular
hello, if you have a question about Algebra 2. I may be able to help. I am an Algebra 2 Teacher
thank you help me with how to prove the quadratic equation
Seidu
may God blessed u for that. Please I want u to help me in sets.
Opoku
what is math number
4
Trista
x-2y+3z=-3 2x-y+z=7 -x+3y-z=6
Need help solving this problem (2/7)^-2
x+2y-z=7
Sidiki
what is the coefficient of -4×
-1
Shedrak
the operation * is x * y =x + y/ 1+(x × y) show if the operation is commutative if x × y is not equal to -1
An investment account was opened with an initial deposit of $9,600 and earns 7.4% interest, compounded continuously. How much will the account be worth after 15 years? Kala Reply lim x to infinity e^1-e^-1/log(1+x) given eccentricity and a point find the equiation Moses Reply 12, 17, 22.... 25th term Alexandra Reply 12, 17, 22.... 25th term Akash College algebra is really hard? Shirleen Reply Absolutely, for me. My problems with math started in First grade...involving a nun Sister Anastasia, bad vision, talking & getting expelled from Catholic school. When it comes to math I just can't focus and all I can hear is our family silverware banging and clanging on the pink Formica table. Carole I'm 13 and I understand it great AJ I am 1 year old but I can do it! 1+1=2 proof very hard for me though. Atone Not really they are just easy concepts which can be understood if you have great basics. I am 14 I understood them easily. Vedant hi vedant can u help me with some assignments Solomon find the 15th term of the geometric sequince whose first is 18 and last term of 387 Jerwin Reply I know this work salma The given of f(x=x-2. then what is the value of this f(3) 5f(x+1) virgelyn Reply hmm well what is the answer Abhi If f(x) = x-2 then, f(3) when 5f(x+1) 5((3-2)+1) 5(1+1) 5(2) 10 Augustine A soccer field is a rectangle 130 meters wide and 110 meters long. The coach asks players to run from one corner to the other corner diagonally across. What is that distance, to the nearest tenths place. Kimberly Reply Jeannette has$5 and \$10 bills in her wallet. The number of fives is three more than six times the number of tens. Let t represent the number of tens. Write an expression for the number of fives.
What is the expressiin for seven less than four times the number of nickels
How do i figure this problem out.
how do you translate this in Algebraic Expressions
why surface tension is zero at critical temperature
Shanjida
I think if critical temperature denote high temperature then a liquid stats boils that time the water stats to evaporate so some moles of h2o to up and due to high temp the bonding break they have low density so it can be a reason
s.
Need to simplify the expresin. 3/7 (x+y)-1/7 (x-1)=
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
Berger describes sociologists as concerned with
Got questions? Join the online conversation and get instant answers!