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

 채택된 답변

Star Strider
Star Strider 2014년 5월 30일

1 개 추천

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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2014년 5월 30일

편집:

2014년 5월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by