DeclareDesign / estimatr

estimatr: Fast Estimators for Design-Based Inference
https://declaredesign.org/r/estimatr
Other
131 stars 20 forks source link

residuals #345

Open meghapsimatrix opened 4 years ago

meghapsimatrix commented 4 years ago

Is there any way to get residuals from models fit using lm_robust() ?

nfultz commented 4 years ago

Not via resid(), if that is what you mean. See also #123 to see which methods have been implemented.

An easy alternative is to do Y - fitted(model) if you are in a hurry.