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: After S F Sx₁₂ Before FX3 X4 where x1 + x2 + x3 + x4 = n. Let P1, P2, P3, and P4 denote the four cell probabilities, so that p₁ = 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 P1, P2, P3, and P4. b. Construct an estimator for the after/before difference in success probabilities. c. When n is large, it can be shown that the rv (X; - X;)/n has approximately a normal distribution with variance given by [P; + Pj - (P₁ - p)²]/n. Use this to construct a test statistic with approximately a standard normal distribution when Ho is true (the result is called McNemar's test). = 150, =200, and X4 x3 = d. If x₁ = 350, x₂ what do you conclude? = 300,

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
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:
After
S F
Sx₁₂
Before
FX3 X4
where x1 + x2 + x3 + x4 = n. Let P1, P2, P3, and P4
denote the four cell probabilities, so that p₁ = 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 P1, P2,
P3, and P4.
b. Construct an estimator for the after/before difference
in success probabilities.
c. When n is large, it can be shown that the rv (X; - X;)/n
has approximately a normal distribution with variance
given by [P; + Pj - (P₁ - p)²]/n. Use this to construct
a test statistic with approximately a standard normal
distribution when Ho is true (the result is called
McNemar's test).
= 150, =200, and X4
x3 =
d. If x₁ = 350, x₂
what do you conclude?
= 300,
Transcribed Image Text: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: After S F Sx₁₂ Before FX3 X4 where x1 + x2 + x3 + x4 = n. Let P1, P2, P3, and P4 denote the four cell probabilities, so that p₁ = 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 P1, P2, P3, and P4. b. Construct an estimator for the after/before difference in success probabilities. c. When n is large, it can be shown that the rv (X; - X;)/n has approximately a normal distribution with variance given by [P; + Pj - (P₁ - p)²]/n. Use this to construct a test statistic with approximately a standard normal distribution when Ho is true (the result is called McNemar's test). = 150, =200, and X4 x3 = d. If x₁ = 350, x₂ what do you conclude? = 300,
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman