
Read Me File for: "The Size of the LGBT Population and the Magnitude of Anti-Gay Sentiment are Substantially Underestimated."

Statistical Software Required: Stata version 13.1

Data file:All Data Merged.dta

Run master.do, which calls the other do files.

It creates the empirical tables in the paper: Tables 2,3,4,5,6, and 8. 
(Table 1 is not empirical-- it lists the questions we used. Table 7 is also not the result of statistical analysis, but presents the solution to an equation listed in the text)

Guide to Variable Names

**Placebo Items 1 - 8
Placebo 1 - 4: From Experiment 2
Placebeo 5 - 8: From Experiment 3

p`i'_direct -- answer to directly asked question in placebo questions, takes 0 or 1, 1 is 'yes'
p_direct_sum_`i' -- sum of non-target list items plus direct question for direct treatment
p_private_sum_`i' -- sum of 5 list items for private treatment
p_sum_i is p_direct_sum_`i' for those in direct treatment, p_private_sum_`i' for those in private treatment


**Sensitive Items 1 - 12
Sensitive 1 - 8: From Experiment 1, Replicated qns. 1, 3, and 6 in Experiment 3 (they share numbers!)
Sensitive 9 - 12: From Experiment 2, Replicated qn. 9 in Experiment 3

s`i'_direct -- answer to directly asked question in sensitive questions, takes 0 or 1, 1 is 'yes'
s_direct_sum_`i' -- sum of innoc items plus direct question for direct treatment
s_private_sum_`i' -- sum of 5 items for private treatment
s_sum_i is s_direct_sum_`i' for those in direct treatment, s_private_sum_`i' for those in private treatment


***Treatments
privatetreatment -- takes 0 if in direct ask, 1 if if in private treatment
direct_q_only -- takes 1 if participant only saw the direct ask questions -- NO LIST -- treatment we did in Experiment 2
yes_sensitive_treatment -- only exists for Experiment 3, takes 1 if 'yes' was sensitive answer
order -- takes 0 or 1 for all treatments, indicates whether questions were asked in reverse order or not

***Demographics
o	age  subjects self-reported age
?	we also have dummies for the three age categories that we stratified on
	young takes 1 if subject is less than or equal to 30
	middle_aged takes 1 if subject is between 31  50
	old takes 1 if subject is older than 50
o	gender  takes 0 if subject reported male, 1 if subject reported female, 3 if subject reported transgender
o	race  - takes value 1-15 indicating selection of subject from drop-down menu, created some dummies:
?	white  takes 1 if subject selected white in drop down menu
?	black  takes 1 if subject selected black/African American in drop down menu
?	hispanic  takes 1 if subject selected Hispanic in post-task question
?	asian  takes 1 if subject selected Chinese, Filipino, Japanese, Korean, Vietnamese, or Other Asian from drop down menu
?	indian  takes 1 if subject selected Asian Indian from drop down menu
o	relationship status variables have been re-coded as dummies
?	single takes 1 if subject reported being single
?	attached takes 1 if subject reported being unmarried but in a relationship
?	married takes 1 if subject reported being married
?	divorced takes 1 if subject reported being widowed or divorced
o	parent takes 1 if subject reported being a parent
o	employment status variables have been recoded as dummies:
?	work_full_time
?	work_part_time
?	unemployed
?	stayathome
?	retired
?	student
o	qstate is subjects current location, there are lots of other dummies coded
?	battle_state takes 1 if the subject lives in one of the four states where a marriage initiative was on the ballot  - Minnesota, Maine, Maryland, Washington
	maine
	maryland
	minnesota
	washington
?	census region dummies
	northeast
o	newengland
o	midatlantic
	midwest
o	emidwest
o	wmidwest
	south
	west
o	mountain
o	pacific
o	qzipup is zip code of where subject grew up
o	education variables have been recoded as dummies:
?	some_hs takes 1 if subject has some high school but did not finish
?	finished_hs takes 1 if highest education level attained is high school degree
?	some_college takes 1 if subject has some college education but did not finish
?	finished_college takes 1 if highest education level attained is college degree
?	some_grad takes 1 if subject has some grad school but has not finished
?	finished_grad takes 1 if subject has a graduate degree
?	college takes 1 if subject has a college degree or more
o	rel_scale takes 1  7 with 7 being extremely religious, 1 being not at all
o	pol_scale takes 1-7 with 7 being extremely interested in politics, 1 being not at all
o	religion variables have been re-coded as dummies:
?	protestant
?	catholic
?	jewish
?	no_religion
?	other_religion
?	christian takes 1 if subject reported protestant, catholic, or orthodox-christian
o	political variables have been re-coded as dummies:
?	rep takes 1 if subject is registered or unregistered republican
?	dem takes 1 if subject is registered or unregistered democrat
?	ind takes 1 if subject is independent
?	other_pol takes 1 if subject reported other
o	crt_right takes 1 if the subject provided the correct answer to the cognitive reflection task

