]>
The experiment is to select a random sample of size from a specified distribution, and then to construct an approximate confidence interval for the standard deviation at a specified confidence level.
The distribution can be chosen with a list box; the options are
In each case, the appropriate parameters and the sample size can be varied with scroll bars. The probability density function, mean, and standard deviation of the selected distribution are shown in blue in the first graph.The confidence level can be selected from a list box, as can the type of interval--two sided, upper bound, or lower bound. The interval can be constructed assuming either that the distribution mean is known or unknown. In the first case the pivot variable has the chi-square distribution with degrees of freedom; in the second case the pivot variable has the chi-square distribution with degrees of freedom. The density and the critical values of are shown in blue in the second graph.
Random variables and denote the left and right endpoints of the confidence interval and indicates the event that the confidence interval contains the distribution mean. The theoretical probability density function of is shown in blue in the third graph.
On each update, the sample density and the confidence interval are shown in red in the first graph, and the value of is shown in red in the second graph. Note that the confidence interval contains the mean in the first graph if and only if falls between the critical values in the second graph. The third graph shows the proportion of successes and failures in red. The first table records , , , and . The second table shows the current sample. Finally, the third table gives the theoretical and empirical probability density functions of .