Theory of Sample Surveys