So, my stopping rule got a little contorted through all the various machinations of my variance. Fortunately, I had it right in the code all along, I just transcribed it badly when going from the confidence interval to the stopping rule (basically, I stop when the confidence interval is sufficiently narrow).
For starters, we have:
Stated as an alpha-risk, that's
Since the denominator is always positive, this implies
so, collecting all the stuff that changes each sample on the left, we stop when
No comments:
Post a Comment