speedTest function in multiple cores
Posted: 27 Oct 2023, 21:04
I established a mixed logit model and about 20 random parameters are set. when I use 1000 MLHS draws for these parameter, the model runs a very long time, about several days. therefore, I use the speedTest function to explore the most suitable number of cores and the seconds used in likelihood calculation keep little changed since the 3 cores, no matter the draws are 500, 1000. Does it mean 3 cores is are the most suitable cores' number? I do not understand it, because I have so many random parameters and draws and in my mind, more cores lead higher model estimation speed.