Fixed-effects OLS estimation — feols • fixest To use multiple dependent variables in fixest estimations, you need to include them in a vector: like in c (y1, y2, y3) First, if names are stored in a vector, they can readily be inserted in a formula to perform multiple estimations using the dot square bracket operator
feols function - RDocumentation Can be either a list of vectors, a character vector of variable names, a formula or an integer vector Assume we want to perform 2-way clustering over var1 and var2 contained in the data frame base used for the estimation
fixest2 man feols. Rd at master · DavisVaughan fixest2 · GitHub Can be either a list of vectors, a character vector of variable names, a formula or an integer vector Assume we want to perform 2-way clustering over \code {var1} and \code {var2} contained in the data frame \code {base} used for the estimation
R: Fixed-effects OLS estimation To use multiple dependent variables in fixest estimations, you need to include them in a vector: like in c (y1, y2, y3) First, if names are stored in a vector, they can readily be inserted in a formula to perform multiple estimations using the dot square bracket operator
Create, or interact variables with, factors — i • fixest To force a numeric variable to be treated as a factor, you can add the i prefix to a variable name For instance take a numeric variable x_num: i (x_fact, x_num) will treat x_num as numeric while i (x_fact, i x_num) will treat x_num as a factor (it's a shortcut to as factor (x_num))