-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use unweighted variance for denominator for weighted smd #14
Conversation
I don't have opinions on this TBH. Do other users? @ddsjoberg @asb2111. |
I like the idea of making it an option. I agree with the argument from Griefer and Stuart, but I can also imagine cases where you aren’t specifically looking to compare before/after weighting, for instance if the weights are just case weights. |
Yeah, if we're to include unweighted variance, it should be an option -- it's not clear to me the best UI for that option. |
Good call! I've taken an initial stab at adding this argument to |
Well, life happened, but I have finally added in some tests of the weighted and unweighted variances. Let me know what you think. |
@nuvanrath - The changes here seem enough to me to bump version to |
@bsaul, I've been thinking more about SMDs and came across this note in the documentation for Noah Greifer's
cobalt
package, citing a couple papers by Elizabeth Stuart:I've made minor tweaks so that the unadjusted variance is used as the denominator in
n_mean_var
. This would be a breaking change, though how often and how much the results would change is unclear to me. I suppose this could also be an argument, whether the user wants the unadjusted or adjusted variance as the denominator. Let me know what you think