KNOWLEDGE BASE

Systematic Sampling Implementation


Published: 25 Mar 2021
Last Modified Date: 25 Mar 2021

Question

How to implement systematic sampling in Tableau i.e. statistical method involving the selection of elements from an ordered sampling frame. Example: Sampling product names at a sequence of 4 steps 
 

Environment

  • Tableau Desktop

Answer

1. Create a calculation called index:
INDEX()

2. Create a calculation called index%step: 
INDEX()%[step]

Where step is a integer type in parameter 

3. A new filter calculation:
[index%step]=1

4. Drag to filter and select True

Input:

User-added image

Output with step size of 4 

User-added image

 

Additional Information

If the population size is x and we have to select a sample size of n. Then, the next individual that we will select would be x/nth intervals away from the first individual.
 
Did this article resolve the issue?