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
Finding appropriate model for panel data analysisHi all, am trying to analyze the effect on inheritance receipt on private pension savings of house…
Why is my panel unbalanced?Hi, can someone help me figure out why my panel is unbalanced? Array I have every month, so no gaps…
use 3d surface graph to explain in*the interaction effectDear all,@Nick Cox Can i use stata command to plot a 3d surface graph to explain in the interaction …
Kappa statisticHello, I have 30 patients and want to compare correlation between two measures of physical activity…
Export Graphs and Charts from Stata to Word with asdocxWith the recent update of the asdocx, its users can now export Stata graphs / charts to Word files. …
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample prediction for a logit model with dummy for time effect
Post a Comment