Continuous-Time Modelling

Hi there,

I am trying to run the following model but I keep getting an error message saying
“Error in checkForRemoteErrors(val) :
4 nodes produced errors; first error: passing unknown arguments: chores.”
Not sure what it should be done. Wondering if you can help me troubleshooting that.

run the continuous-time model (Bayesian estimation)

options(mc.cores = parallel::detectCores())
rstan_options(auto_write = TRUE)

r2 ← ctStanFit (datalong = daytoday_datasub,
ctstanmodel = m2,
iter = 10000,
optimize = FALSE,
intoverstates = TRUE,
algorithm = “NUTS”,
nopriors = FALSE,
chains = 4,
chores = 4,
fit = TRUE,
plot = TRUE)



You set ‘chores = 4’ in the function arguments, but judging by the source code for the function you are calling and the error that you got, I think you meant ‘cores = 4’.

1 Like

Opss, I guess a very basic fix. Thanks for getting back to me!!