Skip to content
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

Estimation effect (deff_est) #21

Open
djhurio opened this issue Dec 15, 2020 · 0 comments
Open

Estimation effect (deff_est) #21

djhurio opened this issue Dec 15, 2020 · 0 comments
Labels

Comments

@djhurio
Copy link
Contributor

djhurio commented Dec 15, 2020

Estimation effect (deff_est) could be wrong if the sum of calibrated weights (cw) is not equal to the sum of cw / g (pre-calibration weights). Probably corresponds only to the ratio estimation. The cause of the error is in the ratio linearization step.

To ensure correct estimation of the deff_est the sum of cw should be equal to the sum of cw / g.

Possible mitigation. The following adjustment of the g weights could be applied:

dat[, g_adj := g * sum(cw / g) / sum(cw)]
@djhurio djhurio added the bug label Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant