{'fraction_non_alphanumeric': 0.038781163434903045, 'fraction_numerical': 0.01662049861495845, 'mean_word_length': 5.127118644067797, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Study of Expansions of Posterior Distributions

Johnson (1970) obtained expansions for marginal posterior distributions through Taylor expansions. Here, the posterior expansion is expressed in terms of the likelihood and the prior together with their derivatives. Recently, Weng (2010) used a version of Stein's identity to derive a Bayesian Edgeworth expansion, expressed by posterior moments. Since the pivots used in these two articles are the same, it is of interest to compare these two expansions. We found that our O(t −1/2) term agrees with Johnson's arithmetically, but the O(t −1) term does not. The simulations confirmed this finding and revealed that our O(t −1) term gives better performance than Johnson's.