Download presentation
Presentation is loading. Please wait.
Published byJoleen Bell Modified over 9 years ago
1
5-1 Random Variables and Probability Distributions The Binomial Distribution
2
Random Variables Discrete – These variables take on a finite number of values, or a countable number of values Number of days absent Number of students taking a course Continuous – These variables can take on an infinite number of values on a number line Time it takes for students to drive home Gallons of gas you buy each time you go to the gas station (Typically length, temperature, volume, time, etc)
3
Probability Distribution A probability distribution is an assignment of probabilities to the specific values of a random variable, or to a range of values of the random variable. Discrete: probability assigned to each value of the random variable (and the sum = 1)
4
What does this mean? Lets look at a graph of a probability distribution of the discrete model, and see what it is:
5
How do we look at it?
6
It looks like A histogram, where the height is the relative probability (i.e. a RELATIVE FREQUENCY) and the bin is the particular number. Does this look familiar?? So what is the probability of choosing a 7 or a 3? P(7 or 3) =
7
Mean and Standard Deviation Probability distributions have a mean and standard deviation. For discrete population probability distributions, the mean and the standard deviation are given by formulas… Which letters will we use? and s or μ and σ? Population…. Anyone??
8
Mean and Standard Deviation Where x is the value of the random variable, P(x) is the probability of that variable and The sum is taken for all the values of that random variable. Notice – we are now discussing mean and standard deviation of something other than raw data… Sometimes this is called the expected value of a distribution - it is an AVERAGE value, or what can be thought of as a central point (cluster point) = Risk – the likelihood that a random variable is different from the mean
9
Lets consider the ways you can toss a coin four times Assume the coin is balanced (i.e. H and T equally likely) Assume also there is no memory (the coin doesn’t remember that the last toss was heads). There are sixteen outcomes, right? (1/2) 4 Lets draw out ALL possible outcomes
10
To assign a discrete random variable Let x = heads, so x = 0TTTT x = 1HTTT, THTT, TTHT, TTTH x = 2HHTT, HTHT, HTTH, THHT, THTH, TTHH x = 3HHHT, HHTH, HTHH, THHH x = 4HHHH
11
So the probability model would be… # of heads01234 Probability.0625.25.375.25.0625
12
Calculate the mean and SD of the distribution mean = 2 Standard Deviation = 1
13
Linear Functions of Random Variables Suppose I have a and b, which are constants. A new function L = a + bx (where x is a random variable) ALSO has a mean, variance and standard deviation.
14
Linear Functions of Random Variables Suppose I have a and b, which are constants. A new function L = a + bx (where x is a random variable) ALSO has a mean, variance and standard deviation.
15
Combining independent random variables To make a linear combination of two independent random variables x 1 and x 2, W = ax 1 + bx 2 and
16
Combining independent random variables To make a linear combination of two independent random variables x 1 and x 2, W = ax 1 + bx 2 and
17
What? All this is a way to look what happens when you transform data (for instance, if I take all the data and multiply by 2 then add 10, for rescaling purposes).
18
Application The manager of a computer company quickly shipped 2 computers to a client on the same day as the order. Unfortunately, the two computers were accidentally chosen from a stockroom with an inventory of 15 computers, 4 of which were refurbished. If one of the computer is refurbished it will be sent back at your expense ($100). If both are refurbished, the client will cancel the order this month and you will lose $1000. What is the expected value and standard deviation of your loss?
19
Sources http://www.mathworks.com/access/helpdesk/help/toolbox/stats /index.html?/access/helpdesk/help/toolbox/stats/f4218.htm
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.