Fitglm error on app designer

1 Ansicht (letzte 30 Tage)
Jonathan Moorman
Jonathan Moorman am 13 Jul. 2020
Kommentiert: Anirudh Singh am 22 Jul. 2020
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 Kommentar
Anirudh Singh
Anirudh Singh am 22 Jul. 2020
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by