Text this: Statistical theory of sample survey