A Unified Approach for Analysis of Randomized Response Surveys