フィルターのクリア

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 Center および File ExchangeStatistics 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