Hi everyone -
I'm trying to use the stack command to compare the effects of the same independent variable on two different dependent variables. We're using a Hausman Taylor (HT) regression using xthtaylor, as we need to account for random effects and potential unobserved variables creating endogeneity issues.
This becomes an issue, however, when using the stack command because we can either: 1) have all the time-invariant variables show the same in both stacks, or 2) have the time-invariant variables take on a 0 depending on it's corresponding stack. When we do option 1, our coefficients are not the same as when we run the HT regression since it's not accounting for separate time-invariant variables, and 2) it gives us an error for HT saying there are no time-invariant variables in the model.
We did attempt to cluster the id variable in the HT regression with the stack (created a concatatend variable of id and stack number), which helped get us closer, but still not the same coefficients.
Our main concern is we aren't sure why the results are different than when we run the models alone (i.e., just using HT regression without stack), when compared to the version with the stack command since they should be the same.
Anyone have a solution for time-invariant variables in panel regression when using stack?
Thanks in advance for your help!
Related Posts with Issues with Time-Invariant Variables when using Stack Command in panel regression
Import excel date format instead of general numberHi, I'm importing an excel spreadsheet (downloaded/refreshed from Datastream, the data provider) bu…
report var(residual) / melogit vs. xtmixed ?l am working about cross-classified multilevel model dependent variable : immigration y/n (binary, …
Calculating Sample size for a quasi experimental designHello, I need help with calculating sample size for a quasi-experimental design (Pre test-post test …
How to count the number of missing values?How to count the number of missing values? I have a simple question I would like to know asap. How …
rename all variablesHello everyone, I am trying to rename ALL variables in my dataset. The end results are supposed to …
Subscribe to:
Post Comments (Atom)
0 Response to Issues with Time-Invariant Variables when using Stack Command in panel regression
Post a Comment