I am trying to build a discrete time event model. The event occurs once in 20 years period of time. Most of the example i saw use only covariates which are same over period of time. e.g. sex,race etc.

But i have observed values of covariates for different time periods.And there are around 10-15 covariates which are observed for 20 years.

I want to model all the time varying covariates for each year. e.g. in SAS the option is like: model event=var1 var2 var3 number_of_years

Here they have var1 var2 as race, sex etc, which are constant over period of time(time independent). But i have like different var1 values observed for number of years. So for second entity, its again different for number of years.

The event occurs once for given number of years in 1/0 form

I am using SAS, but can use R as well if that helps.

Please let me know, if you have any questions.

To clarify further:

Please refer to: http://ccsr.ac.uk/qmss/summer/Paris09/documents/SingerWillet.pdf

in the last you can see logistic regression code.

I want to know how to include predictors like cash value along with dummy variables D01-D12 which are varying for 12 time periods.

  • 2
    $\begingroup$ Please let me know if you have any questions -- you need to have questions first. You didn't post any. $\endgroup$ – Glen_b Jul 1 '14 at 9:55
  • $\begingroup$ The problem if you figure from text is, that most of the examples that i came across have covariates which are constant for the entire time period. But in my situation i have covariates which are observed for all years. I want to capture them in my model, to find the event probability happening/not happening $\endgroup$ – user49305 Jul 1 '14 at 10:37
  • 1
    $\begingroup$ Your question still doesn't contain a question. Even in your response in comments, you still only made statements. If possible, can you express what you want in the form of a question, and edit your question to contain it? $\endgroup$ – Glen_b Jul 1 '14 at 10:42
  • $\begingroup$ does that help? $\endgroup$ – user49305 Jul 1 '14 at 11:10
  • $\begingroup$ I've read and reread your post but I am still not sure what your question really is. $\endgroup$ – Glen_b Jul 1 '14 at 11:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.