Use known error bars in polyconf function
이전 댓글 표시
I would like to know if it's possible to add error bars (which I know the value for my experiment) to polyconf function in order to reestimate confidence bounds ?
Thanks in advance !
댓글 수: 1
Andrew Newell
2011년 2월 11일
Do you mean that you are fitting the data using polyfit(x,y,n) and you have error estimates for y?
채택된 답변
추가 답변 (2개)
Jeremy
2011년 2월 16일
0 개 추천
댓글 수: 2
Andrew Newell
2011년 2월 16일
You're welcome Jérémy! In answer to question 1: there is a theoretical explanation. See chapter 7 of "Regression Analysis by Example" by Chetterjee et al.
Andrew Newell
2011년 2월 16일
As for question 2 - I expanded the answer above.
Jeremy
2011년 2월 16일
0 개 추천
댓글 수: 2
Andrew Newell
2011년 2월 16일
I think the least squares method assumes that scatter in the measurements about the best-fitting line is due to measurement error, so there is no need to incorporate the errors explicitly. If there is some variation that is not measurement error, then the linear model needs to be revised. But I'm not a statistician.
Jeremy
2011년 2월 16일
카테고리
도움말 센터 및 File Exchange에서 Surface Style에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!