How to find uncertainties in the coefficients of polyfit

Risposte (2)

An earlier version of my polyparci function already existed when this question originally posted. It calculates the confidence intervals on each parameter.
I just uploaded a significant upgrade to the original version that now additionally returns the probabilities for each parameter.
aneps
aneps il 24 Nov 2014
Modificato: aneps il 24 Nov 2014
Try this:
[P,S,MU] = polyfit(x,y,N)
[y,DELTA] = polyval(P,x,S,MU) % this will give you the error

2 Commenti

actually i need the uncertainty associated with the determination of coefficients, ie i need the uncertainty associated with m, of y=mx+c
I too am looking for an answer to this!

Accedi per commentare.

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Centro assistenza e File Exchange

Richiesto:

il 24 Nov 2014

Risposto:

il 4 Gen 2024

Community Treasure Hunt

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

Start Hunting!

Translated by