Displaying 1 result from an estimated 1 matches for "minusloglfun".
2006 Oct 31
0
help with extended mle package?
...Peter Dalgaard about the mle() function in the stats4 package --
in particular, I wanted it to have a data= argument so that
parameters could be estimated for different sets of data with
the same minuslogl function: Peter disagreed, suggesting that
a function-defining-function (e.g. something like
minusloglfun <- function(data) {
with(data,
function(param1,param2) {
[negative log-likelihood expression]
})
) was a good solution.
I also had some confusion/misunderstanding about the differences
between the fullcoef and coef slots within the mle object.
Since then I've do...