I was asked the other day how they might sample from 2 or 3 or n rows from a table that is 300 rows deep …

The following screenshots show what I did for my inquisitor.

sampling_1

sampling_2

sampling_3

sampling_4

sampling_5sampling_6sampling_7

Download the file from sampling_formula_-for-quora_answer to make full sense of this process, in case you have any doubts.

 

Duncan Williamson

19th December 2016

 

%d bloggers like this: