Question

In: Statistics and Probability

Questions from : Fundamentals of Biostatistics by Bernard Rosner Suppose we wish to test the hypothesis ...

Questions from : Fundamentals of Biostatistics by Bernard Rosner

Suppose we wish to test the hypothesis H0: µ = 45 vs. H1:  µ > 45.

7.23 What will be the result if we conclude that the mean is  greater than 45 when the actual mean is 45? (i)  We have made a type I error. (ii)  We have made a type II error. (iii)  We have made the correct decision. 7.24 What will be the result if we conclude that the mean is  45 when the actual mean is 50? (i)  We have made a type I error. (ii)  We have made a type II error. (iii)  We have made the correct decision. Suppose we wish to test H0: µ = 30 vs. H1: µ ≠ 30 based on  a sample of size 31.  7.25 Which of the following sample results yields the smallest p-value and why? (i)  x = 28, s = 6 (ii)  x = 27, s = 4 (iii)  x = 32, s = 2 (iv)  x = 26, s = 9

Solutions

Expert Solution

7.23)

It is given that the true mean is 45. That means the null hypotheiss is true. But we wrongly reject the null hypothesis and accept the alternative. That means we have made an error. The following are the 2 types of errors that we can makre

  • Type I error occurs when we reject a null hypothesis that is true
  • Type II error occurs when we accept a null hypothesis that is false

In this case we have rejected the null hypothesis when it actually true.

Ans: (i)  We have made a type I error.

7.24) In this case it is given that the true mean is 50, that means the null hypothesis is wrong. But we wrongly accept the null hypothesis and say that true mean is 45. This is an error and we have committed Type II error as per the definition given above.

Ans: (ii)  We have made a type II error.

7.25)

We also know that the sample size n=31

The smallest p-value will be for the sample which will give the largest absolute z value. The absolute value of z is calculated using

This fraction will be the largest for the sample with smallest standard error of mean . Since n=31 is the same for all the samples. the standard error of mean will be the least for a sample with smallest standard deviation s. From the options we can see that option iii has the smallest standard deviation s=2. Hence it is most likely to have the largest absolute z value and hence the smallest p-value

ans: (iii)  x = 32, s = 2

The actual calculations are shown below

The folowing are the p-values for each of the options

i) The sample mean and sample standard deviation s=6 and the standard error of mean

The z value is given by


p value is P(Z<-1.85) = 0.032

ii)

The sample mean and sample standard deviation s=4 and the standard error of mean

The z value is given by


p value is P(Z<-4.17) = 0.000 (using excel formula =NORM.S.DIST(-4.17,TRUE))

iii)

The sample mean and sample standard deviation s=2 and the standard error of mean

The z value is given by


p value is P(Z> 5.56) = 0.000 (using excel formula =NORM.S.DIST(5.56,TRUE))

iv)

The sample mean and sample standard deviation s=9 and the standard error of mea

The z value is given by


p value is P(Z<-2.47) = 0.007 (using excel formula =NORM.S.DIST(-4.17,TRUE))


Related Solutions

Suppose that you wish to use a hypothesis test to test a claim made by a...
Suppose that you wish to use a hypothesis test to test a claim made by a juice bottling company regarding the mean amount of juice in its 16 oz bottles. The company claims that the mean amount of juice in its 16 oz bottles is 16 oz, while you suspect the true mean is lower. You obtain n = 15 bottles of juice and find a sample mean of x¯ = 15.42 oz with a sample standard deviation of s...
Suppose we wish to test the hypothesis H0 :μ=45vs. H1 :μ>45. What will be the result...
Suppose we wish to test the hypothesis H0 :μ=45vs. H1 :μ>45. What will be the result if we conclude that the mean is 45 when the actual mean is 50? Choose one of the following. 1. We have made a Type I error. 2. We have made a Type II error. 3. We have made the correct decision.
Suppose you wish to perform a hypothesis test for a population mean. Suppose that the population...
Suppose you wish to perform a hypothesis test for a population mean. Suppose that the population standard deviation is known, the population distribution is Normal, and the sample is small. Would you perform a z-test or t-test? a.The z-test is appropriate. b.Either test is appropriate. c.The t-test is appropriate. d.Neither test is appropriate.
1. For a particular scenario, we wish to test the hypothesis H0 : p = 0.48....
1. For a particular scenario, we wish to test the hypothesis H0 : p = 0.48. For a sample of size 50, the sample proportion p̂ is 0.42. Compute the value of the test statistic zobs. (Express your answer as a decimal rounded to two decimal places.) 2. Which of the following is a valid alternative hypothesis for a one-sided hypothesis test about a population proportion p? A. p = 0.6 B. p < 0 C. p ≠ 0.7 D....
We wish to test the hypothesis that two types of customer spend the same amount on...
We wish to test the hypothesis that two types of customer spend the same amount on average. From a sample of 40 “Type 1” customers, the average spend is 26.7 with a variance of 64.1, while, from a sample of 50 “Type 2” customers, the average spend is 23.3 with a variance of 55.8. The p-value for the hypothesis test is approximately what?
We wish to test the null hypothesis that the employee benefits (in millions) of all companies...
We wish to test the null hypothesis that the employee benefits (in millions) of all companies in a given industry follows a normal distribution with mean 10 and variance 4. In order to do so, we have observed the benefits for 100 companies, from which 30 had benefits smaller than 8, 50 had benefits between 8 and 13, and the remaining 20 firms had benefits larger than 13. The chi-square test statistic is given by a. 2.53 b.7.38 c. 30.60...
We wish to test the hypothesis that μ≥0 at the 4% level using a sample of...
We wish to test the hypothesis that μ≥0 at the 4% level using a sample of 60 observations. The rejection region for this test is: Below -1.75 Above 1.75 Below -2.05 Above 2.05
Suppose you wish to test a hypothesis that two​ treatments, A and​ B, are equivalent against...
Suppose you wish to test a hypothesis that two​ treatments, A and​ B, are equivalent against the alternative that the responses for A tend to be larger than those for B. a. If the number of pairs equals 32​, give the rejection region for the​ large-sample Wilcoxon signed rank test for alpha equals α=0.10. b. Suppose that Upper T Subscript plusT+equals=404. State your test conclusions. c. Find the​ p-value for the test and interpret it.
Suppose you wish to test the hypothesis that the number of print media (newspaper, magazine, and...
Suppose you wish to test the hypothesis that the number of print media (newspaper, magazine, and so forth) that people subscribe to is related to subscribers’ education levels. The following hypothetical data was gathered form five people.                                 Number of subscriptions, x :4, 5, 1, 2, 3 Education level, y (years): 16, 20, 8, 9, 12 H0: The number of print media that people subscribe to is not related to subscribers’ education levels. H1: The number of print media that...
Suppose that we wish to test a claim that a sequence of sample data was produced...
Suppose that we wish to test a claim that a sequence of sample data was produced in a random manner, and suppose that each data value belongs to one of two categories. Let n1n1 be the number of elements in the sequence that belong to the first category, n2n2 be the number of elements in the sequence that belong to the second category, and GG be the number of runs in such a sequence. Answer each of the following questions...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT