Statistics Hypothesis Testing Problem

2.4k Views Asked by At

A survey of 64 medical labs revealed that the mean price charged for a certain test was Rs. 120, with a standard deviation of 60. Test whether the data indicates that the mean price of this test is more than Rs. 100 at 5% level of significance.

I have solved this question but I don't know whether the answer is correct or not.

Solution:

H0: mean = 120 (null hypothesis) H1: mean > 100 (alternative hypothesis)

we will use z test as the sample count is more than 30

z = |120-100|/60/sq.root(64) z = 2.67

at 5% of significance, the critical value of z is 1.96. Since the z value we obtained is more than 1.96, so we reject the null hypothesis and therefore the mean price of the test is more than 100

Please tell whether the answer is correct or there is some mistake in this. Help is appreciated.

2

There are 2 best solutions below

0
On

The null Hypothesis is that the mean price is Rs. 100, not Rs. 120. (This may only be a typo on your part.)

Your calculation of the $z$ statistic looks correct (and given the sample size it does make sense to use a $z$ test).

However, since this is a one-tail test, the critical value at $5\%$ significance is only $1.64,$ not $1.96.$ Of course this does not change your decision to reject the null.

2
On

why did you not use t-test, ideal would be t test as we do not know about the population standard deviation

What you have found is the t-statistic $= 2.67$

and the t-critical $= 1.6694$ with $df = 63$

Now the regjection region is t_statistic $\gt 1.6694$ Now decide if you want to reject or not?