Minimization of Chi-Square Statistic using the Simplex Algorithm

5 ビュー (過去 30 日間)
BBB
BBB 2021 年 4 月 3 日
回答済み: Jeff Miller 2021 年 4 月 4 日
Hi,
I am working on a model fitting project in which I want to estimate the best fitting parameters of my computational model (3 key parameters of interest) using the chi-square goodness of fit test and to do so want to minimize the chi-square statistic for parameter estimation, using the simplex optimisation algorithm. Can some one help me by explaining how we can perform this in Matlab? Can we use the optimisation toolbox GUI for it? if so how (or where can I find the instructions)?
Secondly, are there any other parameter optimization algorithms we could use for such model fitting and best fit parameter estimation processes, when using chi-square goodness of fit?
Thanks in advance for your help!

回答 (1 件)

Jeff Miller
Jeff Miller 2021 年 4 月 4 日
One way to proceed is to write a function which accepts a vector of values for your three parameters, and returns the chi-square value computed using those parameter values. Then you use fminsearch to minimize that function. fminsearch will try different values of the parameter values and do the best it can to minimize the value of chi-square. There are no guarantees of finding the best parameter values this way, but it is a common approach when it is too hard to minimize the chi-square mathematically.
There are other methods too, but fminsearch is usually the simplest. Look here for a little more detail.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by