Chpt 5 - Discrete Random Variables Flashcards
What is a random variable?
A variable whose possible values are:
-Numerical
-Depend on chance
What are the 2 types of random variables?
Discrete random variable
Continuous random variable
What is a variable whose possible values are numerical and are depending on chance?
Random variable
What is a discrete random variable?
A random variable whose possible values can be listed
(I understand this as whole numbers)
How do we show the distribution of a random variable?
We can use a graph, table, or formula to show:
-possible values
-relative frequency
(so what and how often)
What do we use to denote a random variable and the values that it can take
X - random variable
x - possible values the variable can take
What does P(X = 1) mean?
The probability of the variable being equal to 1
So 1 email address, 1 child at home, has 1 pet etc.
What does P(X < 2) mean?
The probability of the variable being less than 2
So 1 or no kids at home, maybe 1 or no pets for example
What is the value of:
P(X = x)
0 - 1
Because it is a probability
How do we denote the probability of a value of a random variable?
P(X = x)
P is probability
X is the random variable
x is the value the variable can take that we are looking at
What is the sum of all the probabilities of a random variable?
1
Each individual value will be between 0-1 as it is probabilities of the entire population. The entire population counted together is 1 (meaning its 100%)
Distribution of a value is:
x -1 0 1
X 0.5 0.3 0.4
Is this distribution correct? Why/why not?
No, because the sum is greater than 1
You have a distribution table as follows:
x 0 1 2
X 0.4 0.2 a
What should the value of a be?
a = 1 - 0.4 - 0.2 = 0.4
How do we describe the center when discuss the distribution of a discrete random variable?
Population means - but only if we have the population data available, if not, we use relative frequencies
What is the formula for determining the population mean of a discrete random variable X?
μ = ∑ xP(X=x)
So we multiply each value (x) by it’s own probability (P(X=x)) and then add up all of these to create the average, or mean (mu)
What are the steps to determining the population mean of a discrete random variable?
μ = ∑ xP(X=x)
- Multiply each possible value (x) and it’s corresponding probability ( P(X=x) )
- Add all the values in 1 up to determine the mean
We learned previously that
μ = (x1+x2+x3+…+xn) / N
Is how we determine the mean.
Why do we not divide by N in the formula used to find the mean of a discrete random variable as seen here:
μ = ∑ xP(X=x)
It’s about probability. To use the discrete random variable in
μ = ∑ xP(X=x)
equation, we multiply each value by it’s probability. Probability is found using:
P =f/N
So we have already divided by N before getting to the equation.
We did a survey looking at people who had dogs (X). If the probability of people having one dog (X=1) is 0.25, what is the value of xP(X=1) ?
xP(X=1) = 1 x 0.25 = 0.25
We did a survey of homes in Edmonton, and one of the variables was how many dogs did they have. How would we denote this variable?
A capital letter, such as A or X etc.
Any value we assign to that, such as 3 dogs, would use the lower case of the same letter so a or x etc.
We did a survey of homes in Edmonton, and one of the variables was how many dogs did they have. Now we are determining how many people who had 3 dogs. How would we denote the value of 3 dogs?
A lower case letter such as a or x etc.
You just have to make sure that it is the same letter, just a different case, as what you use to denote the variable.
So A is the number of dogs that a random family has (variable), and a is 3 dogs (value)
We did a survey of homes in Edmonton, and one of the variables was how many dogs did they have. What is the probability that a family has 3 dogs?
x 1 2 3 4
P(X=x) 0.2 0.4 0.3 0.1
P(X=3) = 0.3
We did a survey of homes in Edmonton, and one of the variables was how many dogs did they have. What is the xP(X=x) value of a family that has 3 dogs?
x 1 2 3 4
P(X=x) 0.2 0.4 0.3 0.1
xP(X=3)
3 x 0.3 = 0.9
We did a survey of homes in Edmonton, and one of the variables was how many dogs did they have. What is the mean for this discrete random variable?
x 0 1 2 3
P(X=x) 0.1 0.2 0.4 0.3
Step 1: Find x(PX=x) values
0 x 0.1 =0
1 x 0.2 = 0.2
2 x 0.4 = 0.8
3 x 0.3 = 0.9
Step 2: Find Sum of all
0 + 0.2 + 0.8 + 0.9 = 1.9
Mean is 1.9 dogs per home
You are playing Monopoly with Dani for $1 each game. The probability that you lose to Dani is 0.3, the probability that you win over Dani is 0.2, the probability that Dani gets mad and flips the table rendering no one a winner is 0.5.
How much money would I win or lose on average in a game?
What if we played 100 games?
X: times I win
x = 1 : I win
x = 0 : Dani flipped the table
x = -1 : Dani beat your ass
x P(X=x) xP(X=x)
1 0.2 0.2
0 0.5 0
-1 0.3 -0.3
μ=∑xP(x)
= 0.2 + 0 - 0.3
= -0.1
The average outcome is that I lose $0.10 per game
100 x -0.1 = -10
So in 100 games, I would lose $10…and my sanity