1 / 19

ENGR 224/STAT 224 Probability and Statistics Lecture 7

ENGR 224/STAT 224 Probability and Statistics Lecture 7. Example: Casinos.

carol-yates
Download Presentation

ENGR 224/STAT 224 Probability and Statistics Lecture 7

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ENGR 224/STAT 224 Probability and StatisticsLecture 7

  2. Example: Casinos • In casinos when the manager suspects cheating at a dice table, the manager will compare the frequency distribution of the actual sample outcomes to a theoretical model that describes the frequency distribution likely to occur with fair dice. • The above is an example of inferential statistics. • However, before we begin making inferences we must have an understanding of the theoretical models used.

  3. Definition: Random Variable • A random variable assigns a numerical value to each outcome of an experiment. • Notation: A random variable X (upper case) takes on values x(lower case). • Example: Consider a test with 4 true/false questions on it. Let the random variable X be the number of correct responses, then x can take on values of 0, 1, 2, 3, 4

  4. Definitions: Discrete and Continuous Random Variables • A discrete random variable has either a finite number of values or a countably infinite set of values. • A Bernoulli random variable is any discrete random variable with only two values. • A continuous random variable has infinitely many values, usually over intervals.

  5. Definition: Probability Distribution • A probability distribution or probability mass function (pmf) , p(x), gives the probability for each value of the random variable x;

  6. Example: Satellites in orbit Suppose 3 satellites are launched into space. Let X denote the number of satellites that go into orbit. Describe the random variable X, and calculate its probability distribution. The likelihood of each outcome is equal. Sample Space ooo oom omo moo omm mom mmo mmm Assign X 3 2 2 2 1 1 1 0 Probability Distribution: x P(X = x) 0 1/8 1 3/8 2 3/8 3 1/8

  7. Properties of Probability, P( X = xi )

  8. Example: IBM Computer Sales The IBM computer company finds that the probabilities of selling 0, 1, 2, 3, and 4 computers in one day are .245, .370, .210, .095, .080 respectively. A) Is this a probability distribution? B) Calculate the probability of selling 2 or 3 computers in a day. C) Calculate the probability of at least 4 computers being sold.

  9. Example: IBM Computer Sales Solutions: • A) Each probability is positive and less than 1 so property (1) of probability distributions is true. The sum of the probabilities equals 1 so property (2) is also satisfied. • B) 210 + .095 = .305 • C) .080

  10. Definition: Cumulative Distribution Function • A cumulative distributionfunction (cdf), F(x) of a probability mass function p(x), gives the probability that the value of the random variable is at most x;

  11. Example: IBM Computer Sales The IBM computer company finds that the probabilities of selling 0, 1, 2, 3, and 4 computers in one day are .245, .370, .210, .095, .080 respectively. What is the cdf?

  12. Definition: Probability using cdf • The probability that a random variable X is greater than or equal to a and less than or equal to b is

  13. Definition: Expected Value or Mean • The mean of a discrete random variable X is • N.B. • The p(xi) are the probabilities of X = xi , or p(xi) = P(X= xi) • Mean is also called the Expected Value, denoted as E(X) • If the random variable represents a theoretical model then m = the population mean

  14. Example: IBM Computer Sales The IBM computer company finds that the probabilities of selling 0, 1, 2, 3, and 4 computers in one day are .245, .370, .210, .095, .080 respectively. What is the mean number of computers being sold? Solution: m = 0(.245)+1(.370)+2(.210)+3(.095)+4(.080) = 1.395

  15. Example: Expected Value Consider playing the following dice game. To play one must pay 1 dollar to roll the die. If you roll a six you receive 5 dollars. Anything else you loose. Calculate the expected value of the net winnings. Solution: Let X = net winnings = WIN - LOSS X P(X = xi) -1 5/6 4 1/6 Therefore the expected net winnings is E(X) = -1(5/6)+4*(1/6) = -1/6 dollars about 17 cents loss

  16. In planning a huge outdoor concert for June 16, the producer estimates the attendance will depend on the weather according to the following table. She also finds out from the local weather office what the weather has been like, for June days in the past 10 years. Weather Attendance Relative Frequency wet, cold 5,000 .20 wet, warm 20,000 .20 dry, cold 30,000 .10 dry, warm 50,000 .50 What is the expected (mean) attendance? The tickets will sell for $9 each. The costs will be $2 per person for the cleaning and crowd-control, plus $150,000 for the band, plus $60,000 for administration (including the facilities). Would you advise the producer to go ahead with the concert, or not? Why? Example: Concert Planning

  17. Problem 11 Problem 15 Problem 23 Practice Problems

  18. Overview • Definitions: Random Variables, Probability Distribution, Probability Mass Function, Cumulative Mass Function • Discrete Probability Distributions • Mean or Expected Value,

  19. Homework • For next class do problem set • Reread sections 3.1, 3.2, • Read sections 3.3, 3.4.

More Related