How to do stratified sampling through Data Miner Recipes (DMR)?

How to do stratified sampling through Data Miner Recipes (DMR)?

book

Article ID: KB0074075

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.0 and higher

Description

This article illustrates how to do a simple stratified sampling through the Data Miner Recipes (DMR) feature.

Issue/Introduction

How to do stratified sampling through Data Miner Recipes (DMR)?

Environment

Windows

Resolution

1. Go to "Data Mining | Data Miner Recipes"

2. In the Data Miner Recipes Dialog, select New

3. In the Data miner recipes: Project.dmrproj* dialog, click Open/Connect data file to select the proper data set for analysis. Here use "CreditScoring.sta" from the sample datasets as an example

4. Click Select variables to select the desirable variables for analysis

5. After selecting all variables, click OK to go back to the dialog. Click on Advanced tab, check the Use sample data box and select Stratified random sampling and click on More options

6. In the Stratified sampling dialog, click Strata variables to select up to 3 variables as the stratification rules

7. Click OK to go back to the Data miner recipes dialog and click Next step or Run to completion to proceed