Re: bump
Close enough.
1. In principle, you shouldn't decide on an interval size first, and determine n later, on the fly. Instead, determine a (large) sample size first, then construct the interval. But this isn't a biggie. Technically it would induce a bias, but it'd be so small you'd never notice.
2. If you know the output only takes on two possible values, you should use a slightly different sample variance formula. (In effect, divide by n instead of n-1.) Again, this isn't a biggie. When n is large, it is roughly equal to n-1.
alThor
|