This looks slightly better, but it's still not right. We are only seeing a few values of event_time_var. That shouldn't be happening. We should see them all (except for -5 as a reference category).
Also, before we introduce the complications of a higher level interaction with age, let's get the basic model working. Then we can try adding in the extra features.
To that end, I need you to use -dataex- to post example data that meets the following constraints:
1. It contains observations from both 3 states where ps = 1 and 3 states where ps = 0, and contains the ps variable.
2. It contains a variable showing the year in which each state began pre-registration
3. It contains the year variable and the statefips variable.
4. The years included for any given state are a block of consecutive years, and for ps = 1 states include the year in which pre-registration began as well as some before and some after.
5. It contains the outcome variable (register).
Then I can try to figure out what's going wrong.
Also, before we introduce the complications of a higher level interaction with age, let's get the basic model working. Then we can try adding in the extra features.
To that end, I need you to use -dataex- to post example data that meets the following constraints:
1. It contains observations from both 3 states where ps = 1 and 3 states where ps = 0, and contains the ps variable.
2. It contains a variable showing the year in which each state began pre-registration
3. It contains the year variable and the statefips variable.
4. The years included for any given state are a block of consecutive years, and for ps = 1 states include the year in which pre-registration began as well as some before and some after.
5. It contains the outcome variable (register).
Then I can try to figure out what's going wrong.
Comment