Extract data frame for lm_fixed_coeff
resid_lm_fixed.Rd
According to parameter fixed_var
, computes a new explained variable, which is the explained variable minus the product between estimated coefficients and values of the fixed variables.
Arguments
- x
lm
model- fixed_var
list of variables that don't vary through time according to hansen_test