relaimpo and plm in R


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.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.