Skip to content

Commit

Permalink
formatting issue 38
Browse files Browse the repository at this point in the history
  • Loading branch information
ethnyc committed Jan 15, 2017
1 parent 344b7b4 commit 7257915
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/preliminaries/probabilityreview/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h1 id="1-elements-of-probability">1. Elements of probability</h1>

<p><strong>Sample space</strong> Ω: The set of all the outcomes of a random experiment. Here, each outcome ω \in Ω can be thought of as a complete description of the state of the real world at the end of the experiment.</p>

<p><strong>Set of events (or event space) F</strong>: A set whose elements A \in F (called events) are subsets of Ω (i.e., A ⊆ Ω is a collection of possible outcomes of an experiment)</p>
<p><strong>Set of events (or event space) F</strong>: A set whose elements <script type="math/tex">A \in F</script> (called events) are subsets of Ω (i.e., A ⊆ Ω is a collection of possible outcomes of an experiment)</p>

<p><strong>Probability measure</strong>: A function <script type="math/tex">P : F \rightarrow I\!R</script> that satisfies the following <strong>properties</strong></p>
<ul>
Expand Down Expand Up @@ -264,7 +264,7 @@ <h3 id="continuous-case"><strong>Continuous case</strong>:</h3>
<h2 id="26-some-common-random-variables">2.6 Some common random variables</h2>

<h3 id="discrete-random-variables">Discrete random variables</h3>
<p><strong><script type="math/tex">X</script> ∼ Bernoulli(p)</strong> (where 0 \leq p \leq 1): one if a coin with heads probability p comes up heads, zero otherwise.</p>
<p><strong><script type="math/tex">X</script> ∼ Bernoulli(p)</strong> (where <script type="math/tex">0 \leq p \leq 1</script>): one if a coin with heads probability p comes up heads, zero otherwise.</p>
<div class="mathblock"><script type="math/tex; mode=display">
p(x)=\begin{cases}
p, & \text{if $$p = 1$$}. \\
Expand Down
4 changes: 2 additions & 2 deletions preliminaries/probabilityreview/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ In order to define a probability on a set we need a few basic elements,

**Sample space** Ω: The set of all the outcomes of a random experiment. Here, each outcome ω \in Ω can be thought of as a complete description of the state of the real world at the end of the experiment.

**Set of events (or event space) F**: A set whose elements A \in F (called events) are subsets of Ω (i.e., A ⊆ Ω is a collection of possible outcomes of an experiment)
**Set of events (or event space) F**: A set whose elements $$A \in F$$ (called events) are subsets of Ω (i.e., A ⊆ Ω is a collection of possible outcomes of an experiment)

**Probability measure**: A function $$P : F \rightarrow I\!R$$ that satisfies the following **properties**
* $$P(A) \geq 0$$, for all $$A \in F$$
Expand Down Expand Up @@ -181,7 +181,7 @@ E[g(X)] = \int^{\infty}_{-\infty} 1\{x \in A\} f_X(x) dx = \int_{x\in A} f_X(x)
## 2.6 Some common random variables

### Discrete random variables
**$$X$$ ∼ Bernoulli(p)** (where 0 \leq p \leq 1): one if a coin with heads probability p comes up heads, zero otherwise.
**$$X$$ ∼ Bernoulli(p)** (where $$0 \leq p \leq 1$$): one if a coin with heads probability p comes up heads, zero otherwise.
{% math %}
p(x)=\begin{cases}
p, & \text{if $$p = 1$$}. \\
Expand Down

0 comments on commit 7257915

Please sign in to comment.