5.17.2. Stratified Sampling

<< Click to Display Table of Contents >>

Navigation:  5. Detailed description of the Actions > 5.17. Stats >

5.17.2. Stratified Sampling

 

Icon:   ANATEL~4_img215  

 
Function: samplingStratified
 

Property window:

 

ANATEL~4_img214

 

Short description:

Stratified sampling on a modal variable.

 

Long Description:

stratified sampling on a modal variable.

 

Here is an example: Let’s assume that:

…we want to randomly select 10% number1 of the input rows.

…we want to “stratify” on the column “education”: number2 i.e. we must ensure that the distribution of the variable “education” stays exactly the same inside our sample than inside our original population.

 

We’ll have:

 

clip0263