DeclareDesign Community

Extract the within-group error from a lm_robust model

I am probably missing something, but is there any way to get the within-subject error for a panel model made using lm_robust? I am thinking of something analogous to the VarCorr function in nlme, which calculates within-group error:

Thank you so much!

Hi atolkin! I don’t think there is a way to do that – sorry!