model Time*y(0)= Weather_1 Lighting_2 Time_2 vehicles_hr / ties=DISCRETE;
strata ObjectID Year Day Month;
run;
i want to include prediction values and contingency tables in sas phreg. Is there any way to include both of them in the code.
Thank you,
Naveen
proc phreg data=work.IMPORT;
model Time*y(0)= Weather_1 Lighting_2 Time_2 vehicles_hr / ties=DISCRETE;
strata ObjectID Year Day Month;
run;
i want to include prediction values and contingency tables in sas phreg. Is there any way to include both of them in the code.
Thank you,
Naveen
Thank you @RobPratt
@Naveen1993 I've moved your question to the Statistical Forum as well as combined your two posts into one post.
Have you checked the OUTPUT data set?
output out=want survival=surv;
I'm a touch confused though, this is typically a survival analysis procedure but it can be used for conditional logistic regression.
A contingency table is from logistic Regression, not survival analysis as far as I know.
My stats is rusty so I can easily be wrong here.
Please review the documentation for the all the statistics available in your OUTPUT dataset:
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.