-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathnotation.Rmd
More file actions
43 lines (27 loc) · 911 Bytes
/
Copy pathnotation.Rmd
File metadata and controls
43 lines (27 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
title: "notation"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{notation}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
## Notational conventions in this class
- Capital letters ("$X$"): random variables
- Lowercase letters ("$x$"): observed data
- Greek letters ("$\alpha$"): parameters
- $P(X=x)$: Probability mass
- shorthand: $P(x) \equiv P(X=x)$
- $p(X=x)$: Probability density
- shorthand: $p(x) = p(X=x)$.
- Note: $p(x) = \frac{d}{dx} P(x)$
- $E[X]$ \equiv $\mu[X]$ is the mean of the distribution of $X$.
More precisely, $E[X]$ is the mean of set of the possible values ("range") of $X$, weighted by their probability density or mass.
$$E[X] = \sum_{x\in R(X)} x \cdot P(X=x)$$
$$E[X] = \int_{x\in R(X)} x \cdot P(X=x) dx$$