marginal.mle function

Method for obtaining the marginal distribution of an MLE that is based on asymptotic assumptions: