Zaslat SMS: Statistical theory of sample survey