Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Making a Fit Procedure Which Satisfies:

2 visualizaciones (últimos 30 días)
Michael
Michael el 5 de Nov. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I wonder if there exists a fit procedure which satisfies (or better.. could be built):
1) Predicts Linear Relation to Data (linearity)
2) Goes through Origin (0,0) [to be clear]
3) Takes Error into account (Poisson, btw.. it would be great if there were an advantage to knowing this a priori as well.. one can dream, no?)
4) Iterative--not necessarily in the purest form of performing the fit itself.. but merely a process whose accuracy tends to increase (such as a series sum might) when 'bad' data are cut (maybe some data are taken when machinery were technically failing)
-----------------------
Does such a procedure exist? Is it already posted to file exchange? Do you know of a reference which might address these issues and know the author or title.. or both?! ;)
Thank you in advance for any advice (Or code) you may provide! If it does I'd be interested in automatically computing the chisq, residuals, uncertainties due to the fit (and data in whichever case it may apply).
Truly, Michael
-----------------------
P.S. This is more like a wishlist that I may gather elements for over a long period so please don't be shy if you can provide an answer to any portion of this question.. BUT, I am aware that polyfit0(xdata,ydata,1) [no error form assumed] does a fine job of computing the fits and errors assuming data go through the origin, even if their dof is incorrectly calculated (off by 1).
Thanks again for reading!

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by