Change removal p value of stepwise logistic regression in JASP?
Hi All,
When I used stepwise logistic regression in JASP, I noticed that the last fitted model (i.e., I have 8 models, the 8th model) is not always the best model: the p value of the whole model is higher than 0.05, and the p values of several predictors are higher than 0.05. This makes me a bit confused: Because in stepwise linear regression, the last one is always the best one, both the p value of the whole model and the p value of each predictor is lower than 0.05. Also, I don't see the option of "Method Specification" as in linear regression to give the chance to change the removal p value. So, my question are:
- Is it possible to provide the option of " Method Specification" for stepwise logistic regression, as in stepwise linear regression, so that we can constrain the p value level of each predictor to be lower than 0.05, making the features selection be automatic?
- Is the module of logistic regression in JASP not fully automatic now? Do we have to check the p value of each model, each predictor manually, to remove the "insignificant p value based" predictors, and gradually decide which model we should choose?
Thank you very much,
Best regards,
Jian
Comments
Hi Jian,
sorry for the delayed response! Here is an answer to your two questions and a more general answer:
In general, we are not fans of stepwise procedures for regression, there are several problems with it and it changes the statistical properties of the parameters. For example, it makes the p-values hard to interpret (see, for example, this excellent answer on stack exchange: https://stats.stackexchange.com/questions/179941/why-are-p-values-misleading-after-performing-a-stepwise-selection) and there are few protections against overfitting (but at least the AIC has a penalty for the number of parameters -- p-value selection is even worse in my opinion).
Erik-Jan
Hi Erik-Jan,
Thank you for your answer and very sorry for my delayed reply.
Jian