Convenience accessor returning the headline IS-quality numbers for a
regime-(iii) fit: effective sample size and its ratio to is_size,
the largest self-normalised weight, the support fraction (proportion
of draws that received a finite weight), and the Monte-Carlo standard
error of the final KLD estimate. Returns NA fields for regimes that
do not use importance sampling.
Arguments
- fit
A gmm_fit.
Details
Validation-side numbers (validation_*) are populated only when the
fit was called with validation_size > 0.
Examples
fit <- fit_proxymix(banana_target(), N = 3L, regime = "kld",
is_size = 1500L, max_iter = 20L, seed = 1L,
validation_size = 1500L)
ess_summary(fit)
#> $is_size
#> [1] 1500
#>
#> $ess
#> [1] 1048.118
#>
#> $ess_relative
#> [1] 0.6987454
#>
#> $max_weight
#> [1] 0.005472202
#>
#> $support_fraction
#> [1] 1
#>
#> $mc_se_kld
#> [1] 0.009224739
#>
#> $validation_size
#> [1] 1500
#>
#> $validation_ess
#> [1] 1111.561
#>
#> $validation_ess_relative
#> [1] 0.7410408
#>
#> $validation_max_weight
#> [1] 0.003698124
#>
#> $validation_support_fraction
#> [1] 1
#>
#> $validation_kld
#> [1] 0.02868117
#>