fitnlm & dummy variables does not work
Show older comments
Hi all, Fitnlm allows automatic creation of dummy variables, if one input the categorical predictor as a nominal or ordinal array. It worked fine for me with fitlm. But I do not understand how I know how many input arguments I get after using the automatic creation of dummy variables. As I need to specify my beta0 I need to know how many input arguments I have. Thank you!
Answers (0)
Categories
Find more on Managing Data 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!