HOW TO FIND THE R-SQUARED VALUE
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
DEWDROP
el 10 de Mayo de 2020
Comentada: DEWDROP
el 15 de Mayo de 2020
Hi,
i have plotted the graph using fitlm of wikinson notation as shown here where i have forced the intercept of the fitted line to be zero. How to find out the Rsquared value directly displaced on the command window.???
Thanks in advance
0 comentarios
Respuesta aceptada
Peng Li
el 10 de Mayo de 2020
mdl.Rsquared
check https://www.mathworks.com/help/stats/linearmodel.html for properties and methods related to linear regression model.
3 comentarios
Peng Li
el 11 de Mayo de 2020
did you mean the default command window output for mdl?
but anyway you can access to it by mdl.Rsquared, and you can access to many other properties of linear regression class as well.
Más respuestas (0)
Ver también
Categorías
Más información sobre Regression 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!