Code:
parallel setclusters 4
Code:
xtreg growth ind_VEI_30 ind_VEI_200, fe cluster(id_country)
[ATTACH=CONFIG]temp_24877_1637876012693_540[/ATTACH]
However, when I run it in parallel, either using:
Code:
parallel: xtreg growth ind_VEI_30 ind_VEI_200, fe cluster(id_country)
Code:
parallel do mydofile.do
[ATTACH=CONFIG]temp_24875_1637876065913_388[/ATTACH]
The difference comes from the fact that when I run in parallel I lose a bunch of observations for some unknown reason to me (from 2,631,520 to 495,402). Am I doing something wrong, that's why I am running into this issue or this is indeed very weird? Every single time I tried I ran into this problem, even though my clusters exited without errors.
It is very important to me understand what is going on, because although I can run these xtreg regressions without using parallel, it is unviable for me to do so when using the ols_spatial_HAC package. So thanks in advance for your help!
0 Response to Issues with Parallel Computing and xtreg
Post a Comment