stepwise regression history.B and stats.B comparison of final vectors.
Show older comments
Hi, I'm using stepwisefit on a dataset. As per the results, Matlab takes 10 steps to reach a final solution. I checked the stats.B and the history.B outputs to dig into the details. I can verify that the stats.B has only one column of data and that matches the final result (displayed) on the Command Window. However, when I look at the history.B data, I find that some of the numbers in the final vector do not match the final output. I was expecting the final vector to match across - i.e. the entire vector in stats.B should match the coeff's displayed in the Command Window (which they do) and the coeff's displayed in the last iteration in history.B (which does not). Can anyone help? Please let me know if you need more information. Ty Chet
Accepted Answer
More Answers (0)
Categories
Find more on Design of Experiments (DOE) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!