Displaying 1 result from an estimated 1 matches for "loglikelelihood".
Did you mean:
loglikelihood
2007 Feb 02
1
Snow Package and R: Exported Variable Problem
...rint
statements (since snow, or R for that matter, has next to no ability
to debug) I found that the error cropped up in this statement:
theta6 = optim(c(0,0,0,0,0,0,.2), loglikelihood, scrore6, method =
"CG", control=list(fnscale=-1,reltol=1e-8,maxit=2000))$par
Both the functions loglikelelihood and score6 use x1, but I know that
it is getting exported to the node correctly since it gets assigned
earlier in the simulation:
x1 = rep(0,n1)
The error I stated above happens fo every itteration of the simulation
(499 times) and I'm really at a loss as to why its happening and what...