This is the model I'm working with, some variables are int, some are num and some are factors.
Call:
glm(formula = FrecS ~ TenC + Sexo + Ori + Area + Sustrato + Enriq +
Visit, family = poisson(link = "log"), data = cdv1)
Deviance Residuals:
1 2 3 4 5 6 7 8 9 10
1.3267 -1.4264 -2.4890 -4.2093 -0.7829 3.4657 -1.6681 -2.5281 -1.2699 1.6312
11 12 13 14 15
1.1201 0.8502 3.1807 -0.1062 -0.0718
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 9.852230 0.766363 12.856 < 2e-16 ***
TenC -0.070482 0.025940 -2.717 0.00659 **
SexoM -0.831511 0.410043 -2.028 0.04257 *
OriCaptive born 0.195265 0.486110 0.402 0.68791
OriWild born -0.800144 0.565062 -1.416 0.15677
Area -0.013258 0.001539 -8.616 < 2e-16 ***
SustratoMixto 4.322735 0.617623 6.999 2.58e-12 ***
SustratoNatural 0.835887 0.450573 1.855 0.06357 .
Enriq -0.033505 0.007799 -4.296 1.74e-05 ***
Visit -0.002155 0.000240 -8.978 < 2e-16 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
(Dispersion parameter for poisson family taken to be 1)
Null deviance: 445.76 on 14 degrees of freedom
Residual deviance: 65.89 on 5 degrees of freedom
AIC: 143.32
Number of Fisher Scoring iterations: 6
How can I calculate de relative importance of the predictor variables? I want to be able to tell which of the predictors has a bigger impact on the FrecS variable. I've tried the relaimpo package in R, but it wont run if my model is not gaussian.
Can I simply state that the highest absolute value estimated coefficient is the most important predictor? Can I rank them using the p-value (lowest p-value means greatest importance)?
I've read about Wald z-statistic and Pratt index, but to be honest I'm still quite lost.
?predict), and graph the results. Gives a good visual indication of how important each predictor is. – jay Jun 15 '16 at 00:13