Question: 3) We will consider the Prime Minister Approval example presented in Lecture 14. In that example, 1,600 Canadian citizens were asked whether they approved
3) We will consider the Prime Minister Approval example presented in Lecture 14. In that example, 1,600 Canadian citizens were asked whether they approved or disapproved of the Prime Minister's performance in office. Six months later, the same 1,600 citizens were asked again whether they approved or disapproved. We used McNemar's test to test if the probability of approval was the same for the two surveys. Now, we will take a slightly different approach to answer the same question. Copy the following R code into the R Console: subj < gl(1600,2) srvy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
