testing significan linier trend
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Raodah Jabir
am 22 Sep. 2017
Kommentiert: Raodah Jabir
am 22 Sep. 2017
If I want to find out whether or not there is a significant non-zero trend in these data, would I use the regress(y,X) function? Here's an example of what I'm doing:
if true
% code
end
load Tmks.txt
time = Tmks (:,1);
suhu = Tmks (:,2);
alfa= 0.05;
[b,bint,r,rint,stats] =regress (time,suhu,alfa);
X = ones (size(time));
[b,bint,r,rint,stats] =regress (time,suhu,alfa);
how to get the significant trend ? thank you
-odah-
0 Kommentare
Akzeptierte Antwort
Brendan Hamm
am 22 Sep. 2017
If you are using a version equal to or later than 2013b than you can use the fitlm function which prints the relevant t-statistics.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Testing Frameworks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!