3. Discrete Random Variables Flashcards

1
Q

What is a pmf?

A

For a discrete random variable X, we define the probability mass function (p.m.f. for short) pX to be pX(x) := P(X = x).

  1. pX(x) ≥ 0 ∀x ∈ R.
  2. Probability mass functions must ‘sum to 1’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a cdf?

A

We define the cumulative distribution function, FX of a random variable X (discrete or continuous) to be FX(x) := P(X ≤ x).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is the cdf in terms of the pdf?

A

FX(x) := P(X ≤ x) = the sum from a≤x,a∈RX of all pX(a).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a quantile and percentile?

A

For α ∈ [0, 1] the α quantile (or 100 × α percentile) is the
smallest value of x such that FX(x) ≥ α.
The median is the 0.5 quantile.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define expectation (mean).

A

The expectation E(X) of a discrete random variable X is
defined as
E(X) := the sum from (x∈RX) of all xP(X = x).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define Variance

A

Var(X) : = E{X − E(X)}^2 = E{(X − µX)^2}.

Var(X) = E(X^2) − E(X)^2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

E(aX+b) and Var(aX+b)

A

E(aX+b) =aE(x) + b

Var(aX+b) = a^2Var(X)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Bernoulli Distribution

A

A Bernoulli r.v. can take values of 0 and 1 only. px(1) = p.

E(X) = p, Var(X) = p(1-p)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Binomial Distribution

A

pmf: pX(x) = (n! / x!(n − x)!) p^x (1 − p)^(n−x).
E(X) = np
Var(X) = np(1 − p)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Poisson Distribution

A

Used to represent count data: to number of times something happens within some finite interval.
pX(x) = e^(−λ) λ^x / x!
E(X) = Var(X) = λ.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Geometric Distribution

A
pX(x) = (1 − p)^(x−1) p
FX(x) = 1 − (1 − p)^x
E(X) = 1 / p
Var(X) = (1 − p) / p^2.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Joint pmf

A

P{(X=x)∩(Y=y)}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Joint cdf

A

P{(X ≤ x) ∩ (Y ≤ y)}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The expectation of the sum of two random variables E(X+Y) is

A

E(X) + E(Y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Covariance

A

The covariance between two random variables X and Y is
Cov(X, Y) = E{(X-µx)(Y-µy)}
or, Cov(X, Y) = E(XY) - E(X)E(Y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Correlation

A

Cor(X, Y ) := Cov(X, Y) / sqrt(Var(X) Var(Y))

17
Q

What is the variance of X + Y, where X and Y are random variables?

A

Var(X+Y) = Var(X) + Var(Y) + 2Cov(X, Y)