Skip to main content
. 2020 Oct 29;11:5467. doi: 10.1038/s41467-020-19270-2
1 for k ← 1 to K do
2 Fit the imputation model at site k to find α^(k) and Cov(α^(k));
3 Sample α1(k),,αM(k) independently from N(α^(k),Cov(α^(k)));
4 end
5 for m ← 1 to M do
6 for k ← 1 to K do Impute the missing data at site k based on αm(k)
7 Fit the analysis model and obtain θ^m and Cov(θ^m);
8 end
9 Combine the results by Rubin’s rule to obtain θ^ and Cov(θ^);