Fitglm error on app designer
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Anirudh Singh
el 22 de Jul. de 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.
Respuestas (0)
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!