필터 지우기
필터 지우기

HOW TO FIND THE R-SQUARED VALUE

조회 수: 3 (최근 30일)
DEWDROP
DEWDROP 2020년 5월 10일
댓글: DEWDROP 2020년 5월 15일
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

채택된 답변

Peng Li
Peng Li 2020년 5월 10일
mdl.Rsquared
check https://www.mathworks.com/help/stats/linearmodel.html for properties and methods related to linear regression model.
  댓글 수: 3
Peng Li
Peng Li 2020년 5월 11일
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.
DEWDROP
DEWDROP 2020년 5월 15일
yes.i meant the default command window output

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Model Building and Assessment에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by