Hi y'all
I would be most grateful if anyone out there has written a simple code to categorize states in Democrat, Republican and Swing state in 2016. I have 4000+ observations that have states listed as numerical so if anyone already has a code to generate new variable and segregate the numeric state into D, R, or S (for 2016 results), that would be most helpful. Does anyone already have it? Thank you.
Related Posts with Coding 0,1,2 for political states in 2016
Mixed command and random effectsHi. I have data on 600 participants at 5 time points with 2 measurements at each time point for aver…
Content of local macro does not works in loop.Hi everyone. I am a novice of Stata and English is not my mother language. So I will try my best to …
Difference in Differences with propensity score matching for repeated cross sectional surveysDear Statalisters! I'm pretty new to Statalist and found a lot of posts regarding DID and PSM, but n…
label problem pie chartHello, I am creating pie charts over a number of identifiers. Please see below for screenshot. The…
Linear regressionHi everyone, i have a model which contains a ratio (v/u) and a job index as explanatory variables am…
Subscribe to:
Post Comments (Atom)
0 Response to Coding 0,1,2 for political states in 2016
Post a Comment