how to calculate MLE Suppose that X1 Xn form a random sample
how to calculate MLE?
Suppose that X_1..., X_n form a random sample from a distribution for which the density function is as follows: f(x) = 1/2 e^-|x - theta|, with - infinitySolution
Using mle command, we can calculate \'Mean likelihood estimation\"
fun = @(x) (1/2)*e^(-x)
res_mle = mle(10,\'pdf\',fun,\'cdf\',fun,\'start\',[-1,1])
disp(res_mle)
