When investigating statistical methodology using simulation, the following strategy is almost always used. Choose several completely specified statistical models, generate hundreds or thousands of data sets from each model, apply the methodology to every data set, and then summarize the results. Usually some effort is made to choose models that represent a variety of model types, although this is often hard to do when only four or five models are considered. Having selected models, one hopes to show that one method is better than another for most if not all the models considered. However, even when Method A works better than Method B in all cases considered, there is a nagging doubt that one has failed to look at all the relevant models, and there might still be cases where B is better than A.
In this article a different simulation strategy is advocated. The idea is to generate one data set (or at most a few data sets) from each of hundreds or thousands of models that are randomly selected from a prior. We call such an approach BayesSim. Given an appropriate loss function, one may generate BayesSim output to estimate the Bayes risk of each method of interest and then use these estimates as at least part of a basis for choosing amongst methods. Such an approach was used in a simulation study of  . One may also use the output of BayesSim to estimate local risk of estimators. This is done by grouping output by model similarity, and then computing average loss within groups. An example of this approach may be found in  .
The basic idea considered in this article is not new. It was proposed by  , who suggested that BayesSim be applied to study the Bayesian coverage pro- bability of interval estimates in the setting of parametric models. The article  proposes a comprehensive Bayesian approach in which parameters are generated from a prior and simulated data are analyzed using Bayesian methodology. One might then ask: “What is new in the current article, and/or what is the point of the current article?”
・ A main purpose of the current article is to bring to the attention of statisticians methodology that seems to be unfamiliar to them, but which nonetheless could make their simulations more efficient and informative.
・ The articles of  and  seem to be the exceptions proving the rule that BayesSim is greatly underutilized. The authors of  stated of their work: “We hope that it will stimulate readers to learn more about this important subject, and also encourage further research in this area.” Unfortunately, their article seems not to have stimulated statisticians, and the current article is another effort to do so.
・ The work of  and  focuses on parametric models. With the current interest in Bayesian nonparametrics, it seems that there is even greater scope for applying BayesSim. When the model is nonparametric, one can envision generating probability distributions from, say, a Dirichlet process, generating data from each distribution and applying some statistical method to each data set.
・ The one idea that may be “new” in the current article is the idea of using nonparametric smoothing to analyze BayesSim output. If one opposes the notion of using Bayes principle (averaging all results with respect to a prior) to compare various methods, one may use smoothing in conjunction with BayesSim to compare methodology in the same “local” way that one does in a conventional simulation, but with the advantage that broader conclusions may be drawn.
There are two main considerations in the motivation for BayesSim: simulation efficiency and diversity of models considered. Generating thousands of data sets for each of two or three different models often seems like overkill for those few cases, and is unsatisfying from the standpoint of model diversity. In other words, one learns a lot about very little. In the author’s opinion a much better under- standing of the general performance of a method can be obtained with BayesSim, and this can be done without generating any more data sets than in the trad- itional approach. This notion can be easily quantified. Suppose one uses parameter configurations in a conventional approach and generates obser- vations from each configuration. In BayesSim one may generate the same number of data sets by generating parameter values from a prior, and then one data set from each of the parameter values. Now, let be the mean squared error of an estimator when the model parameter is . One may compare the conventional and BayesSim approaches by asking how efficiently each one can estimate using its information.
Another reason that BayesSim seems like a good idea is that it has the potential of actually simulating the average performance of a method that is used at a variety of times and places throughout the world. Arguably this should be the goal of a simulation study that is trying to make a case for a new method. If the prior used in BayesSim well-approximates the empirical distribution of models or parameter values encountered in practice, then BayesSim will achieve this goal. This suggests a new avenue of research: studying the empirical dis- tributions of various types of parameters, perhaps by the use of meta analyses.
It is worth remarking that the proposed methodology is not Bayesian per se. Nonetheless, the name BayesSim seems appropriate on two counts. First of all, a good choice of prior distribution in BayesSim is based on the same con- siderations used in choosing an objective prior in a Bayesian analysis. Secondly, we advocate the use of Bayes principle, i.e., averaging results with respect to the prior, as a means of comparing different methods.
A subtheme of the article is the contention that statisticians seldom use the sophisticated methods they develop to analyze simulation data. In the author’s opinion the simulations that are an ever-present part of methodological papers would be more interesting and informative if they employed more of the vast array of new statistical methods. For example, in comparing estimation methods for multiparameter models, one could estimate performance measures as a function of the parameter vector by using additive nonparametric regression methods.
2. A Toy Example
Before giving a more detailed description of our method we present a toy example that illustrates the potential advantages of BayesSim. The example involves binomial experiments, whose statistical properties are, of course, well understood. Imagine for the moment, though, that nothing is known about those properties, and we wish to use simulation to learn about, say, the variability of sample proportions. Let be the sample proportion in a binomial experiment with and success probability .
Results of a “traditional” simulation are shown in Figure 1. Five settings for
Figure 1. A traditional simulation involving binomial experiments. At each success probability , the 500 points are squared errors for sample proportions from simulated binomial experiments with . Each red X is the sample mean of all 500 squared errors, and the blue line is the true mean squared error curve, .
have been chosen: . Five hundred binomial experiments are performed at each , and Figure 1 shows all 2500 values of . Obviously one obtains very good estimates of mean squared error at each , but is at least somewhat uncertain about the functional form of
Figure 2 shows results from an application of BayesSim. Two thousand values of were generated from a beta ( , ) distribution, which is the Jeffreys noninformative prior for a binomial experiment. A single binomial experiment was then conducted for each . A Gaussian kernel local linear smooth of the squared errors is quite close to the true mean squared error curve. The band- width of the smooth was chosen by one-sided cross-validation (  ). Note that a total of 2000 points were generated in BayesSim while 2500 were generated in the traditional approach. Figure 2 seems to accurately portray the facts that 1) generating 500 points at exactly the same is excessive, and 2) the entire mean squared curve is well estimated by the local linear smooth.
One could form an estimate of the mean squared error curve, , using the information from the traditional simulation. A possible approach would be to use a Fourier series estimate of the form
and is the average of the 500 mean squared errors at .
Figure 2. Using BayesSim in binomial experiments. Each of the two thousand points is of the form , where was generated from a binomial distribution with and success probability . The 2000 values of were generated from a beta distribution with both parameters equal to . The red and blue lines are a local linear smooth and the true mean squared error curve, respectively.
It is reasonable to define the efficiency of an estimator by its mean integrated square error:
Doing so is analogous to the well-known practice of using information to measure the efficiency of an experimental design. Table 1 summarizes the efficiencies of the two approaches in our toy example. Each component of Eff, integrated variance and integrated squared bias, is smaller for BayesSim, this in spite of the fact that more data sets are generated in the traditional approach. It is worth noting that if the number of data sets generated in the traditional approach tended to infinity with the number, five, of parameter values fixed, the component would tend to 0 but would remain fixed. This well illustrates the diminishing returns aspect of generating very large numbers of data sets in the traditional approach. In contrast, both and would tend to 0 in the BayesSim approach if the number of replications tended to .
We close this section with the following remarks.
・ The results in Table 1 actually present the traditional approach in too favorable a light. The Fourier series estimate is a type of smoother and makes better use of the information in the simulated data than is typical. Usually, researchers would simply report what happened at the five parameter values.
・ The Fourier series estimate in our toy example actually works quite well in spite of the fact that only five settings of were considered. This is due to the very smooth nature of in this case. However, one should re-
Table 1. Efficiency of traditional and BayesSim approaches in estimating mean squared error curve. The quantities , and Eff are (integrated variance), (integrated squared bias) and (mean integrated squared error), respectively.
member that this is a toy example. If the functional form of were more complicated and/or there were multiple parameters, the advantage of BayesSim in conjunction with smoothing would be more pronounced.
It is important to clarify what will be meant by our use of the term “model.” Occasionally we will use model in the sense of “parametric model,” meaning a collection of probability density or mass functions indexed by a parameter. More often, however, model will mean a completely specified probability distribution from which data might be generated. In this sense, a standard normal dis- tribution could be a model, if that were the density that generated independent observations. This use of model makes it easier to describe our most general methodology, wherein each “model” may be definable only in terms of infinitely many parameters, or where one might be considering several different para- metric families all at once. In the latter case, one might employ BayesSim by first randomly choosing a parametric family, and then randomly generating a para- meter value for the chosen family.
3.1. The Basic Method
Consider how a specific statistical methodology is often used in the real world. Over a certain period of time, researchers working in different parts of the world and in different subject matter areas, apply this methodology. Let us assume that the true model from which researcher obtains his or her data is . Now, let be the loss experienced by researcher upon applying the method in question. Then the efficacy of the method could be measured by the distribution of all Lis, or the average loss . This way of evaluating methodology is precisely what BayesSim tries to simulate. I submit that it would rarely happen that any of would be the same, nor is it common that any researcher would obtain multiple data sets from the same model. For this reason, comparing the efficacy of methods by generating thousands of data sets from the same few models does not seem quite right. The point is that variation due to differences in models is a real and prevalent factor in the performance of statistical methodology and is largely neglected in traditional simulations.
We describe BayesSim using decision theoretic terminology. Let be a data vector and suppose that has distribution when the true model is . Let be some statistical rule, perhaps an estimator or a test of hypothesis. The “action” prescribed by when the observed data are is . For example, if is an estimator, then is the point estimate for data set . Now suppose that is the loss when is the true model and action is taken. The frequentist risk, or simply risk, of when is the true model is
where is expectation with respect to the distribution .
The usual simulation strategy is to try to obtain a very good estimate of for a few models and each rule of interest. In estimation problems a typical choice for is squared error, while in testing is usually 0 - 1 loss, leading to power and Type I error probability as the criteria for comparing tests.
Now suppose that is a collection of models, and let be a probability measure over . Then the Bayes risk of with respect to is
Obviously, is a weighted average of the risks that are usually considered individually in deciding on a good statistical rule. Bayes principle consists of choosing a rule to minimize Bayes risk, and is one of the main principles used in decision theory. Possibilities for include parametric families, nonparametric, or infinite dimensional, families, and a collection of the form , where each of , is a parametric family.
In a simulation setting where and are chosen by the investigator, a consistent estimator of the Bayes risk of a rule may be constructed as follows. Let be independent draws from . Generate a data vector from for each , and estimate the Bayes risk of rule by
If , then under mild conditions converges in probability to . Consistency follows from the law of large numbers and the fact that
Another factor that varies in the practical problem outlined above is sample size. A prior for the sample size could also be incorporated into the pro- cedure. On each replication of the simulation, one would first randomly select a model, then select a sample size from , and finally generate a data set of size . However, mostly for the sake of simplicity, we will assume a fixed sample size throughout the remainder of the article.
3.2. More Efficient Estimation of Bayes Risk
A result of  makes use of a fundamental property to show that there exists a more efficient estimator of Bayes risk than the simple average of losses described in the previous section. Assume that is a parametric family with (con- tinuous) parameter space and that is the distribution of given . For each the posterior risk is
It is easy to see that the expected value of with respect to the marginal is equal to .
A second strategy for estimating Bayes risk is therefore:
・ Generate from and from .
・ Repeat the previous step times, producing .
・ Compute the estimate .
Both and are unbiased estimators of . However, has smaller variance, assuming the density is not degenerate. This follows from the well-known iterated expectation rule for variance, which yields
In the setting of  , this result entails that, when applying BayesSim to evaluate interval estimates, the standard error of the average of posterior coverage probabilities is smaller than that of the proportion of intervals that contain their respective parameter values.
This efficiency result may be of limited usefulness in applications envisioned by the author. The main problem is that it will often be difficult to compute the posterior risk . The necessity of MCMC methods in most Bayesian data analyses is at the heart of this difficulty. However, if one knows how to generate independent samples from each posterior, then there is a fairly simple way to reduce the variability of without having to compute posterior risk. For each that is generated in BayesSim , generate a few, say , independent values from . Call these values . Now define the estimator
This estimator is unbiased for and has variance
which is smaller than that of for any larger than 1.
When one is more interested in using BayesSim to estimate frequentist risk as a function of , then the efficiency issue raised in this section becomes moot. Estimation of is the subject of Section 3.3.
3.3. Local Risk Estimation
One could argue that choosing Method A over Method B simply because A has smaller Bayes risk is not a good practice. After all, it is possible that A could have smaller Bayes risk than B, but the risk of B could be smaller than that of A for a majority of models. We have two responses to this point. Firstly, average performance is the default way of comparing methods on a single model. Researchers seem to be sold on the idea that method A is preferable to B for a given model if the risk of A is smaller than that of B, even though B may have smaller loss in a majority of data sets from that model. A second response is that when the prior in BayesSim is actually the empirical distribution of models, BayesSim output can be used to estimate the proportion of cases in practice where one method will have smaller loss than another. This is not something that can be done using the traditional simulation approach.
Even when there are doubts about the practical validity of the prior, valuable local information about methods can be obtained using the output from BayesSim. Suppose it is believed that the risk of a method or methods depends importantly on a certain -dimensional functional of the model, say . When the model is parametric, might simply be the vector of para- meters. One may regress on using BayesSim output in order to estimate the function . This will in part mitigate concerns that the Bayes risk involves too much averaging. If varies with , then at least part of the variation in risk due to model differences is being explained by the regression. In the (perhaps rare) event that the mapping is one to one, then is tantamout to the risk .
Suppose the model is parametric and is the vector of parameters . By definition in BayesSim, the distribution of given does not depend on the prior distribution of . For this reason, one may obtain a consistent estimator of the risk even though the prior is “wrong.” (By a “wrong” prior, we mean one that does not actually correspond to the empirical distribution of parameter values over all settings in which the parametric model is to be used.) This is an important point since it shows that if one is more interested in traditional risk than Bayes risk, then the particular prior used is not of utmost importance.
All the existing methods of estimating regression functions can be applied to inference of from BayesSim output. For example, we may fit a parametric model to the data , which would be es- pecially appealing when is large.
If no parametric model for the BayesSim output is obvious, and is large, then the curse of dimensionality comes into play. However, this should not be a real obstacle to the statistician, who simply needs to apply some of the vast array of new regression methodology that deals with this problem. For example, support vector machines (  ) can be used to classify data in the presence of a large number of regressors. Given BayesSim output, data could be categorized according to values of the loss function, and then a support vector machine used to identify subsets of the regressor space that provide the best discrimination among these categories. Another approach in regression is to try to reduce the dimensionality of the regressor space. Additive models (  ) and projection pursuit (  ) are but two methods that could be used for this purpose.
When is a class of functions, a possible way of summarizing elements of is to use principal components for curves. We may regard a randomly chosen element of as a stochastic process. The process may be re- presented by a Karhunen-Loève expansion of the form
where are eigenfunctions each having norm 1. Letting be the covariance kernel of the process, has the property that it maximizes
subject to the constraint that have norm 1. Each subsequent function maximizes subject to the constraints that has norm 1 and is orthogonal to each of .
Now, suppose are randomly chosen curves in a BayesSim analysis. Then we may compute the first few principal components of each curve, i.e.,
and use these components as regressors, per the discussion at the beginning of this section.
4. Choosing Priors
Ideally the prior distribution used in BayesSim is a good approximation to the frequency distribution of models encountered in practice. If this is the case, then the Bayes risk truly represents the average loss associated with a method over all cases encountered in practice. Considerations in the choice of are more or less the same as those used in making an objective choice of prior in a Bayesian data analysis.
Suppose that the collection of models is parametric. Then if one is investigating methodology to be used in a particular subject matter area, it would be sensible to choose to approximate whatever is known about the distribution of parameter values in that area. If nothing is known about said distribution, then a noninformative prior could be used.
Likewise, a noninformative prior would seem to be a sensible choice when one is investigating methodology that will be used in a wide variety of subject matter areas. However, the question arises “Do commonly used noninformative priors well-approximate the frequency distribution of parameters over a variety of settings?” There are at least a couple of famous examples of when they ap- parently do. The Jeffreys noninformative prior for a proportion in a binomial experiment is the U-shaped beta distribution proportional to for . The author of  collected data from a variety of settings that allowed him to estimate the frequency distribution of proportions. His data were more consistent with a U-shaped distribution than with the uniform distribution, the latter of which seems more intuitive. A similar phenomenon occurs with the distribution of leading digits of quantities coming from a variety of sources. The probability of digit is for as opposed to , a fact known as Benford's Law; see  . The author of  (p. 86) points out that the Jeffreys noninformative prior for a scale parameter produces this frequency distribution for leading digits, and thus can be expected to be the “correct” empirical distribution of scale parameters.
Whether the previous two examples are isolated, or there are numerous situations where, say, a Jeffreys prior coincides with the empirical distribution of parameters, is a question beyond the scope of this article. However, it seems to be a worthwhile question for further research, especially if BayesSim were to become a commonly used method of simulation. A means of addressing this question would be to perform meta analyses, or to study the results of existing meta analyses.
When the models of interest are nonparametric, construction of priors becomes more challenging. Here, recent proposals in the Bayesian literature are of interest. For example, a commonly used noninformative prior for probability densities is the Dirichlet process,  . In regression and other areas where models are curves, curves could be generated as sample paths of a Gaussian or some other stochastic process. Another possibility is to represent a curve using Fourier series, and to generate curves by generating sequences of Fourier coefficients.
We consider two examples. One is parametric and the other nonparametric, involving the skew-normal distribution and goodness of fit, respectively.
5.1. A Parametric Model
Suppose we have a random sample from the following skew-normal density:
where and are the pdf and cdf, respectively, of the standard normal distribution, and the parameter space is . The quantity is the so-called skew parameter and controls the degree of skewness of the distribution. Obviously, when the density is . As tends to 1(−1), the density approaches a half-normal distribution with left (right) endpoint .
We wish to compare the efficiency of maximum likelihood (ML) and method- of-moments (MOM) estimators of using BayesSim. This is a good example for use of BayesSim for a couple of reasons. Firstly, finding exact expressions for the mean squared error of estimators in finite samples appears to be hopeless. Secondly, the information matrix of the skew-normal model has a well-known singularity at ; see  . This means that, even for large samples, the usual infomation matrix should not be used for approximating standard errors of MLEs when is near 0.
We will consider three priors, which differ only with respect to the dis- tribution of . Each prior is such that is independent of , has a beta distribution, has a gamma distribution with shape and rate parameters each , and, given , is normal with mean 0 and variance . For and , the beta density is proportional to for . The three beta densities employed have equal to , and . The first and third of these emphasize values of near 0 and 1, respectively, while the second is uniform. Since this example is for the sake of illustration, we consider only the sample size . We generate 10,000 independent and identically distributed three-vectors from each of the three priors. For each given three-vector , we generate one sample of size 100 from a skew-normal distribution having those parameters.
MOM estimates are computed from sample moments using the following equations:
Maximum likelihood estimates were approximated using the nonlinear optimization routine optim in R.
is , where and are the value of and
the ML estimate of , respectively, generated on the th replication of the simulation that used the Beta prior. One interesting conclusion is that the performance of both ML and MOM estimators degrades as the proportion of s near 1 becomes less. Also, not surprisingly, the ML estimators are sub- stantially more efficient than the MOM estimators. Table 2 provides more insight by giving bounds for the probability that ML error is less than MOM error.
More detailed information can be obtained by studying the relationship between estimation error and the parameters . Consider Figure 3 in which ML estimates of are plotted against for the case where the prior was uniform. There is an intriguing pattern in which most of the points are
Table 2. Estimates of Bayes risk for maximum likelihood and method-of-moments estimators. CI denotes a 95% confidence interval for .
Table 3. Ninety-five percent confidence intervals for probability that MLE error is smaller than MOM error.
Figure 3. Maximum likelihood estimates of plotted against . The solid (blue) line is a local linear smooth.
scattered widely throughout the interval , but a small proportion of points lie very near the 45 degree line, as one would hope most of them would. The solid line is a local linear estimate, indicating considerable bias in the ML estimates for most values of . Further investigation shows that the parameter explains the peculiar scatterplot. In Figure 4 one sees that almost all the points on the 45 degree line occur when . Also, the local linear smooths in Figure 4 show that the ML estimates are more nearly unbiased when is small.
Figure 5 reveals how profoundly poor moment estimates of are unless is near 1. It’s as if the moment estimate “thinks” is zero unless is larger than 0.6. In a sense this is not too surprising as plots of the skew normal density reveal that skewness is almost unnoticeable until gets close to 1.
Although it is possible that conclusions as in the last two paragraphs would arise from a carefully done conventional simulation, it seems that the con- clusions are much clearer and more easily reached when BayesSim is used.
5.2. Goodness-of-Fit Tests
Here we compare the performance of two nonparametric goodness-of-fit tests of the null hypothesis that a data set is drawn from a normal distribution. Let be a random sample from an unknown density . We wish to test the null hypothesis that is normally distributed with mean and variance
Figure 4. Maximum likelihood estimates of plotted against for and . In each plot the solid (blue) line is a local linear smooth.
Figure 5. Method of moments estimates of plotted against . The straight (red) line is the 45 degree line and the other is a local linear smooth.
, where neither nor is specified. The tests considered are the popular Shapiro-Wilk test (  ) and a test based on a kernel density estimator. The latter test employs a nonparametric likelihood ratio of the form
where is the maximum likelihood estimator of on the assumption of normality, and is a “leave-one-out” kernel density estimator:
The numerator of is the likelihood cross-validation criterion, as studied by  . To deal with the bandwidth selection problem, our test statistic is , and for the kernel, we use
Results in  show that this kernel generally performs well when used in , whereas “traditional,” lighter-tailed kernels such as the Gaussian do not when the underlying density is sufficiently heavy-tailed.
Our interest is in comparing the power of the two tests, and so in using BayesSim we generate densities that are not normal. Each density generated is a mixture of two or more normals, having the form
Densities are generated as follows:
・ A value of between 2 and 20 is selected from a distribution such that the probability of is proportional to , .
・ Given , values are selected from the Dirichlet distribution with all parameters equal to .
・ Given and independent of , are independent and identically distributed as gamma with shape and rate each , and, conditional on , are independent with distributed .
Generating densities in this way provides a variety of different distributional types, including ones that are skewed, lepto- or platykurtic, and/or multimodal. Furthermore, functionals of interest, such as moments and norms are readily calculated for normal mixtures, as pointed out by  .
Ten thousand densities were generated independently as described above, and then one data set of size was generated from each of these densities. A -value for the Shapiro-Wilk test was determined using the R function shapiro. test. The critical value of a size 0.05 test based on was approximated by generating 10,000 values from a standard normal density.
Since we are interested in power, a 0 - 1 loss function is used, in which case the Bayes risk of each test is estimated by the proportion of rejections among all ten thousand replications. These two proportions were 0.8294 and 0.8003 for the Shapiro-Wilk and kernel-based tests, respectively. A 95% confidence interval for the difference in Bayes risks is .
To gain more insight into the difference between the tests, we considered the relationship of rejection probabilities to various characteristics of the selected densities. Letting and denote the mean and standard deviation of a selected density , we computed the skewness coefficient , the excess kurtosis and the Kullback-Leibler divergence
where is the standard normal density. The quantity measures the discrepancy between and a standardized version of . It represents the consistency parameter for the kernel-based test, and hence a strong dependence is expected between and the power of that test. This is illustrated in Figure 6, where 0, 1 data (representing do not reject and reject , re- spectively) have been jittered to make the results clearer.
The same plot as in Figure 6 for the Shapiro-Wilk test is very similar to Figure 6, but a more detailed analysis reveals a key difference between the tests. It turns out that the slight power advantage of Shapiro-Wilk is explained almost entirely by cases where is relatively small. This difference between the two tests is in part confirmed by Figure 7. For the Shapiro-Wilk and kernel- based tests, respectively, let and be the probability of rejecting given that . An estimate of is shown in Figure 7. In only 9 of the 4694 cases where exceeded 0.5 did the two tests reach different conclusions. This fact and Figure 7 strongly
Figure 6. Results for kernel-based test as a function of Kullback-Leibler divergence. The data points have been jittered. Those between 0.9 and 1 on the vertical scale represent rejections of and those between 0 and 0.1 are failures to reject.
Figure 7. Estimated difference in powers for Shapiro-Wilk and kernel-based tests given that . The black (solid) line is the difference between the two estimates and the blue (dashed) lines are pointwise confidence limits.
suggest that the only substantial difference in the power of the two tests occurs at small values of .
Finally, we present heat plots showing how the power of the two tests are related to skewness and kurtosis. Define the transformation by , for any real . Letting and denote values of the skewness and kurtosis coefficents defined previously, define independent variables and . Also define to be 1 if the Shapiro-Wilk test rejected for replication of the simulation and 0 otherwise. The variables are defined similarly for the kernel-based test. We then computed Nadaraya-Watson kernel estimates from the data sets , and . These estimates are shown in Figure 8 and Figure 9 in the form of heat plots. The plots are very similar, but there is a subtle difference. The blue/green region is slightly shorter in the direction of skewness for the Shapiro-Wilk test than it is for the kernel-based test. This indicates a slight superiority of the former test in detecting skewness. It is arguable that this sort of subtle effect is more easily detected with BayesSim than with traditional simulation methodology.
Figure 8. Power as a function of transformed skewness and kurtosis for the Shapiro-Wilk test.
Figure 9. Power as a function of transformed skewness and kurtosis for the kernel-based test.
An overlooked method of simulation called BayesSim has been propounded. The method provides the possibility of learning more about the statistical methodology being considered while at the same time generating no more (or even less) data than in the conventional method. Does the author think that BayesSim should supplant the conventional approach? Of course not. There are undoubtedly many situations where the latter method will be preferable. However, in the author’s opinion there are equally many cases where BayesSim can provide valuable information that is not attainable by generating data from just a few models. Furthermore, conclusions that might be reached with the conventional approach are often much more evident and compelling when data from thousands of different models are considered.
Some will argue that the increasingly complicated methodology of modern statistics would make it difficult to choose satisfactory priors in BayesSim. That may be true but the process of choosing a prior in BayesSim cannot be more difficult than choosing a prior for a complex model in a Bayesian data analysis. And the difficulty of choosing priors has certainly not prevented an explosion in the use of Bayesian statistics.
Another reason the author finds BayesSim appealing is that it provides a rich source of data to which statistical researchers may apply the sophisticated methods that they are constantly developing. Kernel methods, nonparametric additive modeling, projection pursuit and support vector machines are but a few of the methods that could be used to investigate how, for example, estimator performance is related to parameters. In short, I believe that statisticians will find that BayesSim can make their simulation studies more informative, and more interesting.
This research was supported by National Science Foundation Grant DMS- 0604801.