turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- calcualting predicted values and producing conting...

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-16-2017 12:38 PM

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Naveen1993

04-16-2017 12:34 PM

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Naveen1993

04-16-2017 01:17 PM

Because PROC PHREG is in SAS/STAT, please post in the stat procs community instead.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to RobPratt

04-16-2017 07:55 PM

Thank you @RobPratt

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Naveen1993

04-16-2017 03:38 PM

@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:

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Reeza

04-16-2017 07:53 PM