BookmarkSubscribeRSS Feed
amenalso225
Calcite | Level 5

Dear SAS Communities,

 

I need to model a binary outcome (event = 1, nonevent = 0) depends on time. (please see the attached picture)

 

I would greatly appreciate guidance on which proceedures are applicable. The PROCs I tried thus far appear to model continuous outcomes.

 

 

 

Thank you!

Dan


Screen Shot 2017-06-18 at 3.16.52 PM.png
3 REPLIES 3
PeterClemmensen
Tourmaline | Level 20

What procedures have you tried? PROC LOGISTIC sounds like a place to start. Se documentation here

 

https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#logistic_toc.htm

 

ballardw
Super User

Are you looking at "time to event" type data? Such as time until failure of a part or how long the rat lives after exposure to your favorite carcinogen. Then you might want to look at survival analyis procedures such as Phreg, Lifereg, Lifetest or Probit

amenalso225
Calcite | Level 5

I am woundring how to model such data 

 

DateRainfall amount (millimetres)rain
1/1/000.41
1/2/0000
1/3/0000
1/4/003.41
1/5/001.41
1/6/0000
1/7/0000
1/8/0000
1/9/0000
1/10/002.21
1/11/0000
1/12/0000
1/13/0000
1/14/0000
1/15/0000
1/16/000.41
1/17/000.81
1/18/0000
1/19/0000
1/20/0000

 

The rain column is the binary outcome (dependent variable).

sas-innovate-2024.png

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.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 816 views
  • 0 likes
  • 3 in conversation