几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SPC质量控制 (http://www.dimcax.com/hust/forumdisplay.php?f=180)
-   -   how to evaluate the different fitting function for a set of (http://www.dimcax.com/hust/showthread.php?t=20395)

huangyhg 2009-09-05 08:57 PM

how to evaluate the different fitting function for a set of
 
how to evaluate the different fitting function for a set of
i fit a set of data (around 10 points) with several polynomial functions. all of them are fitting well with similar coefficient of correlation. i want to compare these functions and choose a best one.
are there some other parameters or methods can be used to compare the effects of these fitting function?
thanks in advance.
no, there are not.
unless you have some other theoretical basis, you should simply pick the simplest one
ttfn
an anova table will show which one of the curves is a significant fit to the data. it may show you that the signifcance of a linear fit is hardly any different to a quadratic fit, for example. in that case choose the linear fit.
corus
is their any way to obtain a few more data points? let's say that you have data points x=-15, -10.5, -.75, 0, 5.25, 8.3. is there any way that you can get at least 4 more data point, say x=-25, -5, 2, 20? if so, take each of your "fitting functions" and predict the y value for the new x points. this may halp you determine which function actual represents your physical system the best.
what are the polynomial functions?
as a general rule, higher order polynomials will fit the same curve as a simpler one, but will more bumps and wiggles that are not physically meaningful.
ttfn
in some cases a so called "penalty" function is introduced to reduce one's strive to include too many parameters for a better fit: the purpose of a best fit procedure is to describe your data as good as possible but with as little parametra as possible. so with each additional parameter that makes a better fit you are more far from the basic idea, why you are doing best fit and at the end you have a perfect fit but you have as many parameters as you have the data points, so what is the use of it!
in nonlinear best fit procedures a criterium (one among others) that has been widely adopted is so called aikake information criterium (aic)and is ussually calculated as aic=-2*(log(-likelihood))+2*(number of parameters in the model).we select the model with the smallest aic.
m777182
try the ks test very simple and easy to use
try a variation on bootstrapping. when testing the sensitivity of a linear fit previously, i have used this to good effect.
with such a small number of data points, just remove a single point, and recalculate the fit. if the curve fit is good, then removing a single data point should not alter the fit greatly. you can try removing each of the data points to see what effect they have on the fit returned. what you are doing really is determining how sensitive your fit is to the data you have used to create the fit.
an example of this would be a linear fit on a tight cluster of points, with one outlier well outside the cluster. if you calculate a linear fit on this, you get r squared close to 1, but if you then remove that outlier, the descriptors (slope and intercept) change majorly, as does the fit quality.
this method is quite good at testing fitting graphically, and requires very little knowledge of statistics.


所有的时间均为北京时间。 现在的时间是 02:08 AM.