-
Notifications
You must be signed in to change notification settings - Fork 42
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
Indices to variables #108
Comments
Hi, thanks for your interest! Yes, I think that could be incorporated pretty easily. I have a few other things I'm working on that are a little higher priority for me, but I will circle back to this when I have the time. I'd also welcome a PR if you feel up for that. |
Hi - circling back to this (about a year later). Can you possibly expand on this a bit? Apparently it made sense to me when you opened this issue but now that I'm revisiting it I'm not actually sure what's being requested. We now support mixed effects models, which vary randomly. But I'm thinking this is something different? |
Yes, something like this, so data varying over more than one dimension and the two (possibly more, although that is more rare in practice) indices to the variables reflecting that. Personally, I though of the plm package (https://cran.r-project.org/web/packages/plm/vignettes/A_plmPackage.html), but there are others around that have similar functionality. |
Could you possibly provide an example model along with what you would expect the output to look like? |
might yield something like $$ |
Thanks, so it sounds like this is really about supporting a new model type. |
Great initiative!
Often, regression equations are reported so as to indicate the dimensions over which variables vary, like in (LaTeX)
$$
y_i=\beta_0+\beta_1x_i+u_i,
$$
typically for cross-sectional data,
$$
y_t=\beta_0+\beta_1x_t+u_t,
$$
for time series models and something like
$$
y_{it}=\beta_{0,i}+\beta_1x_{it}+u_{it}
$$
for panel data models. Could that be incorporated as an option?
The text was updated successfully, but these errors were encountered: