Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

data lbw; infile ' /home/u62562997/moarahman/ph 620 intro to sas/Data/LBW.DAT'; *path is the location of the file on you local drive; input age 2-3 mweight 5-7

data lbw; infile ' /home/u62562997/moarahman/ph 620 intro to sas/Data/LBW.DAT'; *"path" is the location of the file on you local drive; input age 2-3 mweight 5-7 smoke 9 plabor 11 hypert 13 ui 15 visits 17 bweight 19; label age = 'Age of mother (yrs)'; label mweight = 'Weight of mother at last menstrual period (lbs)'; label smoke = 'Smoking status during pregnancy'; label plabor = 'History of premature labor'; label hypert = 'History of Hypertension'; label ui = 'Presence of uterine irritability'; label visits = 'Number of physician visits during the first trimester'; label bweight = 'Birth weight'; run; data lbw; set lbw; * Recode the outcome: birth weight; if bweight in (1,2) then lbw = 1; label lbw = 'Low Birth Weight'; else if bweight = 3 then lbw = 0; run; proc logistic data=lbw; class smoke(ref='0') hypert(ref='0') ui(ref='0') / param=ref; model lbw(ref='0') = age mweight smoke plabor hypert ui visits; run;(now from this code can you answer how can I answerThe following data set is adapted from a study to assess the relationship of several factors to low birth weight. The study was carried out at a single medical center. Outcome of pregnancy was classified into three groups: very low birth weight (< 2000 g), low birth weight (2000-2499 g) and normal ( 2500 g). Several factors thought to affect birth weight were also collected. A total of 100 subjects are included in the data set. Variable Columns 1. Age of mother (yrs) 2-3 2. Weight of mother a

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_2

Step: 3

blur-text-image_3

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

Precalculus

Authors: Michael Sullivan

9th edition

321716835, 321716833, 978-0321716835

More Books

Students also viewed these Mathematics questions