O'Reilly logo

IBM SPSS Modeler Cookbook by Scott Mutchler, Tom Khabaza, Meta S. Brown, Dean Abbott, Keith McCormick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a bootstrap sample

A bootstrap sample is a random sample with replacement, meaning that each record has an equal chance of being selected; after it has been selected, that record has an equal chance of being selected again. Usually, when we select records for training and testing, we sample without replacement, so that each record will appear in only the training or the testing data set.

In this recipe we learn how to build bootstrap samples, a feature not included in Modeler.

Getting ready

This recipe uses the datafile cup98lrn_reduced_vars3.sav and the stream Recipe – bootstrap one sample.str.

How to do it...

To create a bootstrap sample:

  1. Open the stream Recipe – bootstrap one sample.str by navigating to File | Open Stream.
  2. Make sure the datafile ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required