{'fraction_non_alphanumeric': 0.01740294511378849, 'fraction_numerical': 0.0, 'mean_word_length': 5.448275862068965, '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}}
Bayesian Confidence Interval for the Difference of Two Proportions in the Matched-Paired Design

This article studies the construction of Bayesian confidence interval for the difference of two proportions in the matched-pair design, and applies it to the equiva-lence or non inferiority test. Under the Dirichlet prior distribution, the exact posterior distribution of difference of two proportions is derived. The tail confidence interval and the highest posterior density (HPD) interval are studied, and their frequentist performance are investigated by simulation in terms of the mean coverage probability of interval. Our results suggest to use tail interval at Jeffreys prior for testing equivalence or non inferiority in matched-pair design.