Text this: Sampling theory of survey with applications