Hello,
I am trying to change the y-axis parameter (i.e. probability of death30) from 0-1 to 0-0.2 in the following regression model. I would appreciate your help. Thank you!
proc genmod data=ADRD(where=(ownership1 in (0 1))) DESCENDING;
class mcrnum;
class ownership1 (ref= "0") / param = ref;
class BENE_SEX_CD (ref = "1")/param = ref;
class bedsize (ref = "1")/param = ref;
class teachst (ref = "0")/param = ref;
class hightech (ref = "1")/param = ref;
model death30 = ownership1| h_nwi_nosra BENE_AGE_CNT BENE_SEX_CD bedsize teachst hightech/link=logit dist=bin ;
effectplot slicefit(x=h_nwi_nosra sliceby=ownership1 );
repeated subject=mcrnum / type=ind modelse;
run;
Please look at the YRANGE= option
Please look at the YRANGE= option
Problem solved! Thank you!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.