+ All Categories
Home > Documents > Discrete Uniform Distribution Discrete Uniform Distribution is a probability distribution whereby a...

Discrete Uniform Distribution Discrete Uniform Distribution is a probability distribution whereby a...

Date post: 28-Mar-2015
Category:
Upload: alexia-brassington
View: 229 times
Download: 0 times
Share this document with a friend
Popular Tags:
34
MEAN AND VARIANCE OF A DISTRIBUTION
Transcript
  • Slide 1

Slide 2 Discrete Uniform Distribution Discrete Uniform Distribution is a probability distribution whereby a finite number of equally spaced values are equally likely to be observed; every one of n values has equal probability 1/n. A simple example of the discrete uniform distribution is throwing a fair die. Slide 3 Continuous Uniform Distribution Continuous Uniform Distribution or Rectangular Distribution is a family of probability distributions such that for each member of the family, all intervals of the same length on the distribution's support are equally probable. Slide 4 Example -Uniform Distribution The uniform distribution: all values are equally likely. f(x)= 1, for 1 x 0 x p(x) 1 1 We can see its a probability distribution because it integrates to 1 (the area under the curve is 1): Slide 5 Example: Uniform Distribution Whats the probability that x is between 0 and ? P( x 0)= x p(x) 1 1 0 Slide 6 Expected Value and Variance All probability distributions are characterized by an expected value (mean) and a variance (standard deviation squared). Expected value is an extremely useful concept for good decision-making! Slide 7 Example: The Lottery A certain lottery works by picking 6 numbers from 1 to 49. It costs $1.00 to play the lottery, and if you win, you win $2 million. If you play the lottery once, what are your expected winnings or losses? Slide 8 Lottery x$p(x).999999928 + 2 million7.2 x 10 --8 Calculate the probability of winning in 1 try: The probability function (note, sums to 1.0): 49 choose 6 Out of 49 numbers, this is the number of distinct combinations of 6. Slide 9 Expected Value x$p(x).999999928 + 2 million7.2 x 10 --8 The probability function Expected Value E(X) = P(win)*$2,000,000 + P(lose)*-$1.00 = 2.0 x 10 6 * 7.2 x 10 -8 +.999999928 (-1) =.144 -.999999928 = -$.86 Negative expected value is never good! You shouldnt play if you expect to lose money! Slide 10 Expected Value If you play the lottery every week for 10 years, what are your expected winnings or losses? Slide 11 Expected Value If you play the lottery every week for 10 years, what are your expected winnings or losses? 520 x (-.86) = -$447.20 Slide 12 Expected Value of a Random Variable Expected value is just the average or mean () of random variable x. Its sometimes called a weighted average because more frequent values of X are weighted more highly in the average. Its also how we expect X to behave on-average over the long run (frequentist view again). Slide 13 Expected Value Discrete Case: Continuous Case: Slide 14 Symbol Interlude E(X) = These symbols are used interchangeably Slide 15 Example: Expected Value Consider the following Probability Distribution: x1011121314 P(x).4.2.1 Slide 16 Example - Expectation One thousand tickets are sold at $1 each for a colour television valued at $500. What is the Expected Value of gain if a person purchases one ticket ? Slide 17 Example - Expectation One thousand tickets are sold at $1 each for four prizes of $100, $50, $25 and $10. What is the Expected Value of winning a prize if a person purchases two tickets ? Slide 18 Variance/Standard Deviation 2 = Var(x) = E(x- ) 2 The expected (or average) squared distance (or deviation) from the mean Slide 19 Variance Discrete Case: Continuous Case: Slide 20 Symbol Interlude Var(X)= 2 SD(X) = these symbols are used interchangeably Slide 21 Practice Problem It costs $1.00 to play the lottery. The probability of winning the lottery is 18/38 and losing the lottery is 20/38. The mean (already calculated) is -$.053. Whats the variance of X ? Slide 22 Practice Problem Standard deviation is $.99. Interpretation: On average, youre either 1 dollar above or 1 dollar below the mean, which is just under zero. Makes sense! Slide 23 Theorem The variance of a random variable X is 2 = E(X 2 ) - 2 OR 2 = E(X 2 ) [E(X)] 2 Slide 24 Example Let the random variable X represent the number of defective parts for a machine when 3 parts are sampled from a production line and tested. Calculate Variance of the following Probability Distribution of X. x0123 f(x)0.510.380.100.01 Slide 25 Problem 1 Find the mean and the variance of the random variable X with probability function or density f(x): f(x) = 2x, (0 x 1) Slide 26 Problem 3 Find the mean and the variance of the random variable X with probability function f(x): X = Number a fair die turns up Slide 27 Problem 5 Find the mean and the variance of the random variable X with probability function or density f(x): Uniform distribution on [ 0, 8 ] Slide 28 Uniform Distribution f(x) = 1/b-a a x b 0 Otherwise F(x) = x-a/b-a a x b 0 Otherwise Slide 29 Problem 7 What is the expected daily profit, if a store sells X air conditioners per day with probability f(10) = 0.1, f(11) = 0.3, f(12) = 0.4, f(13) = 0.2, and profit per air conditioner is $55 ? Slide 30 Problem 9 If the mileage (in multiples of 1000 miles) after which a tyre must be replaced is given by the random variable X with density f(x) = e -x (x > 0). What mileage can you expect to get on one of these tyres? Also find the probability that a tyre will last at least 40,000 miles. Slide 31 Problem 11 A small filling station is supplied with gasoline every Saturday afternoon. Assume that its volume X of sales in ten thousands of gallons has the probability density f(x) = 6x ( 1 x ), if 0 x 1 and 0 otherwise. Determine the mean, variance and the standardized variable. Slide 32 Standardized Random Variable Z = X - Std Rand Variable = X - Mean Std Deviation Slide 33 Problem 13 Let X [cm] be the diameter of bolts in a production. Assume that X has the density f(x) = k ( x 0.9 ) ( 1.1 x ) if 0.9 < x < 1.1 and 0 otherwise. Determine k, sketch f(x), and find and 2. Slide 34 ASSIGNMENT NO 1 Briefly describe following with the help of examples: Role of Probability Relation between Probability and Statistical Inference Random Sampling Bayes Rule Joint Probability Distribution Hand Written assignments be submitted by 15 Nov 2012. Copying and Late Submissions will have appropriate penalty.


Recommended