Hello, I am new to STATA. I just discovered the areg command, which can be used to account for fixed effects.
Some background:
In my research assignment, I want to estimate the relationship between air pollution (haze) and air-conditioner use. The data set is from a survey. Both my independent variable and dependent variable are binary variables. I initially wanted to conduct a regression using the probit regression model. However, I realised that I have to account for survey respondent fixed effects too.
If both my independent variable and dependent variable are binary variables, can I use the areg command to account for respondent fixed effects? Most examples that I have seen deal with continuous variables.
Any help will be appreciated. Thank you.
Some background:
In my research assignment, I want to estimate the relationship between air pollution (haze) and air-conditioner use. The data set is from a survey. Both my independent variable and dependent variable are binary variables. I initially wanted to conduct a regression using the probit regression model. However, I realised that I have to account for survey respondent fixed effects too.
If both my independent variable and dependent variable are binary variables, can I use the areg command to account for respondent fixed effects? Most examples that I have seen deal with continuous variables.
Any help will be appreciated. Thank you.
Comment