Top Banner
29

First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Dec 21, 2015

Download

Documents

Jane Harrington
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.
Page 2: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.
Page 3: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

First we need to understand the variables.

A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which is an example of a discrete random variable. These variables can also be in interval form like the range of the mid 50% of SAT scores in which they are known as continuous random variables.

Page 4: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

More on Discrete Random Variables

• X has a countable number of possible values

• Has to take in account whether or not it is asking for less or greater than and less than or equal equal to

• X> 2 is different from X≥ 2• The probability of X> 2 is .6• Probability of X≥ 2 is .9

1 2 3 4

.1 .3 .4 .2

Page 5: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Probability of Discrete Random Variables

• The probability has to be between 0 and 1

• Sum of probabilities is 1

• P1 + P2 + … + Pk = 1

• Ex from last slide: .1 + .3 + .4 + .2 = 1

Page 6: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

If simpler terms don't work for you...

Page 7: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Another Example

1 2 3 4 5 6 7

.05 .3 .2 .15 .02 .05 .23

Page 8: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Example continued:

• Let us say that we wanted to know X = 4, X < 4, and X ≤ 4

• X = 4’s probability would be .15 since we want to know what is the probability of 4 and nothing else

• X < 4 is equivalent to X ≤3 since it is everything under 4. The probability of it would be .55 since 1’s probability of .05 + 2’s probability of .3 + 3’s probability of .2 = .55

• X≤ 4 is everything below 4 including 4 itself. So in addition of having .05 + .3 + .2, we include the value of 4 into the probability. The probability of X≤4 is .7

Page 9: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Probability Histograms

• Histograms can show probability distribution and distribution of data

• The most likely is 3 because it has the highest probability with .4

• The least likely is 1 which has a probability of .1

• It is easy to compare different distributions with histograms

Page 10: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Continuous Random Variables

• It takes all the numbers in an interval• It ignores signs like ≤ or ≥ and treats them

just like < or >• Think of it like a spinner.• It doesn’t land exactly on one point, but instead there are manynumbers that are in between the different numbers

Page 11: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Uniform Distribution and Continuous Random Variables

• We want all outcomes to be equally likely

• Can’t assign a probability to an individual outcome

• We assign probabilities to areas under a density curve

• Use ranges for probability• like P(0 < X < .5) = .5• P (0 < x < .2) = .2• P(.5 < x ≤ .8) = .3

Page 12: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

ALL Individual outcomes have a probability of 0

• Since it is continuous, you can’t get 1 exact point

• Say it was .5, .5 has no length on the uniform distribution.

• It only has length if it is < or >

Page 13: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Normal Distributions as Probability Distributions

• Normal distributions are probability distribution

• N(μ, δ ) notation for Normal distribution

• μ is the mean

• δ is the standard deviation

• Formula for standardizing

Page 14: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Normal Distributions as Probability Distributions continued

• To find the probability of <x, follow the z score formula and change from z score into probability

• To find >x, do the z score formula, convert z score into probability and then find the complement of it ( 1 – p ) and that is the probability that it will be above

Page 15: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Example

• A radar unit is used to measure speeds of cars on a motorway. The speeds are normally distributed with a mean of 90 km/hr and a standard deviation of 10 km/hr. What is the probability that a car picked at random is travelling at more than 100 km/hr?

Page 16: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Example continued

• N(μ, δ ) = N(90, 10) Car goes on average 90 kilometers/hour with a standard deviation of 10kilometers/hour

• P( X > 100 ) Trying to find probability of car going faster than 100kilometers/hour

• Z = (100 – 90)/ 10• Z = 1• 1 = .8413• Because we are trying to find greater than 100, we have

to do 1 - .8413 which is .1587

Page 17: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

X: (a value of a discrete random variable)

P(x): the probability of the x value occuring

To find the mean multiply X by P(x) for each pair and add the products together.

The mean is represented by

The mean of discrete random variables

(1x.10) + (2x.30)...

Page 18: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Too many letters >.<

Page 19: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Example continued

• You can also do it with a calculator• 2nd, Vars, normalcdf( ,• For lower you would enter 100 since we are trying to find greater

than 100• Upper you can basically put it as an insanely high number like

9999999999999999999999999999999999• μ would be 90 since that is the average speed of the cars• δ you would put 10 since that is the standard deviation that was

given• Then paste it and hit enter and you should .1586552596 which is

slightly different than using the z-score table, but that is due to round off error.

Page 20: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Simplify it further• Input X in L1 and P(x)

in L2• Click stat, go right to

calc, select 1-Var Stats

• type (L1,L2)• ENTER is your mean for the

discrete random variables

Page 21: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Finding the variance of a discrete random variable

The variance of discrete variables can be found by subtracting the mean of the data set from each individual variable and squaring the difference. Then multiply the result by the probability of that X value. Repeat for each variable and add each answer to eachother.

((x1-mean)^2)xP1 + ((x2-mean)^2)xP2....

Page 22: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Or...

Just get the variance from squaring the standard deviation from 1-Var Stats (L1,L2)

Page 23: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Stardard deviation of discrete variables?

If you don't know how to get the standard deviation from the variance

Just square root the variance...

Page 24: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Textbook Version

Page 25: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

The LAW of large numbers

Meaning:

the average of the

values of X observed in

many trials must

approach the mean.

Page 26: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

Rules for means

Rule one: If X is a random variable and a and b are fixed numbers, then the mean of a plus b times x= a+ b times the mean of x. The face I made when I attempted to understand this formula:

Rule two: If x and y are two independent random variables, then the mean of X and Y is equal to the sum of the mean of X and the sum of the mea of Y

Page 27: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

The Rules of Variances

Page 28: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

最终的 27 Total Brutal Hours Spent Developing this PowerPoint between our group members.

This is how we prepared

Page 29: First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.

5 5 5 5 20

100