Hi. I want to to estimate discrete-time event history model to assess personal characteristics influence refugees’ entry into language course following them from arrival till 5 years. So when refugee attend language course then got event as 1 and also time is assigned to when they attend language course. data is in long format with time varying vars of education. after doing survival function as "stset time, failure(event) id(id)". now to estimate discrete-time event history model "logit event c.time i.edu"....now I got error that "outcome does not vary. 0= negative outcome, all othernonmissing values=positive outcome". I have attched a very smaple of my data. I am not allowed to attach full data.
id | observation period | event | time | edu |
a | 1 | 0 | . | low |
a | 2 | 0 | . | low |
a | 3 | 0 | . | low |
a | 4 | 1 | 4 | high |
a | 5 | 0 | . | high |
b | 1 | 0 | . | high |
b | 2 | 0 | . | high |
b | 3 | 0 | high | |
b | 4 | 0 | high | |
b | 5 | 0 | high | |
c | 1 | 0 | low | |
c | 2 | 1 | 2 | low |
c | 3 | 0 | . | high |
c | 4 | 0 | . | high |
c | 5 | 0 | . | high |
Comment