Robust regression in matlab
조회 수: 3 (최근 30일)
이전 댓글 표시
I did robust regression in matlab. The thing is I can't display the correlation coefficient in my graph as (R^2 = ??). Can you help me with that? here is the regression part which am working on.
for ss =1:size(R,2);
[bls,sts] = robustfit(R(:,ss),f(:,ss));
scatter(R(:,ss),f(:,ss),'filled');
plot(R(:,ss),bls(1)+bls(2)*R(:,ss))
end;
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!