Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A survey asked subjects whether they believed in heaven and whether they believed in hell, and their responses are below. (a)Test the hypothesis that the
A survey asked subjects whether they believed in heaven and whether they believed in hell, and their responses are below.
- (a)Test the hypothesis that the population proportions answering yes were identical for heaven and hell.
- (b)Find a 95% confidence interval for the difference between the two population proportions.
- (c)Estimate and interpret the odds ratio from a logistic model for the probability of a yes response as a function of the item (heaven or hell) using two different models: (i) A marginal model (ii) A subject specific model
- (d)McNemar's test uses a normal approximation to the binomial distribution, but we need not make this approximation. We can use the binomial distribution directly and get exact p-values. Suppose I am interested in the following hypotheses: H0 :12 =21 v.s Ha :12 >21 Find an exact p-value to test these hypotheses
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started