A group of 56 computer science students were taught introductory computer programming class with an innovative teaching method that used a graphical interface and drag-and-drop methods of creating computer programs. At the end of the class, 43 of these students said that they felt confident in their ability to write computer programs. Another group of 41 students were taught the same material using a standard method. At the end of class, 25 of these students said they felt confident. Assume that each class contained a simple random sample of students. Let pX represent the population proportion of students taught by the innovative method who felt confident and let pY represent the population proportion of students taught by the standard method who felt confident. Find a 99% confidence interval for the difference pX−pY . Round the answers to four decimal places.
Question
Answer:
Answer:(-0.0861, 0.4023)Step-by-step explanation:We have large sample sizes [tex]n_{x} = 56[/tex] and [tex]n_{y} = 41[/tex]. A [tex]100(1-\alpha)[/tex]% confidence interval for the difference [tex]p_{x}-p_{y}[/tex] is given by [tex](\hat{p}_{x}-\hat{p}_{y})\pm z_{\alpha/2}\sqrt{\frac{\hat{p}_{x}(1-\hat{p}_{x})}{n_{x}}+\frac{\hat{p}_{y}(1-\hat{p}_{y})}{n_{y}}}[/tex]. [tex]\hat{p}_{x}=43/56 = 0.7679[/tex] and [tex]\hat{p}_{y}=25/41=0.6098[/tex]. Because we want a 99% confidence interval for the difference [tex]p_{x}-p_{y}[/tex], we have that [tex]z_{\alpha/2}=z_{0.01/2}=z_{0.005}=2.5758[/tex] (The area above 2.5758 and below the curve of the stardard normal density is 0.005) and the confidence interval is [tex](0.7679-0.6098)\pm (2.5758)\sqrt{\frac{0.7679(1-0.7679)}{56}+\frac{0.6098(1-0.6098)}{41}}[/tex] = (-0.0861, 0.4023).
solved
general
10 months ago
1196