
Check the extended Schwartz conditions and return the resulting bound
Source:R/gh_c6_5.R
Kldsupp.RdPrior mass on a Kullback-Leibler neighbourhood AND a test rate beating its radius are both required; either alone is insufficient. The margin C - c governs the bound.
Details
Formula: Pi(P_0) > 0 and K(p_0; P_0) <= c and C > c imply consistency; the working bound is e^{-(C - c) n} / Pi(P_0)
References
Ghosal & van der Vaart (2017), Fundamentals of Nonparametric Bayesian Inference, Theorem 6.17 (Extended Schwartz) together with Theorem 6.16. Read from the copy of the book held in the corpus.
Examples
Kldsupp(prior_mass = 0.5, kl_radius = 0.1, test_rate = 0.2, n = 100)
#> $holds
#> [1] 1
#>
#> $margin
#> [1] 0.1
#>
#> $bound
#> [1] 9.079986e-05
#>
#> $prior_mass
#> [1] 0.5
#>
#> $n
#> [1] 100
#>
#> $method
#> [1] "Extended Schwartz conditions, Ghosal Theorem 6.17"
#>
#> attr(,"class")
#> [1] "morie_rich_result" "list"