Logic Of Survey Analysis