stepwise logistic regression using statistics toolbox
Show older comments
The response y in "stepwiseglm" has to be one column vector?
I found that the response y in "glmfit" can be two column matrix with the first column indicating the number of successes for each observation and the second column indicating the number of trials for each observation.
My response y is in format [successes; num of trials] and I want to use "stepwiseglm". How can I do that? Thank you so much!
Boyi
Accepted Answer
More Answers (0)
Categories
Find more on Logistic Distribution 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!