Design and analysis of surveys