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:
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.