Help using Base SAS procedures

binary time series modeling

Reply
New Contributor
Posts: 2

binary time series modeling

[ Edited ]

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
PROC Star
Posts: 547

Re: binary time series modeling

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

 

Super User
Posts: 10,466

Re: binary time series modeling

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

New Contributor
Posts: 2

Re: binary time series modeling

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).

Ask a Question
Discussion stats
  • 3 replies
  • 144 views
  • 0 likes
  • 3 in conversation