Changing the confidence Interval

Is there a way to change the confidence interval from 95% to say 67% and recalculate the coefficients (with the 95% confidence bounds)? I am using the curve fitting tool for my dataset.

2 件のコメント

Matt J
Matt J 2012 年 11 月 26 日
Which curve fitting tool?
Lizan
Lizan 2012 年 11 月 26 日
編集済み: Lizan 2012 年 11 月 26 日
The MATLAB have a app called "Curve Fitting Tool". By default, the confidence level for the bounds is set to 95%. However I want to make the same fitting with a different confidence level. In a previous version this was possible, but I can't find information on how to change this with the latest version.
You can add any type of confidence level in >Tools>Prediction bounds, but that only plot predicted bounds, the P1, p2 values in the linear fit, y = p1*x + p2 are still calculated with 95% of confidence. I would like to do same calculation but not with the default set confidence value.
So basically I am using the function,
% Fit model to data.
[fitresult, gof] = fit( xData, yData, ft, opts );
to fit the data,..
Any ideas?

サインインしてコメントする。

回答 (1 件)

Shashank Prasanna
Shashank Prasanna 2012 年 12 月 14 日

1 投票

You can always save the fitted model from CFTOOL : Fit > Save To Workspace and fun the following command: confint(fittedmodel,0.67)

カテゴリ

ヘルプ センター および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

質問済み:

2012 年 11 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by