Displaying 2 results from an estimated 2 matches for "simclust".
Did you mean:
sigclust
2005 Aug 04
1
Where the error message comes from?
...Below is the program that simulates data from one way random effects
model and then computes normality and bootstrap confidence interval for
Cost-Effectiveness Ratio.
I have pasted the message in blue.
I appreciate any guidance in figuring it out.
Ashraf
#### SIMULATING DATA #####
SimClust <- function(k,m,mu,sb2,sw2,r,z) {
#set.seed(1234)
# k = Number of groups
# m = Group size
# mu = Group mean, same for all groups
# sb2 = Between group variance
# sw2 = Within group variance
# r = Corelation coefficient
# z = standard normal variate cutoff value for binomial...
2007 Feb 02
1
Snow Package and R: Exported Variable Problem
...hers. I start the simulation on one node,
create a cluster of several nodes, load my custom package and snow on
all of them, use clusterExport(cl, "x1") to export the variable
x1(among other variable I need), then I call my simulation on the
cluster using clusterApplyLB(cl, 2:S, simClust) where cl is the
cluster and S is a constant defined above as 500. Using print
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&q...