dgrtwo / ebbr

Empirical Bayes binomial estimation
Other
69 stars 13 forks source link

Extending ebbr past binomial distributions #10

Open michaelgaunt404 opened 3 years ago

michaelgaunt404 commented 3 years ago

Sorry this is not really an issue but I did not know of a better way to contact you.

I'm working through your book Empirical Bayes: Examples from Baseball Statistics! and it's a huge blast and a lot of fun but I've been having a hard time extending the concepts in the book and ebbr past success/total analyses.

I can extrapolate the book and package to something like k% (strikeouts/batters) or SwStr% (pitches swung at/pitches thrown) for pitchers but start to get conceptually tripped up for more complex, composite metrics like wOBA. Can ebbr be applied to metrics like this, if not, would you be able to point me in the direction of something in the same vein?

Also, do you have any idea of the implications of using ebb_fit_prior() fitted values in composite metrics?