How to find uncertainties in the coefficients of polyfit
Mostrar comentarios más antiguos
How to find uncertainties in the coefficients of polyfit
Respuestas (2)
Star Strider
el 4 de En. de 2024
1 voto
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.
Try this:
[P,S,MU] = polyfit(x,y,N)
[y,DELTA] = polyval(P,x,S,MU) % this will give you the error
2 comentarios
Chris Martin
el 25 de Nov. de 2014
Riccardo
el 8 de Oct. de 2022
I too am looking for an answer to this!
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!