Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance documentation with information what happens with time-invariant dummy variables #19

Open
hannes101 opened this issue Jul 2, 2019 · 2 comments

Comments

@hannes101
Copy link

I am estimating a within-between model, where the industry classification of a company is stored as a factor variable and has the four levels (Downstream, Midstream, Upstream, Support Services). I just add the variable to the time-invariant portion of the regression formula.
In the resulting output the first level Downstream is dropped and I am now wondering if I need to interpret the coefficients as relative to Downstream?
I hope it's clear what I am asking, perhaps I also need to create dummy variables for each of the industry classifications, but I think the use of a factor variable should be supported, or?

@jacob-long
Copy link
Owner

Yes, your interpretation is correct. It is similar to the interpretation you'd have if you included a factor variable in a simple linear regression (i.e., in lm()).

I cannot support suppressing the intercept as a way to include every factor level in the output because the within-between model requires a random intercept.

@hannes101
Copy link
Author

Thanks a lot! I forgot about the random intercept, since I only used FE in the past. Coming from Economics it's quite unusual to use Random Effects or even Within-Between models, but there's a paper in the works, which is using it :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants