How to interpret the output of mle()?
2 views (last 30 days)
Show older comments
Andrew Pfeil
on 12 Apr 2018
Answered: Priyank Sharma
on 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)?
0 Comments
Accepted Answer
Priyank Sharma
on 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.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!