fitnlm & dummy variables does not work

3 views (last 30 days)
Tania on 20 Jun 2014
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!