EC124 T2: Univariate and Bivariate distributions Flashcards

(16 cards)

1
Q

How do we define a discrete random variable with a probability density function (4,1)

A

-Function X assigns to each element of C a real number X(c) = x
-Suppose X is a scalar random variable with a finite number of values
-Let Px(x) be a function where px(x) > 0
-∑Px(X) = 1

-Then X is a discrete random variable with probability density function PC(x), and p(a<x<b) = ∑b, x = a f(x)

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

What is the cumulative distribution function of a discrete random variable (3)

A

-fx(x0) = p(x≤0) = ∑x≤0 px(c)
-This is monotonic, as more is always better
-p(a<x<b) = f(b) - f(a)

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

How do you work out the median, mode and mean/expectation for a discrete random variable (2,1,2)

A

-Median: for discrete random variable x, if p(x≤x0) = 0.5, and p(x≥x0) = 0.5, x0 is the median
-Integrate the probability distribution function and equal it to a half

-Mode: the value of x where px(x) is maximised

-Mean/Expected value: x1P(x1) + x2P(x2) + …
-E(X) = ∑PiXi μx

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

How does the expected value change to transformations (2)

A

-E(x+a) = E(X) + a
-E(ax) = aE(X)

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

What is the variance and how does it change to transformations (2,2)

A

-The variance is the average squared deviations from the mean
-V(x) = E(X2) - (E(X))2

-V(X+a) = v(x)
v(ax) = a2v(X)

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

What must a valid bivariate probability density function define (2)

A

A probability for each pair of events (x1i, x2j) such that:
-P(x1i n x2j ≥ 0)
-ΣiΣjp(x1i n x2j) = 1

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

What is the marginal probability density function (2,1)

A

-For the bivariate case, consider event x1 = x1i, where x1 = x1i, and x2 takes any possible value
-The probability is ΣjP(x1i, x2j)

-You keep event x1 constant at one specific result, whilst changing x2

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

What is covariance (2,2)

A

-Covariance is a measure of association between 2 random variables
-Covariance measures both series in terms of deviations from their respective means and then measures the expected value of the cross-product of the 2 terms

The 2 elements of covariance include:
-A measure of sign showing +ive/-ive deviations, associated with +ive/-ive deviations of x2
-Size of how big the deviations are (bigger dev = bigger cov)

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

What is the formula for covariance (2)

A

-E(XY) - E(X)E(Y)
-E(X - E(X))(Y - E(Y))

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

How to graphically represent covariance (5,3)

A

-Have a graph with x1 on the x axis, x2 on the y axis
-On the x1 and x2 axis label all the possible events (x1 = 1, 2, 3, x2 = 1, 2)
-Draw points at each of these events (x1 = 1 n x2 = 1 …), the bigger the point representing the higher the probability of occuring
-Draw straight lines on the axis from E(X1) and E(X2)
-Q1 = Top left, Q2 = top right, Q3 = bottom left, Q4 = bottom right

-Q2 and Q3 are positive, as both (X1 - E(X1)) and (X2 - E(X2)) are either positive or negative, Q1 and Q4 are negative for similar reason
-The covariance formula is saying on average, do points lie predominantly in the +ive or -ive quadrants

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

What is the expected value formula for a bivariate distribution with transformations
(2)

A

-E(X + Y) = E(X) + E(Y)
-E(aX + bY) = aE(X) + bE(Y)

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

What is the variance formula for a bivariate/trivariate distribution (2)

A

-V(X + Y) = V(X) + V(Y) + 2cov(X, Y)
(to work out, do (x+y)2 then x2 = v(x), y2 = v(y), 2xy = 2cov(x,y))
-V(X + Y - Z) = V(X) + V(Y) + V(Z) + 2cov(X, Y) - 2cov(X, Z) - 2cov(Y, Z)

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

What is the conditional probability density function for X and Y (2)

A

-P(x1i|x2j) = p(x1i n x2j)/p(x2j)
-P(X = 7|Y=1) = P(X = 7 n Y = 1)/P(Y = 1)

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

What is the variance with conditionality (2)

A

-V(X) = E(V(X|Y)) + V(E(X|Y))
-Variance = average of conditional variances, weighted by likelihood + variance of conditional means

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

How can we define probability density function fx(x) for a random continuous variable (4)

A

-If x is a scalar random variable along the real line
-fx(x) ≥ 0
-∫fx(x) dx = 1
-Then x is a continuous random variable with probability density function fx(x)

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

How do you calculate the median and expected value for a continuous random variable (2)

A

-Median = ∫0 a f(x) = 1/2
-E(x) = ∫xf(x) dx (for all x values in the domain) = ∑xp(x)