Dear all,
I'm working on a project in which I run a fixed-effects Poisson regression with dummy variables for panel and time. I came across the -ppmlhdfe- command, and I wonder if it's what i'm looking for. I have two questions:
1. What is the difference between running:
and running:
(besides the fact that -ppmlhdfe- is much faster?)
2. For the time variable I have 2 options: year or month.
Sholud I use just month for the fixed-effects (i.e. absorb(i.panel#i.month)), or should I use both year and month (i.e. absorb?(i.panel#i.year#.i.month))?
Thanks!
Eran
I'm working on a project in which I run a fixed-effects Poisson regression with dummy variables for panel and time. I came across the -ppmlhdfe- command, and I wonder if it's what i'm looking for. I have two questions:
1. What is the difference between running:
Code:
ppmlhdfe depvar indepvar1... , absorb(i.panel#i.time) vce(robust)
Code:
egen panel_time = group (panel time) xtset panel_time xtpoisson depvar indepvar1... , fe vce(robust)
2. For the time variable I have 2 options: year or month.
Sholud I use just month for the fixed-effects (i.e. absorb(i.panel#i.month)), or should I use both year and month (i.e. absorb?(i.panel#i.year#.i.month))?
Thanks!
Eran
Comment