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!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.