Bootstrap and fixed number random sampling

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bootstrap and fixed number random sampling

Bart
Hi,

I'm struggling with the following issue.
In my data-set I have 70 records of which I would like to sample 50 records
at random WITH replacement. This procedure needs to be repeated 1000 times
and all added in to a total file containing (50*1000) 50.000 records.
As I need to do some further calculations I need to identify each
of the 1000 random samplings.
Does anybody have an idea how to write this in syntax?

Thanks a lot for your help!

Regards,

Bart
Reply | Threaded
Open this post in threaded view
|

Re: Bootstrap and fixed number random sampling

Andy W
See http://spssx-discussion.1045642.n5.nabble.com/Random-sampling-amp-matrix-of-histograms-problem-td5718425.html and http://spssx-discussion.1045642.n5.nabble.com/Sampling-WITH-replacement-td5618318.html#a5620719 for a similar question.

I wouldn't be surprised if this has been answered multiple times over the years, so please search the forum before posting a question.
Andy W
apwheele@gmail.com
http://andrewpwheeler.wordpress.com/