Hello, I am taking a Biostatistics class and we use SAS. One homework question I couldn't figure out how to write the code "Taking obesity as response variable, conduct model selection using backward method with maximum model including following covariates: WASIT_HIP_RATIO, Louisa, SBP, AGE, chol, stab_glub, glyhb, HDL, and MALE. " I followed the likelihood ratio test code that is provided on the course material note which is: "proc logistic data=temp; model obesity(event='1')=Waist_Hip_ratio Louisa SBP AGE chol stab_glub glyhb HDL MALE; contrast 'lrt' Waist_Hip_ratio 1; Louisa 1; SBP 1; AGE 1; chol 1; stab_glub 1; glyhb 1; HDL 1; MALE 1; run;" However, this code only work for two nested models according to notes!. My question: how to create a code for the quoted problem above? PS: I am a healthcare student and very basic with SAS.
... View more