maximum likelihood estimation numerical example