Hypothesis test and finding type 2 error probability

Click For Summary
SUMMARY

This discussion focuses on hypothesis testing for a new therapy aimed at reducing the treatment duration of a disease, which has a known mean of 15 days. The null hypothesis (H0: μ = 15) is tested against the alternative hypothesis (H1: μ < 15) using a significance level of α = 0.05. Calculations reveal that with a sample mean (x) of 14.6 and a standard deviation (s) of 3.0, the Z-score is -1.12, leading to the conclusion that the null hypothesis cannot be rejected. Additionally, the Type II error probability (β) for the alternative mean (μ′ = 14) is calculated to be 0.2033.

PREREQUISITES
  • Understanding of hypothesis testing concepts, including null and alternative hypotheses.
  • Familiarity with Z-scores and significance levels in statistical tests.
  • Knowledge of calculating p-values and interpreting them in hypothesis testing.
  • Basic understanding of Type I and Type II error probabilities.
NEXT STEPS
  • Learn how to calculate p-values for one-sample Z-tests.
  • Study the implications of Type II error in hypothesis testing.
  • Explore the use of statistical software for hypothesis testing, such as R or Python's SciPy library.
  • Investigate the differences between one-tailed and two-tailed tests in hypothesis testing.
USEFUL FOR

Statisticians, data analysts, researchers conducting clinical trials, and students studying hypothesis testing methodologies.

toothpaste666
Messages
516
Reaction score
20

Homework Statement

From extensive records it is known that the duration of treating a disease by a standard therapy has a mean of 15 days. It is claimed that a new therapy can reduce the treatment time. To test this claim, the new therapy is to be tried on 70 patients and their times to recovery are to be recorded.
(a) Formulate the hypotheses and determine the rejection region of the test with a level of significance α = 0.05.
(b) If x = 14.6 and s = 3.0, what does the test conclude?
(c) Repeat (a) and (b) using the p-value.
(d) Using σ = 3.0, what is the Type II error probability β(μ′ ) of the test for the alternative μ′ =14?

The Attempt at a Solution


a) H0: μ= μ0 = 15
H1: μ < μ0 = 15
since the alternative hypotheses is μ1 < μ0 we reject H0 if Z < -zα = -z.05 = -1.645

b) X = 14.6, s = 3

Z = (X - μ)/(s/sqrt(n)) = (14.6 - 15)/(3/sqrt(70)) = -1.12 > -1.645 so we cannot reject the null hypothesis .

c) the P value is P(Z < -1.12) =.1314
I am not sure how they want me to use it in a) and b) though

d) μ1 = 14 μ0 = 15
μ1< μ0 and it is a one sided test
so we use
Z < -zα + sqrt(n)((μ0 - μ1)/σ) = -1.96 + sqrt(70)((15-14)/3) = .829
Z < .829
γ = P(Z < .829) = .7967
β = 1 - γ = 1 - .7967 = .2033

I am not sure if I am understanding part d) correctly either
 
Physics news on Phys.org
For part d), you used the 2-sided Z score for alpha = .05. It should be the same as the one used in parts a and b, right? The calculation steps look correct to me.

Also, for using the p-value, you simply would say to reject the null hypothesis if p < alpha.
You could write, H0: p( mu ≥ mu_0 ) ≥ .05, Ha: p(mu < mu_0) >.95 ...though I have never seen a null hypothesis written in terms of the probability.
 
  • Like
Likes   Reactions: toothpaste666
oops yes you are right. thank you
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
Replies
7
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K