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


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 三维空间:产品设计或CAX软件使用 » CAD/CAM/CMM » SPC质量控制
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-09-05, 08:57 PM   #1
huangyhg
超级版主
 
huangyhg的头像
 
注册日期: 04-03
帖子: 18592
精华: 36
现金: 249466 标准币
资产: 1080358888 标准币
huangyhg 向着好的方向发展
默认 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.
__________________
借用达朗贝尔的名言:前进吧,你会得到信心!
[url="http://www.dimcax.com"]几何尺寸与公差标准[/url]
huangyhg离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】error c2664 yang686526 DirectDWG 0 2009-05-05 09:34 AM
【转帖】ambiguous call to overload functions in odstring.h yang686526 DirectDWG 0 2009-05-04 03:56 PM
【转帖】哪位高手指点一下下边lisp的怎么用 yang686526 数据库ObjectDBX 0 2009-04-28 12:13 PM
哪位高手指点一下下边lisp的怎么用 yang686526 ObjectARX(AutoLISP) 0 2009-04-26 06:19 PM
【转帖】length width macro yang686526 SolidWorks二次开发 0 2009-04-12 09:33 PM


所有的时间均为北京时间。 现在的时间是 09:12 PM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多