fitnlm & dummy variables does not work

4 次查看(过去 30 天)
Tania
Tania 2014-6-20
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!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Scope Variables and Generate Names 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by