problem with stepwiseglm selected features pvalues
1 view (last 30 days)
Show older comments
I'm using the following line for stepwiseglm
glm_model = stepwiseglm(chosen_features,idx,'constant','Distribution','binomial','upper','linear','PEnter',0.1, 'PRemove',0.15,'Criterion','aic');
I've set the Penter and Premove so that I can choose the pertinent features, however when the model is trained the feature pvalues are not within range, in fact I have PVALUES LIKE 0.3 in my model.
The only other thing I can think of is that there is 70% to 30% prevalence between my o and 1 classes.
Anyone has an idea?
0 Comments
Answers (0)
See Also
Categories
Find more on Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!