Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

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 Vaia!

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

Consider the pooled\(t\)variable

\(T = \frac{{(\bar X - \bar Y) - \left( {{\mu _1} - {\mu _2}} \right)}}{{{S_p}\sqrt {\frac{1}{m} + \frac{1}{n}} }}\)

which has a\(t\)distribution with\(m + n - 2\)df when both population distributions are normal with\({\sigma _1} = {\sigma _2}\)(see the Pooled\(t\)Procedures subsection for a description of\({S_p}\)).

a. Use this\(t\)variable to obtain a pooled\(t\)confidence interval formula for\({\mu _1} - {\mu _2}\).

b. A sample of ultrasonic humidifiers of one particular brand was selected for which the observations on maximum output of moisture (oz) in a controlled chamber were\(14.0, 14.3, 12.2\), and 15.1. A sample of the second brand gave output values\(12.1, 13.6\),\(11.9\), and\(11.2\)("Multiple Comparisons of Means Using Simultaneous Confidence Intervals," J. of Quality Technology, \(1989: 232 - 241\)). Use the pooled\(t\)formula from part (a) to estimate the difference between true average outputs for the two brands with a\(95\% \)confidence interval.

c. Estimate the difference between the two\(\mu \)'s using the two-sample\(t\)interval discussed in this section, and compare it to the interval of part (b).

Suppose \({\mu _1}\) and \({\mu _2}\) are true mean stopping distances at \(50mph\) for cars of a certain type equipped with two different types of braking systems. Use the two-sample t test at significance level

t test at significance level \(.01\) to test \({H_0}:{\mu _1} - {\mu _2} = - 10\) versus \({H_a}:{\mu _1} - {\mu _2} < - 10\) for the following data: \(m = 6,\;\;\;\bar x = 115.7,{s_1} = 5.03,n = 6,\bar y = 129.3,\;\)and \({s_2} = 5.38.\)

Refer to Example 9.7. Does the data suggest that the standard deviation of the strength distribution for fused specimens is smaller than that for not-fused specimens? Carry out a test at significance level .01.

To decide whether two different types of steel have the same true average fracture toughness values, n specimens of each type are tested, yielding the following results:

\(\begin{array}{l}\underline {\begin{array}{*{20}{c}}{ Type }&{ Sample Average }&{ Sample SD }\\1&{60.1}&{1.0}\\2&{59.9}&{1.0}\\{}&{}&{}\end{array}} \\\end{array}\)

Calculate the P-value for the appropriate two-sample \(z\) test, assuming that the data was based on \(n = 100\). Then repeat the calculation for \(n = 400\). Is the small P-value for \(n = 400\) indicative of a difference that has practical significance? Would you have been satisfied with just a report of the P-value? Comment briefly.a

Cushing's disease is characterized by muscular weakness due to adrenal or pituitary dysfunction. To provide effective treatment, it is important to detect childhood Cushing's disease as early as possible. Age at onset of symptoms and age at diagnosis (months) for 15 children suffering from the disease were given in the article "Treatment of Cushing's Disease in Childhood and Adolescence by Transphenoidal Microadenomectomy" (New Engl. J. of Med., 1984: 889). Here are the values of the differences between age at onset of symptoms and age at diagnosis:

\(\begin{array}{*{20}{l}}{ - 24}&{ - 12}&{ - 55}&{ - 15}&{ - 30}&{ - 60}&{ - 14}&{ - 21}\\{ - 48}&{ - 12}&{ - 25}&{ - 53}&{ - 61}&{ - 69}&{ - 80}&{}\end{array}\)

a. Does the accompanying normal probability plot cast strong doubt on the approximate normality of the population distribution of differences?

b. Calculate a lower\(95\% \)confidence bound for the population mean difference, and interpret the resulting bound.

c. Suppose the (age at diagnosis) - (age at onset) differences had been calculated. What would be a\(95\backslash \% \)upper confidence bound for the corresponding population mean difference?

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.

Sign-up for free