Topic 4 - Discrete Random Variables Flashcards

1
Q

What is a random variable?

A

Given an experiment with sample space S, a random variable is a function from the sample space S to the real numbers R

So a random variable X assigns a numerical value X(s) to each possible outcome s of the experiment

For example the random variable where rolling a dice could be the ‘number of times 4 comes up’

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

What is the difference between a discrete and continuous random variable?

A

See notes image

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

Give 2 examples of a random experiment stating what the X and random variable would/could be

A

Random Experiment: Roll a dice twice
Let X be the r.v. ‘number of times 4 comes up’
then X can take value 0, 1, or 2

Random Experiment: Toss a coin twice
Sample space of four outcomes {HH, HT, TH, TT}
Let X be the r.v. ‘number of heads’, which can take values 0, 1 and 2.
X(HH)=2; X(HT)=X(TH)=1, X(TT)=0

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

What is the random variable denoted as?

A

Uppercase X

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

What is a probability distribution function (PDF)/probability mass function (PMF)?

A

A function which describes the probability that random variable X takes specific value x

Written as: P(X = x)

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

What is a probability distribution function (PDF) also known as?

A

Probability mass function (PMF)

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

What is a probability mass function (PMF) also known as?

A

Probability distribution function (PDF)

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

What are the properties of probability distribution?

A

The probabilities can be greater than or equal to 0 but must be less than or equal to 1

The individual probabilities must sum to 1

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

What is the difference between the probability mass/distribution function and the cumulative distribution function?

A

Probability mass/distribution function is the probability that X takes the value of x … P(X = x)

Cumulative distribution function is the probability that X takes a range of x values … P(X<=x0) for example

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

What is the expected value or mean of a discrete distribution?

A

Expected value denoted by E(x)

E(x) = the sum of (the variable x multiplied by the probability of that x occurring)

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

What must you remember about expected value/mean?

A

E(x) (the sum of the variable x multiplied by the probability of that x occurring) equals 1

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

How do you calculate the variance of a discrete random variable X?

A

Variance (sigma^2) = E(X-mu)^2 = sum of (x - mu)^2 * P(x)

… variance (sigma squared) is equal to the sum of all the x values minus the mean squared times by the respective probabilities

… for each x value minus the mean mu squared, you times by the respective probability

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

How do you calculate the standard deviation of a discrete random variable X?

A

Standard deviation (sigma) = the root of the variance = the root of E(X-mu)^2 = the root of the sum of (x - mu)^2 * P(x)

… standard deviation (sigma) is equal to the root of the sum of all the x values minus the mean squared times by the respective probabilities

… for each x value minus the mean mu squared, you times by the respective probability

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

What is the variance if all the values take the form of a constant a and the expected value is also a?

A

Variance is 0 as all values are equal to constant a

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

What is the expected value if all the values take the form of a constant a?

A

E (a) = a

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

When you have a constant say b multiplied by the discrete random variable X what must you do?

A

E (bX) = bE (X)

When you have a constant say b multiplied by the discrete random variable X you multiply the same constant b by the expected value of the discrete random variable X

17
Q

How would you work out the variance when you have a constant say b multiplied by the discrete random variable X?

A

Var (bX) = b^2 * sigma^2 (for x)

NOTE that even though the constant is b that is being multiplied by the discrete random variable X, you still multiply the variance (sigma^2 for x) by b^2 (b squared) to find the variance when the discrete random variable X is multiplied by constant b

18
Q

What is key to remember about the variance of a constant?

A

It is 0

19
Q

What is key to remember about what to do when you have a constant being multiplied by the discrete random variable X?

A

Take the constant to the outside and multiply the expected value of the discrete random X by the constant
… E (bX) = bE (X)

20
Q

Applying what we have learned, what is the expected value of Y when it is equal to a + bX (… Y = a + bX)?

A

E (Y) = E (a + bX) = a + bE (X)

this means that the expected value of Y is equal to the expected value of a + bX which is equal to (applying the principles we have learned) a plus b multiplied by the expected value of the discrete random variable X

21
Q

Applying what we have learned, what is the variance of Y when it is equal to a + bX (… Y = a + bX)?

A

Sigma^2 for Y = Var (a + bX) = b^2 * sigma^2 (for x)

Variance (sigma squared) for Y is equal to the variance of a + bX which is equal to the just the variance of x multiplied by the constant squared as the constant a has a variance of 0 (as learned earlier)

22
Q

Applying what we have learned, what is the standard deviation of Y when it is equal to a + bX (… Y = a + bX)?

A

Sigma^2 for Y = Var (a + bX) = b^2 * sigma^2 (for x)

Sigma (for Y) = b * sigma (for x)

Variance (sigma squared) for Y is equal to the variance of a + bX which is equal to the just the variance of x multiplied by the constant squared as the constant a has a variance of 0 (as learned earlier)

Standard deviation of Y is equal to the constant b multiplied by sigma for x (the root of b squared times sigma squared)

23
Q

What is the variance of 2 random variables X and Y?

A

Var (X + Y) = Var (X) + Var (Y) + 2 cov

EXPLAINED LATER APPARENTLY