필터 지우기
필터 지우기

Errors with fit parameters and correlation coefficient

조회 수: 2 (최근 30일)
aditi
aditi 2020년 3월 5일
I am doing spearman linear fit using the code structure given below. It gives me m (slope), c (intercept), correlation coefficients (r, p).
I want standart errors for all these parameters. Can anyone please help me...
m=load('testy.txt');
n=m(:,1);
ne=m(:,2);
o=load('testx.txt');
p=o(:,1);
E = linspace(min(p),max(p),500);
[r,pe]=corr(p,n,'Type','Spearman')
p4 = polyfit(p,n,1)
f4 = polyval(p4,E);

답변 (0개)

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by