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
- /
- Conditional Logistic Regression, Approximation Met...

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

01-09-2017 09:29 PM

Dear Community,

I am wondering if SAS has similar approximation procedure when fits the conditional logistic regression as R does?

I.e. In R, there is an option to specify likelihood approximation method as "efron" or "breslow".

I don't think PROC LOGISTIC has this option.

Thank you!

Accepted Solutions

Solution

01-18-2017
10:10 AM

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

Posted in reply to JacobSimonsen

01-17-2017 06:45 AM

Sorry, I made a typing error. dummytime should be 1 for cases and 2 for controls (not 0). And the dummytime should be censored, so no riskset after 1:

model dummytime*dummytime(2)/ties=discrete

model dummytime*dummytime(2)/ties=discrete

All Replies

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

Posted in reply to longitudinal

01-09-2017 11:58 PM

There are several proc that perform logistic regression, PROC GLM and PHREG are others.

This may be what you're looking for:

http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_phreg_exampl...

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

Posted in reply to Reeza

01-10-2017 06:34 AM

It is true that proc logistic can not make the Breslow or Efron approximation. But, construction af variable "dummytime" with values 1 for cases and 0 for controls, and analyze this as survival analysis is equivalent to conditional logistic regression when using the option ties=discrete in PROC PHREG. If, instead, the option ties=breslow (default) or ties=efron is used, then you have the approximation.

Solution

01-18-2017
10:10 AM

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

Posted in reply to JacobSimonsen

01-17-2017 06:45 AM

model dummytime*dummytime(2)/ties=discrete

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

Posted in reply to JacobSimonsen

01-17-2017 07:47 PM

I assume it should be the same as

model dummytime*Y(0)/ties=discrete

given that Y is binary with value 1 and 0?

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

Posted in reply to longitudinal

01-18-2017 02:40 AM

Yes, that wil work also. If those with dummytime=2 is the same as those with Y=0, then

model dummytime*Y(0)/ties=discrete

is equivalent to

model dummytime*dummytime(2)/ties=discrete

given of course that the rest has dummytime=1.