-
Notifications
You must be signed in to change notification settings - Fork 21
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
Explore plm
interoperability
#9
Comments
I was going to suggest the same thing. |
I'm happy to see a package that tries to bring sanity to working with panel data with R. I come from Stata, where panel data is pretty straightforward, and where the user can quickly replicate papers by using just a few commands like
Most of the packages cited above are cited in Achim Zeileis' CRAN Task View for Econometrics, in the "Panel data models" (which mentions another panel data implementation, I'd really love to see some package that would simplify the package landscape for the user, while at the same time making it more obvious how to replicate Stata code/results with R (which seemed to have been part of the rationale behind the Please let me know how I might be able to help. For background, I worked on a S4 class for panel data some years ago, but the package was more of an experiment than anything else. I also contributed a few things to Inviting @strengejacke and @alexpghayes to the conversation, just in case. P.S. I'm leaving out the correspondence that exists between panel-data-models-as-understood-by-econometricians (with its horrendous FE/RE terminology) and mixed-effects-models, as understood by everyone else, but it exists and helps understanding pooling and shrinkage, i.e. what is really going on under the hood: see this brilliant recent blog post by @m-clark. |
My impression is that panelr is a kind of "wolf in sheep's clothing", as it comes around looking like a "fixed-effects"-regression modelling package, while it's actually a mixed effects model that can incorporate random slopes, time-invariant covariates or the grouping factor as random effect. ;-) - this was my impression at least for the Not sure if these kinds of models are available out-of-the-box in Stata, though. Anyway, the package-syntax and API looks clean and straightforward (and maybe it helps econometricians fitting less flawed models ;-) and I'll check how to add "interoperability" (support) with sjPlot and ggeffects, and probably also some easystats-packages. |
Thanks @strengejacke, and thanks for mentioning easystats – I did not know you had your own tidymodels-like initiative running! |
I should mention, then, that part of my motivation/inspiration for
Seeing
And just to add to the fun, I maintain two packages which partly duplicate this functionality.
Yes,
Good idea. This was something I had been thinking about early on but got away from it over time as I completed my collaboration with a Stata user.
You could say that 😃 . Of course I think the lesson we learn from such models is that fixed effects models were just random effects models all along, which were themselves multilevel models.
|
Coming back to the initial topic: The issue of a good panel data format is a thing in R. Python has
Update: Update 2: |
I'm not looking to remake
plm
or anything like that, but I'd like to see if it's possible to provide a method for convertingpanel_data
objects intoplm
's data format. There might also be some tools inplm
that I don't need to remake but would be useful to import into this package.The text was updated successfully, but these errors were encountered: