/TITLE Bootstrapped analysis of simulated data, OLS ! Comments can be inserted following exclamation points and ending in semicolons; /SPECIFICATIONS DATA='MEDSIM1.ESS'; VARIABLES= 3; CASES= 80; METHODS=ls; !Least squares converges more regularly than ML; MATRIX=RAW; /EQUATIONS V2 = + .331*V1 + E2; V3 = + -.03*V1 + .275*V2 + E3; !The above equations specify starting values from the full sample. These speed up the processing time; /VARIANCES V1 = .68*; E2 = 1.1*; E3 = .93*; /COVARIANCES /PRINT effect=yes; digit=3; linesize =80; /SIMULATION SEED = 6062000; REPLICATIONS=1000; BOOTSTRAP = 80; ! The 4 lines above control the bootstrap. Seed is an arbitrary number that starts the random number generation. Replications are how many bootstrap samples you want, while Bootstrap= specifies the size of each bootstrap sample; /OUTPUT ; PARM; SE; DATA='M3BOOT.TXT'; /END