I have calculated a regression for an time vs. y relationship where n=193. I now need to assess if the trend observed is significant. Is there a function for that? thanks! MW

 Akzeptierte Antwort

Star Strider
Star Strider am 30 Mai 2014

1 Stimme

It depends on your regression model and function you used. There are various Statistics Toolbox functions that will produce confidence intervals on the parameters, one of which is the slope. You will need to see the documentation for the function you used to determine what you need to do to get the slope information.
If you used polyfit, then my File Exchange function polyparci can calculate the confidence intervals on the parameters.

2 Kommentare

Marina
Marina am 30 Mai 2014
thank you! I did use polyfit
Star Strider
Star Strider am 30 Mai 2014
Bearbeitet: Star Strider am 30 Mai 2014
My pleasure!
(The sincerest expression of appreciation here on MATLAB Answers is to Accept the Answer that solves your problem.)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by