フィルターのクリア

Covariance terms using fitdist()

5 ビュー (過去 30 日間)
Clay Robertson
Clay Robertson 2018 年 1 月 17 日
回答済み: Bernhard Suhm 2018 年 1 月 21 日
Hello,
I'm using the following to produce a distribution:
a = random('normal',10,1.5,1e3,1); pd = fitdist(a,'normal');
The the field pd.ParameterCovariance is a 2x2. The pd.ParameterCovariance(1,1) is cov(a)/numel(a). What is the pd.ParameterCovariance(2,2) the covariance of? And how can I calculate this without using the fitdist() function?
Thank you for the help.

採用された回答

Bernhard Suhm
Bernhard Suhm 2018 年 1 月 21 日
pd.ParameterCovariance(2,2) is the covariance of the variance of the estimated normal distribution.
See https://www.mathworks.com/help/stats/prob.normaldistribution.html:
Covariance matrix of the parameter estimates, specified as a p-by-p matrix, where p is the number of parameters in the distribution. The (i,j) element is the covariance between the estimates of the ith parameter and the jth parameter. The (i,i) element is the estimated variance of the ith parameter.

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by