Diff for "FAQ/boot" - CBU statistics Wiki
location: Diff for "FAQ/boot"
Differences between revisions 17 and 18
Revision 17 as of 2011-12-01 14:39:58
Size: 952
Editor: PeterWatson
Comment:
Revision 18 as of 2011-12-01 14:40:07
Size: 953
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
sample [attachment:after.jpg bootstrapped means.] You can also adapt this to compare medians using this [:FAQ/bootmed SPSS syntax.] sample [attachment:after.jpg bootstrapped means.] You can also adapt this to compare medians using this [:FAQ/bootmed: SPSS syntax.]

Simulating by sampling with replacement (bootstrapping)

Consider trying to give a confidence interval for the mean from [attachment:before.jpg raw positive skewed data.]

One way to achieve this is to bootstrap (Efron and Tibshirani, 1993) and repeatedly sample a large number of times. Sampling 500 times, taking the means of these samples and then repeating this 49 more times creates 50 sample [attachment:after.jpg bootstrapped means.] You can also adapt this to compare medians using this [:FAQ/bootmed: SPSS syntax.]

This distribution is symmetric and, therefore, by taking the 5% and 95% percentiles we obtain a 95% Confidence interval for the sample mean.

Code is available [http://pages.infinit.net/rlevesqu/SampleSyntax.htm#Bootstrap in SPSS] and more succinctly [:FAQ/bootR: in R.]

Reference

See [attachment:boot.pdf here.]

Efron B. & Tibshirani R.J. (1993), An introduction to the bootstrap, Chapman & Hall.

None: FAQ/boot (last edited 2013-03-08 10:17:15 by localhost)