Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

data smoking; input city $ smoking $ yes no @@; cases = yes + no; smoking1 = 0; if smoking = Yes then smoking1 =

data smoking; input city $ smoking $ yes no @@; cases = yes + no; smoking1 = 0; if smoking = "Yes" then smoking1 = cards; Beijing Yes 126 100 Harbin Yes Beijing No 35 61 Harbin No Shanghai Yes 908 688 Zhengzhou Yes Shanghai No 497 807 Zhengzhou No Shenyang Yes 913 747 Taiyuan Yes Shenyang No 336 598 Taiyuan No Nanjing Yes 235 172 Nanchang Yes Nanjing No 58 121 Nanchang No ; run; 1; 402 121 182 72 60 11 104 21 308 215 156 98 99 43 89 36 proc genmod data = smoking; class city ; model yes/cases = city smoking1 / dist=bin link=logit ; run

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Holt Mcdougal Larson Algebra 2

Authors: HOLT MCDOUGAL

1st Edition 2012

9780547647159, 0547647158

More Books

Students also viewed these Mathematics questions

Question

\f\f

Answered: 1 week ago