<jupyter_start><jupyter_text>Section 7.3 problems: 11, 15, 19, and 25<jupyter_code>_n = 62
_r = 39
_loc = .95
MyStats.ConfidenceIntervals.get_ci_for_binomial(n=_n, r=_r, level_of_confidence=_loc)<jupyter_output><empty_output><jupyter_text><jupyter_code>_n = 5792
_r = 3139
_loc = .99
MyStats.ConfidenceIntervals.get_ci_for_binomial(n=_n, r=_r, level_of_confidence=_loc)<jupyter_output><empty_output><jupyter_text><jupyter_code>_n = 730
_r = 628
_loc = .95
MyStats.ConfidenceIntervals.get_ci_for_binomial(n=_n, r=_r, level_of_confidence=_loc)<jupyter_output><empty_output><jupyter_text><jupyter_code>MyStats.SampleSizes.Binomial.without_p_estimate(level_of_confidence=.85, E=.05)
# 68
# print(round(8/90,3))
MyStats.SampleSizes.Binomial.with_p_estimate(p=.089, level_of_confidence=.85, E=.05)
# 208
# MyStats.SampleSizes.Binomial.min_value_of_n_for_p(p, expected_value)<jupyter_output><empty_output><jupyter_text><jupyter_code>MyStats.SampleSizes.Binomial.without_p_estimate(level_of_confidence=.99, E=.05)
# 666
MyStats.SampleSizes.Binomial.with_p_estimate(p=.54, level_of_confidence=.99, E=.05)
# 662
# MyStats.SampleSizes.Binomial.min_value_of_n_for_p(p, expected_value)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13061564059900166, 'fraction_numerical': 0.05823627287853577, 'mean_word_length': 10.567307692307692, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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}}
{'chain_length': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '132954', 'license': 'MIT', 'n_tokens_mistral': 584, 'n_tokens_neox': 519, 'n_words': 49, 'path': '7.3 Estimating p in the Binomial Distribution.ipynb', 'repo_name': 'mkolonay/StatBase', 'size': '1202'}