Filter löschen
Filter löschen

How to interpret the output of mle()?

1 Ansicht (letzte 30 Tage)
Andrew Pfeil
Andrew Pfeil am 12 Apr. 2018
Beantwortet: Priyank Sharma am 27 Apr. 2018
The output of mle() is two unlabeled variables. I am trying to use this function to find the parameters for a uni-variate Gaussian distribution. Which output is mean(mu) and which output is variance(sigma^2)?

Akzeptierte Antwort

Priyank Sharma
Priyank Sharma am 27 Apr. 2018
When you use 'mle()' for estimating the parameters for a normal distribution, the output is a maximum likelihood of the parameters in the distribution. For a normal distribution, the function will be executed as,
likelihood = mle(data, 'distribution', 'norm')
Here, the likelihood contains the estimation of the parameters in the distribution. For your Gaussian distribution, the first output of the likelihood refers to mean and second output refers to the variance.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by