Estimation of parameters for a non-linear model

33 ビュー (過去 30 日間)
AwedBy Matlab
AwedBy Matlab 2013 年 10 月 22 日
回答済み: AwedBy Matlab 2013 年 10 月 23 日
Hi everyone,
I have a model that relates the average reaction time and error rate from an experimental session, with two free parameters, a and b:
ER=1/(1+a*(lnRT)^b )
I'm a bit confused by the multitude of ways to do the estimation of a and b. What's the simplest/reliable way to do it?
Many thanks!
  2 件のコメント
Matt J
Matt J 2013 年 10 月 22 日
Which way do you consider complicated?
AwedBy Matlab
AwedBy Matlab 2013 年 10 月 22 日
for instance after reading the help of fminsearch..

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

採用された回答

Jonathan LeSage
Jonathan LeSage 2013 年 10 月 22 日
If you're using MATLAB 2011b or newer, you likely have access to the Curve Fitting app. If you have this tool installed, you can open it by typing cftool. This tool allows you to import your data and then define a custom equation to fit. Once you've imported your data, you can select "Custon Equation" from the fit type menu and define you're own equation to fit. The cftool is probably the most straightforward method for fitting nonlinear curves to experimental data. Here is a link to an introduction to the product and an example.
Another option is to use the lsqcurvefit function to perform a nonlinear least squares fit of your custom defined equation using your data. Here is an example of this function being used:
Hopefully this helps to get you started!

その他の回答 (1 件)

AwedBy Matlab
AwedBy Matlab 2013 年 10 月 23 日
Thanks very much Jonathan.

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by