specification_curve icon indicating copy to clipboard operation
specification_curve copied to clipboard

Add a couple of diagnostics for variance

Open aeturrell opened this issue 1 year ago • 1 comments

See specr for some inspiration.

  • bar chart of the variance in coefficient explained by each type of variable (eg y vs controls)
  • box plot of the variation in coefficient

aeturrell avatar May 17 '24 09:05 aeturrell

For the variance decomposition, cannot use an approach based on mixed effects models via pymer as has non-Python dependencies. Should be in principle possible to do with statsmodels, see last example in page on variance component analysis.

aeturrell avatar May 24 '24 22:05 aeturrell