フィルターのクリア

How to compute the hessian matrix, when I'm using a Nelder-Mead maximum optimization of a function

4 ビュー (過去 30 日間)
Hi,
I'm performing a nelder-mead optimization of a function (f), and I want to calculate the coefficient of variance matrix (COVmatrix). To do this I want to use the inverse Hessian matrix or inverse fisher information matrix. Is there an command in matlab that finds this??
Thanks!
My script:
clc;clear all; close all;
T = [1651 1640 1670 1670 1658 1668 1647 1661]; % Test data
f = @(x) -(sum(log10(wblpdf(T,x(1),x(2))))); % Function
[x,fval] = fminsearch(f,[1600, 100]) % Finds maximum values of x(1) and x(2)

回答 (1 件)

Alan Weiss
Alan Weiss 2015 年 4 月 15 日
I am not aware of anything in base MATLAB, but there is at least one Hessian calculator on the File Exchange.
Alan Weiss
MATLAB mathematical toolbox documentation
  4 件のコメント
Jacek Barszczewski
Jacek Barszczewski 2022 年 1 月 24 日
Hi Dean, I'm interested in this code. I would be very grateful!
Pedro Gardete
Pedro Gardete 2024 年 2 月 7 日
Same here! Could you perhaps share it or post it somewhere? Thank you...

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

カテゴリ

Help Center および File ExchangeSystems of Nonlinear Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by