Displaying 1 result from an estimated 1 matches for "tp4647787".
Did you mean:
tp4647287
2012 Oct 29
0
why isn't integrate function working in a likelihood
...on
lik<-sum(loglik1+loglik2)
-lik
}
initial<-c(1,1,1)
t<-nlm(ll,initial)
Error in integrate(integrand, 0, Inf) : non-finite function value
ll(c(1,1,1))
[1] 26.65748
--
View this message in context: http://r.789695.n4.nabble.com/why-isn-t-integrate-function-working-in-a-likelihood-tp4647787.html
Sent from the R help mailing list archive at Nabble.com.