Dear Statalists,
I am doing a parametric survival analysis in which regression coefficients change at the 3rd decimal point on wards every time that I rerun the code.
Following the recommendation on the similar cases initiated at this forum, I have already checked the "sorting" commands so that they uniquely sort the data, as well as, I have used the "stable" option of the sort command. As a result, the problem has been solved in two of the regressions, while it still persists in the third one.
These regressions show sustainable results in output:
streg pre_his_cnt c.pre_his_cnt#c.pre_his_cnt developed gatt_mem rigorous colonial earlymem effect, dist(weibull) vce(cluster id) nohr
streg pre_his_cnt c.pre_his_cnt#c.pre_his_cnt developed gatt_mem rigorous colonial earlymem effect, dist(weibull) vce(cluster id) nohr, if litigant==0
But in this one, the results change by every new run:
streg pre_his_cnt c.pre_his_cnt#c.pre_his_cnt developed gatt_mem rigorous colonial earlymem effect, dist(weibull) vce(cluster id) nohr, if litigant==1
Please note that the only difference between the third and second regressions is in the value that the dummy variable of "litigant" accepts.
I have no idea that why the code's behavior does not show symmetry toward the different values of the dummy variable.
I would appreciate any kind advice for the above issue.
I am doing a parametric survival analysis in which regression coefficients change at the 3rd decimal point on wards every time that I rerun the code.
Following the recommendation on the similar cases initiated at this forum, I have already checked the "sorting" commands so that they uniquely sort the data, as well as, I have used the "stable" option of the sort command. As a result, the problem has been solved in two of the regressions, while it still persists in the third one.
These regressions show sustainable results in output:
streg pre_his_cnt c.pre_his_cnt#c.pre_his_cnt developed gatt_mem rigorous colonial earlymem effect, dist(weibull) vce(cluster id) nohr
streg pre_his_cnt c.pre_his_cnt#c.pre_his_cnt developed gatt_mem rigorous colonial earlymem effect, dist(weibull) vce(cluster id) nohr, if litigant==0
But in this one, the results change by every new run:
streg pre_his_cnt c.pre_his_cnt#c.pre_his_cnt developed gatt_mem rigorous colonial earlymem effect, dist(weibull) vce(cluster id) nohr, if litigant==1
Please note that the only difference between the third and second regressions is in the value that the dummy variable of "litigant" accepts.
I have no idea that why the code's behavior does not show symmetry toward the different values of the dummy variable.
I would appreciate any kind advice for the above issue.
Comment