I have a panel data which I would like to fit a logit/xtlogit for it. I added i.year as time dummiesin my model for capturing common year effects and I got estimated time coefficient for each in-sample years. However, an issue arises when I want to calculate out of sample probability because there are no estimated intercepts for out of sample years. Do you have any suggestion for handling this issue? I notice that if I use c.year instead of i.year I can calculate out of sample probability but my in sample predictions looks nicer using i.year.
Thanks in advance for your suggestions
Sepi
Related Posts with Out of sample prediction for a logit model with dummy for time effect
How to use a Cox regression model for time-to-event analysis using different years as controlGood day Background: I am trying to conduct a retrospective epidemiological study looking at the in…
How to make mother education variable for each observation in a large datai have data in the form of Parent key KEY indvidual_number_ in_ roaster completed education mother l…
Dropping all companies with no observation at the start of the time periodHi Statalist, I have a database of a lot of companies for 7 years: 01-2013 to 01-2019. However, in …
Time series operators not allowed?Dear All, I would like to create a 5 month *follow up period* after a specific variable takes a valu…
Redirecting All Ado Paths to New Drive & FolderAt some unfortunate time, I named my partitioned drive with the letter "B". I am setting up a new co…
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample prediction for a logit model with dummy for time effect
Post a Comment