Hello,
I am currently using stata as part of my research and facing the following problem: when I run a ttest var1=var2, unpaired, I obtain slightly changing results for the same do-file. In particular the p values on all test vary. For instance taking HO var1>var2, the largest p value I got must have been 10,8% and the lowest one 9,5%. Note that these value only change when I run the entire do-file, not if I type the same command over and over.
Should I worry about my coding until the ttest or is it normal for stata to provide slightly different results? After all I am thinking than computing a p-value could involve a simulation on a number of iterations, so that results could change slightly.
Many thanks in advance!
I am currently using stata as part of my research and facing the following problem: when I run a ttest var1=var2, unpaired, I obtain slightly changing results for the same do-file. In particular the p values on all test vary. For instance taking HO var1>var2, the largest p value I got must have been 10,8% and the lowest one 9,5%. Note that these value only change when I run the entire do-file, not if I type the same command over and over.
Should I worry about my coding until the ttest or is it normal for stata to provide slightly different results? After all I am thinking than computing a p-value could involve a simulation on a number of iterations, so that results could change slightly.
Many thanks in advance!
Comment