Fitglm error on app designer

1 回表示 (過去 30 日間)
Jonathan Moorman
Jonathan Moorman 2020 年 7 月 13 日
コメント済み: Anirudh Singh 2020 年 7 月 22 日
Hi! I'm working on app designer, and trying to make a logistic binomial model of the probability of yHat as a function of Factored Crack Length, using a two-way interactions model. My code is below:
Data = [FactoredLengthColm, yHatColm];
tbl = array2table(Data);
modelspec = 'yHat ~ FactoredLenth';
mdl = fitglm(tbl,modelspec,'Distribution','binomial')
I continue to reviece the errors: .... Am I missing something in my code?
  1 件のコメント
Anirudh Singh
Anirudh Singh 2020 年 7 月 22 日
According to the error, this error comes because "modelspec " does not able to find out 'yHat ~ FactoredLenth'.
I thought you have to use "FactoredLenthColm" instead of "FactoredLenth" same for "yHat" you need to use "yHatColm".
I hope this might resolve the error.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by