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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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