Reputation: 561
I would like to assess the performance of each predictor in a logistic regression model (mymodel1). These are the significance scores of the predictors and all the values are < .05. It means all predictors are significant (equally important??). How do I get a measure of importance/ information gained from each?
z <- summary(mymodel1)$coefficients/summary(mymodel1)$standard.errors
p <- (1 - pnorm(abs(z), 0, 1)) * 2
p
(Intercept) alpha beta gamma theta
2 0.000000e+00 0.000000e+00 0.000000e+00 0 0
3 0.000000e+00 0.000000e+00 0.000000e+00 0 0
4 2.644718e-05 4.905187e-11 7.112932e-06 0 0
5 0.000000e+00 0.000000e+00 0.000000e+00 0 0
6 0.000000e+00 0.000000e+00 0.000000e+00 0 0
Upvotes: 0
Views: 554
Reputation: 202
In order to determine predictor performance (otherwise known as feature importance) you can consider shuffling the values of each of your predictor variables across the samples (essentially creating a random variable)...
Essentially you have just determined the variable which contributed the most information to the model by "removing" it.
Upvotes: 0
Reputation: 113
There is a lot of debate around this topic; it is really hard to vote on one method over the other. Nevertheless, I list some of the methods that are being used to assess the contribution from individual predictors.
Higher the absolute value higher the contribution. I have seen the following form as well
= Abs.Value of standardized Co.Eff/ Sum (Abs. Value of all Standardized Co.Eff)
Higher the chi square value, higher the contribution. However, chi square value would not tell anything about the magnitude.
You run the regression with a single predictor and compare the log-likelihood value (-2LL) with the full model log-likelihood.
Note: These are all approximations and I have not come across a rigorous method to calculate the contribution from predictors
Upvotes: 1