Answered You can hire a professional tutor to get the answer.
data smoking; input city $ smoking $ yes no @@; cases = yes + no; smoking1 = 0; if smoking = Yes then smoking1 = cards; Beijing Yes 126
Table 5.12 summarizes eight studies in China about smoking and lung cancer.a. Fit a logistic model with smoking and study as predictors. Interpret thesmoking effect.b. Conduct a Pearson test of goodness of fit. Interpret.c. Check residuals to analyze further the quality of fit. Interpret.
Table 5.12. Data for Problem 5.18 on Smoking and Lung CancerLung Cancer Lung CancerCity Smoking Yes No City Smoking Yes NoBeijing Yes 126 100 Harbin Yes 402 308No 35 61 No 121 215Shanghai Yes 908 688 Zhengzhou Yes 182 156No 497 807 No 72 98Shenyang Yes 913 747 Taiyuan Yes 60 99No 336 598 No 11 43Nanjing Yes 235 172 Nanchang Yes 104 89No 58 121 No 21 36