search for: likegi

Displaying 1 result from an estimated 1 matches for "likegi".

Did you mean: like
2011 Nov 29
2
Parameters setting in functions optimization
...correct settings for function like "optimx" and "nlminb". I'd like to minimize my parameters and the loglikelihood result of the function. My parameters are a mean distance of dispersion and a proportion of individuals not assigned, coming from very far away. The function LikeGi reads external tables and it's working as I want (I've got a similar model on Mathematica). My "final" function is LogLiketot : LogLiketot<- function(dist,ms) { res <- NULL for(i in 1:nrow(pop5)){ for(l in 1:nrow(freqvar)){ res <- c(res, pop5[i,l]*log(LikeGi(l,i,di...