BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
zihmin
Calcite | Level 5

Hello, I used the Cox PH model, but the output in the two rows with smokey=2 and stage=4 is blank, so I would like to ask how to solve the blank problem. (the logs do not show any warning)

Thank you !

 

proc phreg data=b;
class 
ID_S (param=ref ref='1') agep(param=ref ref='1') 
town1(param=ref ref='1')  ses (param=ref ref='1') 
smokeg (param=ref ref='0') smokey (param=ref ref='0') 
drinkg  (param=ref ref='0') cci_g (param=ref ref='0') stage (param=ref ref='0') 
histgp (param=ref ref='1') h_acc (param=ref ref='0') ;
model dd*readmit1(0)=h_acc ID_S agep town1 ses smokeg smokey drinkg cci_g stage histgp/risklimits 
slentry=0.25 slstay=0.15 details;
baseline survival=s /diradj  group=h_acc;
run;

Class Level Information.gifAnalysis of Maximum Likelihood Estimates.gif

 

 

1 ACCEPTED SOLUTION
2 REPLIES 2

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

5 Steps to Your First Analytics Project Using SAS

For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 276 views
  • 0 likes
  • 2 in conversation