Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

STA303H1-S: Methods of Data Analysis II

Assignment 3

Due data March 03, 2023

Instructions:   Show your answers in details.

Q3 (10 points): Table below from the 2016 General Social Survey, has Y = belief in life after death, with categories (yes, no or undecided), and explanatory variables X1  = race and X2  = religion.

 

Race

 

Religion

Belief in Afterlife

Yes

No or Undecided

 

White

Protestant Catholic   Other       Protestant

817

519

48

298

250

194

9

86

Black

Catholic

Other

39

119

13

38

Analyze the data using logistic regression. Summarize your analysis in a short report, describing and making inferences about the race and religious effects on the odds of the belief in the afterlife.