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 extract a word from a string variable.I have a variable that captures actual household address, say, "76 Longstreet Albertville Gauteng". …
Simple Merging Issue with ID variableHi everyone I am having a simple problem with merging interest rate data with a country identifier …
Multilevel logistic regressionHi I am running an multilevel logistic regression on dhs data of ukraine.I amnot sure about the resu…
Event StudiesDear Statalist, I have been having issues with my event study methodology from princeton https://ds…
Replacing missing valuesDear All, I have the following (maybe silly) problem, which I cannot solve. I have the following d…
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample prediction for a logit model with dummy for time effect
Post a Comment