-
Notifications
You must be signed in to change notification settings - Fork 91
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
Error plotting interactions in fixed effects models (plm) #594
Comments
This looks like an issue in plm, not sjPlot. |
Bump. I have same exact question. Have not been able to resolve |
There is now support for predict for plm's within models in the development version available here: https://github.com/ycroissant/plm As the within case is special, one likely wants to input a pdata.frame and not a plain data frame; the help page ?predict.plm has the details. |
For models produced by |
Hello,
I'm encountering an error when trying to plot interactions from plm fit objects, specifically for models with fixed effects included. Here's an MWE with twoway fixed effects:
I get the same error if I use only individual-level fixed effects. The error disappears and the effect plots correctly if I switch to a pooled model in the plm specification (model="pooling"), but that of course defeats the purpose of estimating a panel model.
I'm using the most recent versions of both packages.
Brandon
The text was updated successfully, but these errors were encountered: