Introduction to the Linear Model (Multivariate Regression)

DATAFRAME: ANES 2012
ANES2016<-read.csv("http://www.shortell.nyc/online/files/anes_timeseries_2016.csv")

DV: Favorability to Democratic Party (ft_dem)

IVs: Political view (libcpre_self)
Attitude toward DACA (immig_citizen) * recoded
Attitude toward affirmative action (aa_uni) * recoded
Religiosity (relig_import)
Gender (gender_respondent)

RECODES
immig_citizenr<-ifelse(immig_citizen==1,1,0)
aa_unir<-ifelse(aa_uni==1,1,0)

MODEL
summary(lm(ft_dem~libcpre_self+immig_citizenr+aa_unir+relig_import+gender_respondent))

Group Exercise:
Find the equivalent DV in the 2016 ANES and specify a linear model, compute it in R, and interpret the results.