summary' method for the class ei'.
Usage
# S3 method for class 'ei'
summary(object, ...)References
Gary King (1997). A Solution to the Ecological Inference Problem. Princeton: Princeton University Press.
Examples
data(sample_ei)
formula <- t ~ x
dbuf <- ei(formula = formula, total = "n", data = sample_ei)
#> ℹ Running 2x2 ei
#> ℹ Maximizing likelihood for `erho` = 0.5.
#> ℹ Running 2x2 ei
#> ✔ Running 2x2 ei [1ms]
#>
#> ⠙ Beginning importance sampling.
#> ✔ Beginning importance sampling. [80ms]
#>
summary(dbuf)
#>
#> ── Summary ─────────────────────────────────────────────────────────────────────
#>
#> ── Erho ──
#>
#> 0.5
#>
#>
#> ── Esigma ──
#>
#> 0.5
#>
#>
#> ── Ebeta ──
#>
#> 0.5
#>
#>
#> ── N ──
#>
#> 75
#>
#>
#> ── Resamp ──
#>
#> 22
#>
#>
#> ── Maximum likelihood results in scale of estimation (and se's) ──
#>
#> Bb0 Bw0 sigB sigW rho Zb0 Zw0
#> -1.1533845 0.8214511 -2.2860120 -1.8816353 0.4128456 0 0
#> 0.1010396 0.1017911 0.2489234 0.1575911 0.3654937 0 0
#>
#>
#> ── Untruncated psi's ──
#>
#> BB BW SB SW RHO
#> 0.198537 0.7276286 0.1045091 0.1552543 0.3733942
#>
#>
#> ── Truncated psi's (ultimate scale) ──
#>
#> BB BW SB SW RHO
#> 0.2042261 0.71488 0.09799781 0.1411995 0.3158756
#>
#>
#> ── Aggregate Bounds ──
#>
#> betab betaw
#> lower 0.09549504 0.3979843
#> upper 0.60893461 0.8031228
#>
#>
#> ── Estimates of Aggregate Quantities of Interest ──
#>
#> mean sd
#> Bb 0.2035611 0.012311631
#> Bw 0.7178513 0.009714708
#>
#>
#> ── Precision ──
#>
#> 4
#>
