<commit_before># Cumulative Distribution Function

> [Geometric][geometric-distribution] distribution [cumulative distribution function][cdf].


<section class="intro">

The [cumulative distribution function][cdf] for a [geometric][geometric-distribution] random variable is

<!-- <equation class="equation" label="eq:geometric_cdf" align="center" raw="F(x;p)= \begin{cases}
0 &amp; \text{ for } x < 0 \\
1-(1 - p)^{\left\lfloor x \right\rfloor+1} &amp; \text{ otherwise}
 \end{cases}" alt="Cumulative distribution function for a geometric distribution."> -->

<div class="equation" align="center" data-raw-text="F(x;p)= \begin{cases}
0 &amp; \text{ for } x < 0 \\
1-(1 - p)^{\left\lfloor x \right\rfloor+1} &amp; \text{ otherwise}
 \end{cases}" data-equation="eq:geometric_cdf">
    <img src="" alt="Cumulative distribution function for a geometric distribution.">
    <br>
</div>

<!-- </equation> -->

where `0 <= p <= 1` is the success probability. `x` denotes the number of *failures* before the first success.

</section><commit_msg>Remove newlines in raw equation text<commit_after># Cumulative Distribution Function

> [Geometric][geometric-distribution] distribution [cumulative distribution function][cdf].


<section class="intro">

The [cumulative distribution function][cdf] for a [geometric][geometric-distribution] random variable is

<!-- <equation class="equation" label="eq:geometric_cdf" align="center" raw="F(x;p)= \begin{cases} 0 & \text{ for } x < 0 \\ 1-(1 - p)^{\left\lfloor x \right\rfloor+1} & \text{ otherwise} \end{cases}" alt="Cumulative distribution function for a geometric distribution."> -->

<div class="equation" align="center" data-raw-text="F(x;p)= \begin{cases} 0 &amp; \text{ for } x < 0 \\ 1-(1 - p)^{\left\lfloor x \right\rfloor+1} &amp; \text{ otherwise} \end{cases}" data-equation="eq:geometric_cdf">
    <img src="" alt="Cumulative distribution function for a geometric distribution.">
    <br>
</div>

<!-- </equation> -->

where `0 <= p <= 1` is the success probability. `x` denotes the number of *failures* before the first success.

</section>
{'fraction_non_alphanumeric': 0.17312290769966523, 'fraction_numerical': 0.011477761836441894, 'mean_word_length': 4.843575418994414, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 25, '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}}
{'dir': 'git-commits-cleaned', 'id': '4822974', 'n_tokens_mistral': 674, 'n_tokens_neox': 631, 'n_words': 200}