X hits on this document

Word document

click on “Load Preferences”; (4) click on “Factory Settings.” If the ... - page 35 / 44

426 views

0 shares

0 downloads

0 comments

35 / 44

gen demcont =  lhdemc +  uhdemc + demgov

recode demcont (.0001/2.999 = 0) (3 = 1)

gen lhrepc= lhrepp

recode  lhrepc (.0000/.5 = 0) (.5001/1 = 1)

gen uhrepc= uhrepp

recode  uhrepc (.0000/.5 = 0) (.5001/1 = 1)

gen repcont =  lhrepc +  uhrepc + repgov

recode repcont (.0001/2.999 = 0) (3 = 1)

gen demgov1=demgov

recode demgov1 (1=3)

gen lhdemc1=lhdemc

recode lhdemc1 (1=2)

gen ds=demgov1 + lhdemc1 + uhdemc

recode ds (5=1) (4=1) (0/3=0) (6=0)

gen dr=demgov1 + lhrepc + uhrepc

recode dr (5=1) (else=0)

gen repgov1= repgov

recode repgov1 (1=3)

gen lhrepc1=lhrepc

recode lhrepc1 (1=2)

gen rs=repgov1 + lhrepc1 + uhrepc

recode rs (5=1) (4=1) (0/3=0) (6=0)

gen rd=repgov1 + lhdemc + uhdemc

recode rd (5=1) (else=0)

drop demgov1 repgov1 lhdemc1 lhrepc1 lhtot uhtot

//The following commands generate Alt/Lowry Political Variables and Unified //Partisan Control Variables at the Federal Level

//Variable Names are same as at state level except the first letter if "f" (federal - //fdr is the federal equivalent of dr)

//In the case of unified partisan control the federal variables have an "n" on the //end (national - demcontn is the

//federal equivalent of demcont)

drop demcontn repcontn

drop fds fdr frs frd

drop flhdemp fuhdemp flhdemc fuhdemc pres1  

drop flhrepp fuhrepp flhrepc fuhrepc

gen flhtot = demh + reph

gen flhdemp = demh/flhtot

gen flhrepp = reph/flhtot

gen fuhtot = dems + reps

gen fuhdemp = dems/fuhtot

gen fuhrepp= reps/fuhtot

gen flhdemc = flhdemp

recode flhdemc (.0000/.5 = 0) (.5001/1 = 1)

Document info
Document views426
Page views490
Page last viewedFri Dec 09 18:48:39 UTC 2016
Pages44
Paragraphs843
Words17107

Comments