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
Exact matching on Propensity Score MatchingDear Stata Forum, I’m trying to perform a Propensity Score Matching with exact matching but found m…
PPML and fixed effects commandsGood evening, guys. I'm currently working on a gravity model with PPML estimator. Here is the thread…
Converting Stata version 16 to Stata version 12 with Stat/Transfer in LinuxDear Forum Members, I have some Stata version 16 data files, which I would like to convert to Stata…
post and postfile help after regressionI am running a simple regression repeated for ~1,000 variables in a loop. I would like to capture th…
reshape errorHi, I am trying to reshape from wide to long, but it keeps saying that "variable id does not uniquel…
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample prediction for a logit model with dummy for time effect
Post a Comment