Is it possible to do regressions in R using a panel dataset with a binary dependent variable? I am familiar with using glm for logit and probit and plm for panel data, but I'm not sure how to combine them. Are there any existing code examples?
Thanks.
EDIT
It would also be useful if I could figure out how to extract the matrix that plm () uses when it performs regression. For example, you can use plm to perform fixed effects, or you can create a matrix with the corresponding dummy variables and then run it through glm (). In this case, however, the creation of the mannequins themselves is annoying, and it would be easier if plm did it for you.
Aviila
Abiel source share