I understand that this question was asked multiple times, but none received a satisfying answer. I am quite new to using R (transitioning from Stata) and I would like to know whether marginal effect calculation is possible for plm model?
If not, how do you go about this issue to calculate marginal effect? One thought I had is to use lm model and include factor("group_id") and factor("year"). However, it really isn't a feasible solution given the large sample size (cannot allocate vector of enough size) to run the code.
I am hesitant to use Stata just for the margins and margins plot command. Any help would be appreciated.
Thanks.