Minimization of Chi-Square Statistic using the Simplex Algorithm
5 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!