I am trying to perform a relative importance analysis on a unbalanced panel dataset on R using the relaimpo package ('lmg method).
As I want to control for fixed unobserved effects, I estimated a two ways panel regression model using plm. When I then try to run the calc.relimp funtion with the model, the following error message appears:
Error in calc.relimp.default.intern(object = list(coefficients = c(EAI = 0.0130110248407267, :
If x is NULL, then object must be a data frame or a matrix.
Can anyone please help me? Is it not possible to use the calc.relimp function with fixed effects model? Thank you.