First example on income of four married couples, Table 16.1. Then we run SAS macro boot to get percentile interval and improved boostrap interval for the mean.
Macro boot is a part of program jackboot .
In order to run boot , we need first create a macro called analyze in which we specify which data set we are going use and which statistic we want to analyze. After running boot , we can further run bootci to get estimate on confidence intervals using different methods. By default, macro boot also produces histogram on bootstrapping replicates of the mean. Bootstrapping regression using data file duncan . The results below are different from Table 16.5 since we only use the ordinary regression procedure instead of Huber robust regression.