constrained maximum likelihood matlab code

6 ビュー (過去 30 日間)
Zack
Zack 2012 年 4 月 10 日
Hi,
I would like to convert a GAUSS code using the CML liberary (constrained maximum likelihood) into Matlab code but I can't find the corresponding fonction in Matlab (The only one I've found is MLE)
I need some help please
Thanks

回答 (1 件)

Tom Lane
Tom Lane 2012 年 4 月 10 日
If you have the Optimization Toolbox, type "help fmincon." It does general minimization with constraints. You supply the negative likelihood or log-likelihood function for the problem you're trying to solve.
If you have only the Statistics Toolbox, there is no general-purpose constrained optimization function available. You can sometimes reformulate a problem to get rid of the constraints, but not always.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by