/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q56 E Sometimes experiments involving ... [FREE SOLUTION] | 91影视

91影视

Sometimes experiments involving success or failure responses are run in a paired or before/after manner. Suppose that before a major policy speech by a political candidate, n individuals are selected and asked whether \((S)\)or not (F) they favor the candidate. Then after the speech the same n people are asked the same question. The responses can be entered in a table as follows:

Before

After

S

F

S

\({{\bf{X}}_{\bf{1}}}\)

\({{\bf{X}}_{\bf{2}}}\)

F

\({{\bf{X}}_{\bf{3}}}\)

\({{\bf{X}}_{\bf{4}}}\)

Where\({{\bf{x}}_{\bf{1}}}{\bf{ + }}{{\bf{x}}_{\bf{2}}}{\bf{ + }}{{\bf{x}}_{\bf{3}}}{\bf{ + }}{{\bf{x}}_{\bf{4}}}{\bf{ = n}}\). Let\({{\bf{p}}_{\bf{1}}}{\bf{,}}{{\bf{p}}_{\bf{2}}}{\bf{,}}{{\bf{p}}_{\bf{3}}}\), and \({p_4}\)denote the four cell probabilities, so that \({p_1} = P(S\) before and S after), and so on. We wish to test the hypothesis that the true proportion of supporters (S) after the speech has not increased against the alternative that it has increased.

a. State the two hypotheses of interest in terms of\({p_1},{p_2}\),\({p_3}\), and \({p_4}\).

b. Construct an estimator for the after/before difference in success probabilities

c. When n is large, it can be shown that the rv \(\left( {{{\bf{X}}_{\bf{i}}}{\bf{ - }}{{\bf{X}}_{\bf{j}}}} \right){\bf{/n}}\) has approximately a normal distribution with variance given by\(\left[ {{{\bf{p}}_{\bf{i}}}{\bf{ + }}{{\bf{p}}_{\bf{j}}}{\bf{ - }}{{\left( {{{\bf{p}}_{\bf{i}}}{\bf{ - }}{{\bf{p}}_{\bf{j}}}} \right)}^{\bf{2}}}} \right]{\bf{/n}}\). Use this to construct a test statistic with approximately a standard normal distribution when \({H_0}\)is true (the result is called McNemar's test).

d. If\({{\bf{x}}_{\bf{1}}}{\bf{ = 350,}}\;\;\;{{\bf{x}}_{\bf{2}}}{\bf{ = 150,}}\;\;\;{{\bf{x}}_{\bf{3}}}{\bf{ = 200}}\), and\({x_4} = 300\), what do you conclude?

Short Answer

Expert verified

a. The hypotheses of interest are \({H_0}:{p_3} = {p_2}\)versus \({H_a}:{p_3} > {p_2};\)

b. \(\frac{{{X_3} - {X_2}}}{n};\)

\(c.Z = \frac{{{X_3} - {X_2}}}{{\sqrt {{X_3} + {X_2}} }};\)

d. Reject null hypothesis.

Step by step solution

01

Step 1: State the two hypotheses of interest in terms of\({{\bf{p}}_{\bf{1}}}{\bf{,}}{{\bf{p}}_{\bf{2}}}\), \({{\bf{p}}_{\bf{3}}}\), and \({{\bf{p}}_{\bf{4}}}\).

(a):

The probability that after the speech people favor the major is the sum of \({p_1}\)and \({p_3}\)- both are the corresponding probabilities to cells 1 and 3. The probability that before the speech people do not favor the major is the sum of \({p_1}\)and \({p_2}\)both are the corresponding probabilities to cells 1 and 2. This is because the first column represents success for "after" and the first row represents the row for "before" success.

From\({p_1}\)+\({p_3}\)=\({p_1}\)+\({p_2}\), which would be the null hypothesis,

The hypotheses of interest are \({H_0}:{p_3} = {p_2}\) versus \({H_a}:{p_3} > {p_2}\)

02

Step 2:Construct an estimator for the after/before difference in success probabilities

(b):

Every cell in the table represents number of people for corresponding described event, this indicates that using that data you could estimate the probabilities. There are total of n individuals, and\({x_1} + {x_2} + {x_3} + {x_4} = n\). From this, the estimate of \({p_1} + {p_3} - \left( {{p_1} + {p_2}} \right)\) is simply

\(\frac{{{x_1} + {x_3} - \left( {{x_1} + {x_2}} \right)}}{n} = \frac{{{x_3} - {x_2}}}{n}\)

W hich is obviously the after/before difference in success probabilities estimate. \(\sigma = \sqrt {\frac{{{p_3} + {p_2}}}{n}} ,\)However, the estimator requires random variables and it is\(\frac{{{X_3} - {X_2}}}{n}\)

03

Step 3:to construct a test statistic with approximately a standard normal distribution

(c):

Assume that \({H_0}\)is true, thus\({p_3} = {p_2}\). Based on the given information, the variance of the given estimator in (b) is

\({\mathop{\rm Var}\nolimits} \frac{{{X_3} - {X_2}}}{n} = \frac{{{p_2} + {p_3} - {{\left( {{p_2} - {p_3}} \right)}^2}}}{n}\)

which is, for \({p_3} = {p_2}\)

\({\mathop{\rm Var}\nolimits} \frac{{{X_3} - {X_2}}}{n} = \frac{{{p_3} + {p_2}}}{n}.\)

The standard deviation is which needs to be estimated with\(\hat \sigma = \sqrt {\frac{{{{\hat p}_3} + {{\hat p}_2}}}{n}} \)

Since the expected value is obviously zero, and random variable

\(\frac{{{X_3} - {X_2}}}{n}\)has approximately normal distribution with parameter mean 0 and standard deviation\(\sigma \), you can construct the Z statistic as

\(\begin{array}{c}Z = \frac{{\frac{{{X_3} - {X_2}}}{n}}}{{\sqrt {\frac{{{{\hat p}_3} + {{\hat p}_2}}}{n}} }}\\ = \frac{{{X_3} - {X_2}}}{{\sqrt {{X_3} + {X_2}} }}\end{array}\)

which has standard normal distribution.

04

Step 4:To conclude for the final proof

(d):

the hypotheses of interest are \({H_0}:{p_3} = {p_2}\) versus\({H_a}:{p_3} > {p_2}\), and the value of the Z test statistic is

\(\begin{array}{c}z = \frac{{{X_3} - {X_2}}}{{\sqrt {{X_3} + {X_2}} }}\\ = \frac{{200 - 150}}{{\sqrt {200 + 150} }}\\ = 2.68\end{array}\)

The test is one sided, upper, thus the P value is the area under the standard normal curve to the right of z. Therefore, the P value is

\(\begin{array}{c}P = P(Z > 2.68)\\ = 1 - P(Z \le 2.68)\\ = 1 - \Phi (2.68)\\ = 0.0037\end{array}\)

where the \(\Phi ( \cdot )\)value can be obtained from the table in the appendix. Depending on significance level, the conclusion might change. At significance level 0.01 or 0.05 which are usually used, because

\(P = 0.0037 < 0.01 < 0.05\)we reject the null hypothesis

However, you might not reject in for other significance levels.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91影视!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Which way of dispensing champagne, the traditional vertical method or a tilted beer-like pour,preserves more of the tiny gas bubbles that improve flavor and aroma? The following data was reported in the article 鈥淥n the Losses of Dissolved \(C{O_2}\) during Champagne Serving鈥 (J. Agr. Food Chem., 2010: 8768鈥8775)

\(\begin{array}{*{20}{c}}{ Temp \left( {^^\circ C} \right)}&{ Type of Pour }&n&{ Mean (g/L)}&{ SD }\\{18}&{ Traditional }&4&{4.0}&{.5}\\{18}&{ Slanted }&4&{3.7}&{.3}\\{12}&{ Traditional }&4&{3.3}&{.2}\\{12}&{ Slanted }&4&{2.0}&{.3}\\{}&{}&{}&{}&{}\end{array}\)

Assume that the sampled distributions are normal.

a. Carry out a test at significance level \(.01\) to decide whether true average\(C{O_2}\)loss at \(1{8^o}C\) for the traditional pour differs from that for the slanted pour.

b. Repeat the test of hypotheses suggested in (a) for the \(1{2^o}\) temperature. Is the conclusion different from that for the \(1{8^o}\) temperature? Note: The \(1{2^o}\) result was reported in the popular media

According to the article "Modeling and Predicting the Effects of Submerged Arc Weldment Process Parameters on Weldment Characteristics and Shape Profiles" (J. of Engr. Manuf., \(2012: 1230 - 1240\)), the submerged arc welding (SAW) process is commonly used for joining thick plates and pipes. The heat affected zone (HAZ), a band created within the base metal during welding, was of particular interest to the investigators. Here are observations on depth\((mm)\)of the HAZ both when the current setting was high and when it was lower.

\(\begin{array}{*{20}{l}}{ Non - high }&{1.04}&{1.15}&{1.23}&{1.69}&{1.92}\\{}&{1.98}&{2.36}&{2.49}&{2.72}&{}\\{}&{1.37}&{1.43}&{1.57}&{1.71}&{1.94}\\{ High }&{2.06}&{2.55}&{2.64}&{2.82}&{}\\{}&{1.55}&{2.02}&{2.02}&{2.05}&{2.35}\\{}&{2.57}&{2.93}&{2.94}&{2.97}&{}\end{array}\)

a. Construct a comparative boxplot and comment on interesting features.

b. Is it reasonable to use the two-sample \(t\) test to test hypotheses about the difference between true average HAZ depths for the two conditions?

c. Does it appear that true average HAZ depth is larger for the higher current condition than for the lower condition? Carry out a test of appropriate hypotheses using a significance level of . \(01\).

Consider the accompanying data on breaking load (\(kg/25\;mm\)width) for various fabrics in both an unabraded condition and an abraded condition (\(^6\)The Effect of Wet Abrasive Wear on the Tensile Properties of Cotton and Polyester-Cotton Fabrics," J. Testing and Evaluation, \(\;1993:84 - 93\)). Use the paired\(t\)test, as did the authors of the cited article, to test\({H_0}:{\mu _D} = 0\)versus\({H_a}:{\mu _D} > 0\)at significance level . \(01\)

Suppose a level .05 test of \({H_0}:{\mu _1} - {\mu _2} = 0\) versus \({H_a}:{\mu _1} - {\mu _2} > 0\) is to be performed, assuming \((m = n)\)\({\sigma _1} = {\sigma _2} = \)10 and normality of both distributions, using equal sample sizes. Evaluate the probability of a type II error when \({\mu _1} - {\mu _2} = 1\) and\(n = 25,100,2500\), and 10,000. Can you think of real problems in which the difference \({\mu _1} - {\mu _2} = 1\)has little practical significance? Would sample sizes of n=10,000 be desirable in such problems?

The level of lead in the blood was determined for a sample of \(152\) male hazardous-waste workers ages \(20 - 30\) and also for a sample of \(86\) female workers, resulting in a mean \(6\) standard error of \(5.5 \pm 0.3\)for the men and \(3.8 \pm 0.2\) for the women (鈥淭emporal Changes in Blood Lead Levels of Hazardous Waste Workers in New Jersey, 1984鈥1987,鈥 Environ. Monitoring and Assessment, 1993: 99鈥107). Calculate an estimate of the difference between true average blood lead levels for male and female workers in a way that provides information about reliability and precision.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.