A doctor released the results of clinical trials for a vaccine to prevent a particular disease. In these clinical​ trials, 200,000 children were randomly divided in two groups. The subjects in group 1​ (the experimental​ group) were given the​ vaccine, while the subjects in group 2​ (the control​ group) were given a placebo. Of the 100,000 children in the experimental​ group, 21 developed the disease. Of the 100,000 children in the control​ group, 30 developed the disease.
a) Does it appear to be the case that the vaccine was effective? Use the α = 0.01 level of significance.
Identify the null and alternative hypotheses for this test.
c) Find the test statistic for this hypothesis test. (Round to two decimal places as needed.)

Respuesta :

Answer:

1) No, there is  not  enough evidence to support the claim that the vaccine was effective (P-value=0.104) .

The null and alternative hypothesis are:

[tex]H_0: \pi_1-\pi_2=0\\\\H_a:\pi_1-\pi_2< 0[/tex]

being the subindex 1 for the experimental group and subindex 2 for the control group.

2) Test statistic z=-1.26

Step-by-step explanation:

This is a hypothesis test for the difference between proportions.

The claim is that the vaccine was effective.

Then, the null and alternative hypothesis are:

[tex]H_0: \pi_1-\pi_2=0\\\\H_a:\pi_1-\pi_2< 0[/tex]

The significance level is 0.01.

The sample 1 (experimental group), of size n1=100000 has a proportion of p1=0.0002.

[tex]p_1=X_1/n_1=21/100000=0.0002[/tex]

The sample 2 (control group), of size n2=100000 has a proportion of p2=0.0003.

[tex]p_2=X_2/n_2=30/100000=0.0003[/tex]

The difference between proportions is (p1-p2)=-0.0001.

[tex]p_d=p_1-p_2=0.0002-0.0003=-0.0001[/tex]

The pooled proportion, needed to calculate the standard error, is:

[tex]p=\dfrac{X_1+X_2}{n_1+n_2}=\dfrac{21+30}{100000+100000}=\dfrac{51}{200000}=0.00026[/tex]

The estimated standard error of the difference between means is computed using the formula:

[tex]s_{p1-p2}=\sqrt{\dfrac{p(1-p)}{n_1}+\dfrac{p(1-p)}{n_2}}=\sqrt{\dfrac{0.00026*0.99974}{100000}+\dfrac{0.00026*0.99974}{100000}}\\\\\\s_{p1-p2}=\sqrt{0+0.0000000025}=\sqrt{0.0000000051}=0.000071[/tex]

Then, we can calculate the z-statistic as:

[tex]z=\dfrac{p_d-(\pi_1-\pi_2)}{s_{p1-p2}}=\dfrac{-0.00009-0}{0.000071}=\dfrac{-0.00009}{0.000071}=-1.26[/tex]

This test is a left-tailed test, so the P-value for this test is calculated as (using a z-table):

[tex]P-value=P(z<-1.26)=0.104[/tex]

As the P-value (0.104) is bigger than the significance level (0.01), the effect is not significant.

The null hypothesis failed to be rejected.

There is  not  enough evidence to support the claim that the vaccine was effective.