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
Expand data with estimated fixed effects #144
Comments
Hi and thanks for your kind words! Indeed, this is not possible currently. That's because the use case is fairly limited so I didn't implement it. But maybe you've found a solution by now? |
Yes, I did manage to find a way. Here is the code I use in case it can be useful for someone else (even though I am still learning my way around R)
It seemed to work for me, but I am not sure how general this solution is. Thanks for following up and thanks again for a great package. |
Thanks so much for your work Laurent!
I am estimating a Poisson regression with several fixed effects and could not find a method to extract each fixed effects and merge them with their observation.
The function fixef extracts the FE but I could not find a way to merge them back to the initial dataset.
Am I missing something? Is there a simple way to assign the correct FE to each observation? It does not seem easy with the current format of the output of fixef.
Thanks very much
The text was updated successfully, but these errors were encountered: