How can I fit my data with variance of each data point? I know someone recommend using weight setting, but how? Since a large variance might corresponds to a large uncertainty, I can't simply use variance for weight. What is much more reasonable in terms of mathematics?

답변 (1개)

John D'Errico
John D'Errico 2022년 7월 5일
편집: John D'Errico 2022년 7월 5일

0 개 추천

Why cannot you just use variance for weight? In fact, that is essentially what you DO want to do. The weight on a data point will be the inverse of the square root of the variance. So a high variance translates to a low weight on that point. This is exactly what a weight is, and how it will be interpreted.

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2022년 7월 5일

편집:

2022년 7월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by