Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.

Similar presentations


Presentation on theme: "Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition."— Presentation transcript:

1

2 Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition

3 - NIH Ethics Certification (required; due next Friday) - Next Spreadsheet Assignment due March 16 - Chapter 12 Moodle Quiz (optional) - Questions on Moodle Quiz 9? - Let’s take a quick look at Spreadsheet Assignment 7

4 The idea of probability Chance behavior is unpredictable in the short run, but has a regular and predictable pattern in the long run. RANDOMNESS AND PROBABILITY We call a phenomenon random if individual outcomes are uncertain but there is nonetheless a regular distribution of outcomes in a large number of repetitions. The probability of any outcome of a random phenomenon is the proportion of times the outcome would occur in a very long series of repetitions.

5 Big probability question in statistics Is this event likely to have happened by chance (randomness), or is something else going on?

6 Tea firstMilk first Smart lady?

7 The test: 8 cups of tea “Null” hypothesis: The lady does not have the ability to tell. But getting all 8 correct just by guessing is pretty unlikely, so if she can do it, we might be willing to reject our null hypothesis and believe her.

8 Can you pass the “lady tasting tea” test?

9

10

11

12

13 Find your partner and grab a white board

14 Estimate the probability of… The top card of a well-shuffled deck of cards being the ace of hearts You knowing the first name of a randomly selected student at EMU For a randomly chosen person, the probability that they will find someone who they love and who loves them You knowing about the topic of a randomly chosen Wikipedia article A randomly selected Black male spending time in prison at some point in his life (Bureau of Justice Statistics, bjs.gov) The British lady passing the tea tasting test by chance

15 Two probabilities that we will often be working with are 0.95 and 0.05. What are some real life events that have (very roughly) these probabilities?

16 When rolling a 6-sided dice one time, what’s the chance of getting either a 2 or a 5? (1/6) + (1/6) = 2/6

17 When rolling a 6-sided dice one time, what’s the chance of getting either an even number or a number less than 4? (3/6) + (3/6) = 6/6? NO!

18 Sum Law of Probability The probability of at least one of two events happening is the probability of each one happening minus the probability of both of them happening. P(A or B) = P(A) + P(B) – P(A and B)

19 When rolling a 6-sided dice one time, what’s the chance of getting either an even number or a number less than 4? (3/6) + (3/6) – (1/6) = 5/6

20 When rolling two 6-sided dice, what’s the chance of rolling an 11?

21 Probability models Sample Space 36 Outcomes Sample Space 36 Outcomes Since the dice are fair, each outcome is equally likely. Each outcome has probability 1/36. Since the dice are fair, each outcome is equally likely. Each outcome has probability 1/36. Example: Give a probability model for the chance process of rolling two fair, six-sided dice―one that’s red and one that’s green.

22 Benford’s Law Let’s say you had a dataset with the populations of every village, town, and city in the U.S. Now, for each population, keep the first digit and throw the rest away. What portion of these first digits would be 7s? 1s? 9s?

23 Something like this? http://datagenetics.com/blog/march52012/index.html

24 Benford’s law http://datagenetics.com/blog/march52012/index.html

25 Benford’s law http://datagenetics.com/blog/march52012/index.html

26 Benford’s law http://datagenetics.com/blog/march52012/index.html

27 The moral: When calculating a probability, don’t automatically assume that all outcomes are equally likely!

28 When rolling a 6-sided dice three times, what’s the chance of getting an even number all three times? (1/2)*(1/2)*(1/2) = 1/8

29 Multiplication Law of Probability If A and B are independent events, then the probability that both will happen is the product of the individual probabilities. P(A and B) = P(A)P(B)

30 Gambler’s fallacy

31 Unnumbered art Page 298, The Basic Practice of Statistics, © 2015 W. H. Freeman, Darrell Walker/HWMS/Icon SMI/Newscom Hothand fallacy

32 When rolling a 6-sided dice two times, what’s the chance of getting doubles? 6*(1/6)*(1/6) = 6/36 = 1/6 (1)*(1/6) = 1/6

33 When rolling a 6-sided dice two times, what’s the chance of getting at least one 1? 1 – (5/6)*(5/6) = 11/36

34 Complement Law The probability of an event not happening is 1 minus the probability of the event happening. (Example: If there’s a 30% chance of rain tomorrow, then there’s a 70% chance there won’t be rain tomorrow, because 1 – 0.30 = 0.70)

35 Probability rules 1. Any probability is a number between 0 and 1. 2. All possible outcomes together must have probability 1. Because some outcome must occur on every trial, the sum of the probabilities for all possible outcomes must be exactly 1. 3. If two events have no outcomes in common, the probability that one or the other occurs is the sum of their individual probabilities. 4. The probability that an event does not occur is 1 minus the probability that the event does occur. The probability that an event occurs and the probability that it does not occur always add to 100%, or 1.

36 Factorials : n! = n*(n-1)*(n-2) … (2)*(1) Example: 5! = 5 * 4 * 3 * 2 * 1

37 When rolling a 6-sided dice two times, what’s the chance of getting double 1s? (1/6) * (1/6) = 1/36

38 When rolling a 6-sided dice three times in a row, what’s the chance of getting a run? (for example, a 3, then a 4, then a 5) – (5,4,3 is not a run) (4/6)*(1/6)*(1/6) = 4/216

39 When rolling a 6-sided dice three times in a row, what’s the chance of getting three different numbers? (i.e., you don’t roll the same number twice) (1)*(5/6)*(4/6) = 20/36

40 Counting: The hardest part of a probability is often figuring out the number of ways to get a “success”. This is called counting.

41 How many arrangements are there for the letters in MATH? 4*3*2*1 = 4! = 24

42 How many arrangements are there for the letters in GOSPEL? 6! = 720

43 How many arrangements are there for the letters in MOMMY? 5! / 3! = 20

44 How many arrangements are there for the letters in STATISTICS? 10! / (3!3!2!) = 50,400

45 How many 3-letter arrangements are there for the letters in GOSPEL? 6*5*4 = 120

46 How many 2-letter arrangements are there for the letters in STATISTICS? 10*9 - (2!2!2!) = 82 ways

47 How many 2-letter arrangements are there for the letters in STATISTICS? 10*9 - (2!2!2!) = 82 ways WRONG!!

48 How many 2-letter arrangements are there for the letters in STATISTICS? Case 1: C or A first = 2*4 = 8 ways Case 2: I,T,S first = 3*5 = 15 ways Total = 8 + 15 = 23 ways

49 How many ways can 6 people sit around a circular table? 1 person sits down anywhere; 5 choices for the spot to the left, etc. 5*4*3*2*1 = 5! = 120 ways

50 How many ways can 3 guys and 3 girls sit around a circular table if they must alternate? 1 guy sits down anywhere; 3 choices for the spot to the left, etc. 3*2*2*1*1 = 12 ways

51 How many ways can 6 people sit around a circular table? 1 person sits down anywhere; 5 choices for the spot to the left, etc. 5*4*3*2*1 = 5! = 120 ways

52 How many ways can 6 people sit around a circular table if there are 2 people who can NOT sit by each other? 5! – (2*(4!)) = 72 ways

53 How many natural numbers less than 10,000 have no 5s in them? (9^4) - 1 = 6,560 numbers

54 Search for randomness* Computer programs, including applets Random number table Physical means, such as tossing coins or rolling dice “Chaos theory” Quantum mechanics

55 Fill in the 20 boxes as randomly and as quickly as possible HTHHTHTTTH THTHHHTHTT

56 Now repeat the experiment with actual flips of a coin


Download ppt "Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition."

Similar presentations


Ads by Google