By using two-ways fixed effects I want to look at how droughts and floods impacts unemployment. My dependent variable is Unemployment Rate. My independent variables are Flood Occurrence and Drought Occurrence. My control variables are GDP per capita, share of population, labor force participation rate, years of schooling (age 20-39+), and average household size.
I want to first look at the estimates withiut the control variables and did the following coding but it was wrong:
model1 <- plm(Unemployment Rate) ~ Flood Occurrence, Drought Occurrence,
data = unemploymentdisasternatioall,
index = c("Reference Area", "Start Year"),
model = "within")´´´
I got this error message:
unexpected symbol in "model1 <- plm(Unemployment Rate"