Nothing
lifetime.mle <-
function(dat, minusloglik, starts, method = "BFGS",hessian = TRUE,...)
{
call=match.call()
f = function(p) {
minusloglik(dat,p)
}
oout = optim(starts, f, method = method, hessian = hessian,...)#,control=list(trace=T))
coef = oout$par
#browser()
if(hessian)
{
vcov =solve(oout$hessian)
}else{
vcov=NULL
}
min = oout$value
invisible(list(call = call, coef = coef,vcov = vcov, min = min,dat=dat,minusloglik=minusloglik))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.