![]() BootData is a data set view that contains B bootstrap samples of the data.The %BOOT macro creates three primary data sets: Define a macro named %ANALYZE that computes the bootstrap statistic from a bootstrap sample. ![]() ![]() For this example, I saved the source file to C:\Temp\jackboot.sas. Download the source file for the macros and save it in a directory that is accessible to SAS.How to install and use the %BOOT and %BOOTCI macros It then calls a user-supplied %ANALYZE macro to compute the bootstrap distribution of your statistic. The %BOOT macro uses simple uniform random sampling (with replacement) or balanced bootstrap sampling to generate the bootstrap samples. The website includes additional examples, documentation, and a discussion of the capabilities of the macros. ![]() You can download the macros for free from the SAS Support website. The %BOOT macro generates a bootstrap distribution and computes basic statistics about the bootstrap distribution, including estimates of bias, standard error, and a confidence interval that is suitable when the sampling distribution is normally distributed.īecause bootstrap methods are often used when you do not want to assume a statistic is normally distributed, the %BOOTCI macro supports several additional confidence intervals, such as percentile-based and bias-adjusted intervals. This article provides an example that shows how to use the %BOOT and %BOOTCI macros. Since the late 1990s, SAS has supplied macros for basic bootstrap and jackknife analyses. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |