Negative log likelihood for the unifrom distribution

3 ビュー (過去 30 日間)
Young Jin Kang
Young Jin Kang 2016 年 7 月 7 日
編集済み: Young Jin Kang 2016 年 7 月 7 日
I want to calcaulte the negative log likelihood using "negloglik" function. But, the MATLAB gives an error message, Undefined function 'negloglik' for input arguments of type 'prob.UniformDistribution'.
How can calculate the negative log likelihood value for uniform distributions in MATLAB?
(My code)
pd=makedist('uniform','lower',100,'upper',200);
NLL=negloglik(pd)
  • Undefined function 'negloglik' for input arguments of type 'prob.UniformDistribution'.*

回答 (0 件)

カテゴリ

Help Center および File ExchangeProbability Density Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by