Question: * Homework problem # 4 For the model below check: non-linearity of pregnum. Use 5 groups. Changed from 4 groups last year. data NSFG_F_MAR; set
* Homework problem # 4 For the model below check: non-linearity of pregnum. Use 5 groups. Changed from 4 groups last year. data NSFG_F_MAR; set NSFG_0610_F; if EVRMARRY=1; censor=(MAREND01 in(. 2 3)); run; proc means; run; proc surveyphreg data=NSFG_F_MAR; strata SEST; cluster SECU; class RELIGION (ref='1') HISPRACE (ref='2') COHEVER / param=ref ; model MAR1DISS*censor(1) = RELIGION HISPRACE COHEVER FMAR1AGE PREGNUM/RL; weight WGTQ1Q16; run
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
