Dear all,
I have dataset which contains multiply imputed values (5 implicates) and survey weights & I am trying to estimate the standard deviation for the regressors using Rubin's combination rules.
The formula for the total variance is: T= W+ (6/5) B
where:
- W is the within imputation sampling variance (the average of the 5 complete data variance estimates (V)) : W= 1/5 Σ Vhat
- B is the between imputations variance (the variability due to imputation uncertainty): T= 1/4 Σ (Yhat- Ybar)^2
How can I create the loop for this estimation?
Thank you in advance.
BR
I have dataset which contains multiply imputed values (5 implicates) and survey weights & I am trying to estimate the standard deviation for the regressors using Rubin's combination rules.
The formula for the total variance is: T= W+ (6/5) B
where:
- W is the within imputation sampling variance (the average of the 5 complete data variance estimates (V)) : W= 1/5 Σ Vhat
- B is the between imputations variance (the variability due to imputation uncertainty): T= 1/4 Σ (Yhat- Ybar)^2
How can I create the loop for this estimation?
Thank you in advance.
BR