Welcome to Introduction to Probability and Statistics Spring

Similar documents
MTH 245: Mathematics for Management, Life, and Social Sciences

Permutations and Combinations

Well, there are 6 possible pairs: AB, AC, AD, BC, BD, and CD. This is the binomial coefficient s job. The answer we want is abbreviated ( 4

CHAPTER 8 Additional Probability Topics

LESSON 4 COMBINATIONS

Objectives: Permutations. Fundamental Counting Principle. Fundamental Counting Principle. Fundamental Counting Principle

CS1800: Permutations & Combinations. Professor Kevin Gold

Board Question 1. There are 5 Competitors in 100m final. How many ways can gold silver and bronze be awarded? May 27, / 28

Chapter 11, Sets and Counting from Applied Finite Mathematics by Rupinder Sekhon was developed by OpenStax College, licensed by Rice University, and

6/24/14. The Poker Manipulation. The Counting Principle. MAFS.912.S-IC.1: Understand and evaluate random processes underlying statistical experiments

UNIT 2. Counting Methods

chapter 2 COMBINATORICS 2.1 Basic Counting Techniques The Rule of Products GOALS WHAT IS COMBINATORICS?

Permutations, Combinations and The Binomial Theorem. Unit 9 Chapter 11 in Text Approximately 7 classes

Coding Theory on the Generalized Towers of Hanoi

Permutations. and. Combinations

Fundamental Counting Principle

TImath.com. Statistics. Too Many Choices!

Meet #4 February Intermediate Mathematics League of Eastern Massachusetts

Recreation Facility Hours

Course Learning Outcomes for Unit V

Mathematics Probability: Combinations

Trigonometric ratios 9B 1 a d b 2 a c b

W = {Carrie (U)nderwood, Kelly (C)larkson, Chris (D)aughtry, Fantasia (B)arrino, and Clay (A)iken}

CHAPTER 7 Probability

Unit 5, Activity 1, The Counting Principle

Probability. Engr. Jeffrey T. Dellosa.

Probability: Terminology and Examples Spring January 1, / 22

Introductory Probability

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

WHAT IS COMBINATORICS?

Triangle Similarity Bundle

Business Statistics. Chapter 4 Using Probability and Probability Distributions QMIS 120. Dr. Mohammad Zainal

NINJA CHALLENGE INSTRUCTIONS CONTENTS

Probability Concepts and Counting Rules

Probability (Devore Chapter Two)

Counting Things. Tom Davis March 17, 2006

Problem Set 2. Counting

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Math 1116 Probability Lecture Monday Wednesday 10:10 11:30

STAT 515 fa 2016 Lec 04 Independence, Counting Rules

smart board notes ch 6.notebook January 09, 2018

Number patterns on a spreadsheet

Unit 10 Arcs and Angles of Circles

TEST 6. 12, 7, 15, 4, 1, 10, Circle all the odd numbers.

THE ALGEBRA III MIDTERM EXAM REVIEW Name

Math 7 Notes - Unit 11 Probability

Combinatorics: The Fine Art of Counting

12th Bay Area Mathematical Olympiad

Case 1: If Denver is the first city visited, then the outcome looks like: ( D ).

2. The figure shows the face of a spinner. The numbers are all equally likely to occur.

Theory of Probability - Brett Bernstein

CH 13. Probability and Data Analysis

If a regular six-sided die is rolled, the possible outcomes can be listed as {1, 2, 3, 4, 5, 6} there are 6 outcomes.

COMPSCI 575/MATH 513 Combinatorics and Graph Theory. Lecture #30: The Cycle Index (Tucker Section 9.3) David Mix Barrington 30 November 2016

Chapter 5 - Elementary Probability Theory

Permutations and Combinations. Quantitative Aptitude & Business Statistics

Chapter 4: Probability and Counting Rules

THOMSON REUTERS INDICES EQUAL WEIGHT COMMODITY TOTAL RETURN INDEX

12.1 The Fundamental Counting Principle and Permutations

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

A Probability Work Sheet

Calendars. Grades 1-3

SPECIFICATION. Preliminary CHIP LED DEVICE

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

Discussion : Independence 1.6: Counting. Qingyang Xue based on slides from Zack While February 7, University of Massachusetts Amherst

Chapter 10A. a) How many labels for Product A are required? Solution: ABC ACB BCA BAC CAB CBA. There are 6 different possible labels.

Unit 6 - Number Games and Crayon Puzzles Unit 8 - Twos, Fives, and Tens Unit 7 - Color, Shape, and Size. Unit 9 - Blocks and Boxes.

Unit 1 Day 1: Sample Spaces and Subsets. Define: Sample Space. Define: Intersection of two sets (A B) Define: Union of two sets (A B)

Use this information to answer the following questions.

Unit 7 Central Tendency and Probability

Oct-09 Nov-09 Dec-09. Jan-10 Feb-10 Mar-10. Apr-10 May-10 Jun-10

Chapter 1. Probability

Grade 6 Math Circles March 9, 2011 Combinations

EECS 203 Spring 2016 Lecture 15 Page 1 of 6

Section Introduction to Sets

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

TEST (a) Write these numbers in order of increasing size. 12, 7, 15, 4, 1, 10, Circle all the odd numbers.

Chapter 3: Elements of Chance: Probability Methods

NATIONAL INSTITUTE OF ECONOMIC AND SOCIAL RESEARCH ESTIMATES OF MONTHLY GDP. Embargo until hours on 11 th January 2013

CS1800: More Counting. Professor Kevin Gold

Finite Math - Fall 2016

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

TOURNAMENT ROUND. Round 1

Poker: Probabilities of the Various Hands

Probability. Ms. Weinstein Probability & Statistics

THE ALGEBRA III MIDTERM EXAM REVIEW Name. This review MUST be turned in when you take the midterm exam

Permutations and Combinations

Advanced Intermediate Algebra Chapter 12 Summary INTRO TO PROBABILITY

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

Generalized Permutations and The Multinomial Theorem

Counting and Probability

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

Poker Hands. Christopher Hayes

Probability Rules. 2) The probability, P, of any event ranges from which of the following?

\\\v?i. EXERCISES Activity a. Determine the complement of event A in the roll-a-die experiment.

WEEK 7 REVIEW. Multiplication Principle (6.3) Combinations and Permutations (6.4) Experiments, Sample Spaces and Events (7.1)

Grade 6 Math Circles Fall Oct 14/15 Probability

Discrete Structures Lecture Permutations and Combinations

In how many ways can the letters of SEA be arranged? In how many ways can the letters of SEE be arranged?

Principles of Counting

Transcription:

Welcome to 18.05 Introduction to Probability and Statistics Spring 2018 http://xkcd.com/904/

Staff David Vogan dav@math.mit.edu, office hours Sunday 2 4 in 2-355 Nicholas Triantafillou ngtriant@mit.edu, office hours Friday 5 7 p.m. in 2-239A Guangyi Yue gyyue@mit.edu, office hours Sunday 8 10 a.m. room 2-333A Richard Zhang zrichard@mit.edu, office hours Saturday 2 4 room 2-490 February 7, 2018 2 / 32

Web site Course materials are at: http://math.mit.edu/~dav/05.dir/05.html There is an 18.05 Stellar site, but for now we re not using it. Site will have all reading materials and problem sets Copies of the slides with solutions to all problems discussed in class will be posted after each class February 7, 2018 3 / 32

Active Learning Read the general information slide on the web site. Before class Reading. Lecture will assume you ve done the reading. In class: Combination of lecture and problem solving We won t assume you ve completely mastered the reading. We will assume you ve read the reading. Use the Piazza discussion board link is on the web site. Bring questions to class. February 7, 2018 4 / 32

Class Class Time MW: Lecture/board questions No computer use in class on MW. F: R Studio bring your laptop In-class Groups Groups of 3. You will be able to choose your own group. If you need to find a group or your group needs a third person let us know and we ll help. R: for computation, simulation and visualization will teach you everything you need no hardcore programming. February 7, 2018 5 / 32

Problem Sets Usually due on Mondays Turn in to the 18.05 slots outside 4-174 by 9:30 AM Problem sets will be graded on the logic and explanation of your answer. Just writing a number is not enough! February 7, 2018 6 / 32

R, Piazza R Free open source package. Very easy to use and install. Instructions and a link for this are on the web site. Piazza We will use the Piazza discussion forum. Mostly for students to ask questions of each other. Sign up by following the link from our web site. February 7, 2018 7 / 32

Calendar, Information, Policies and Goals Everything above and more is on the web site! rtfw! February 7, 2018 8 / 32

For Next Time Familiarize yourself with the web site Install R and R Studio Sign up for Piazza and join our class. (Link on the web site) Read class 1 notes (summary of what we ll do today) Go through the class 2 prep pages and answer the reading questions February 7, 2018 9 / 32

Platonic Dice February 7, 2018 10 / 32

Probability vs. Statistics Different subjects: both about random processes Probability Logically self-contained A few rules for computing probabilities One correct answer Statistics Messier and more of an art Seek probabilistic conclusions from experimental data No single correct answer February 7, 2018 11 / 32

Counting: Motivating Examples What is the probability of getting exactly 1 heads in 3 tosses of a fair coin? February 7, 2018 12 / 32

Poker Hands Deck of 52 cards 13 ranks: 2, 3,..., 9, 10, J, Q, K, A 4 suits:,,,, Poker hands Consists of 5 cards A one-pair hand consists of two cards having one rank and the remaining three cards having three other ranks Example: {2, 2, 5, 8, K } The probability of a one-pair hand is: (1) less than 5% (2) between 5% and 10% (3) between 10% and 20% (4) between 20% and 40% (5) greater than 40% February 7, 2018 13 / 32

Board question: Poker Hands Wikipedia https:en.wikipedia.ord/wiki/poker probability informs us that 1 There are 2,598,960 poker hands. 2 There are 1,349,088 hands containing exactly two cards of some rank (so a pair, but not three of that kind). 3 There are 123,552 hands containing two pairs (but not a full house). 4 There are 3,744 hands containing a full house. 5 There are 1,098,240 hands containing a pair and nothing more. The number in 5 is the number in 2, after subtracting full-house-hands and two-pair-hands. 1349088 123552 3744 = 1221792 1098240 What s wrong, Wikipedia? February 7, 2018 14 / 32

Sets in Words Old New England rule: don t eat clams (or any shellfish) in months without an r in their name. S = all months L = the month has 31 days R = the month has an r in its name S = {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec} L = {Jan, Mar, May, Jul, Aug, Oct, Dec} R = {Jan, Feb, Mar, Apr, Sep, Oct, Nov, Dec} L R = {Jan, Mar, Oct, Dec} = months with 31 days and an r February 7, 2018 15 / 32

Visualize Set Operations with Venn Diagrams S L R L R L R L c L R February 7, 2018 16 / 32

Product of Sets S T = {pairs (s, t) with s in S, t in T } SIZE of S T = (size of S) (size of T ) S T = S T. February 7, 2018 17 / 32

Inclusion-Exclusion Principle S B A B A February 7, 2018 18 / 32

Board Question A band consists of singers and guitar players. 7 people sing 4 play guitar 2 do both How many people are in the band? February 7, 2018 19 / 32

Rule of Product 3 shirts, 4 pants = 12 outfits (set of shirts) (set of pants) = set of outfits S T = S T More powerful than it seems. February 7, 2018 20 / 32

Concept Question: DNA DNA is made of sequences of nucleotides: A, C, G, T. How many DNA sequences of length 3 are there? (i) 12 (ii) 24 (iii) 64 (iv) 81 February 7, 2018 21 / 32

Concept Question: DNA DNA is made of sequences of nucleotides: A, C, G, T. How many DNA sequences of length 3 are there? (i) 12 (ii) 24 (iii) 64 (iv) 81 How many DNA sequences of length 3 are there with no repeats? (i) 12 (ii) 24 (iii) 64 (iv) 81 February 7, 2018 21 / 32

Board Question 1 There are 5 Competitors in 100m final. How many ways can gold, silver, and bronze be awarded? February 7, 2018 22 / 32

Board Question 2 I won t wear green and red together; I think black or denim goes with anything; Here is my wardrobe. Shirts: 3B, 3R, 2G; sweaters 1B, 2R, 1G; pants 2D,2B. How many different outfits can I wear? February 7, 2018 23 / 32

Solution answer: Suppose we choose shirts first. Depending on whether we choose red compatible or green compatible shirts there are different numbers of sweaters we can choose next. So we split the problem up before using the rule of product. A multiplication tree is an easy way to present the answer. Shirts Sweaters Pants 3 3 2 R B G 3 4 2 R,B R,B,G B,G 4 4 4 B, D B, D B, D Multiplying down the paths of the tree: Number of outfits = (3 3 4) + (3 4 4) + (2 2 4) = 100 February 7, 2018 24 / 32

Permutations Lining things up. How many ways can you do it? abc, cab are 2 of the 6 permutations of {a, b, c} ad, da, bc are three of the twelve permutations of two things from {a,b,c,d} February 7, 2018 25 / 32

Permutations of k from a set of n Give all permutations of 3 things out of {a, b, c, d} February 7, 2018 26 / 32

Permutations of k from a set of n Give all permutations of 3 things out of {a, b, c, d} abc abd acb acd adb adc bac bad bca bcd bda bdc cab cad cba cbd cda cdb dab dac dba dbc dca dcb Would you want to do this for 7 from a set of 10? February 7, 2018 27 / 32

Combinations Choosing subsets order doesn t matter. How many ways can you do it? February 7, 2018 28 / 32

Combinations of k from a set of n Give all combinations of 3 things out of {a, b, c, d} Answer: {a,b,c}, {a,b,d}, {a,c,d}, {b,c,d} February 7, 2018 29 / 32

Permutations and Combinations np k =number of permutations (ordered lists) of k things from n ( ) n nc k = =number of combinations (subsets) k of k things from n ( ) n! n np k = = n C k = n P k (n k)! k k! February 7, 2018 30 / 32

Permutations and Combinations abc acb bac bca cab cba {a, b, c} abd adb bad bda dab dba {a, b, d} acd adc cad cda dac dca {a, c, d} bcd bdc cbd cdb dbc dcb {b, c, d} Permutations: Combinations: 4P 3 ( 4 3) = 4 C 3 ( ) 4 = 4 C 3 = 4 P 3 3 3! February 7, 2018 31 / 32

Board Question (a) Count the number of ways to get exactly 3 heads in 10 flips of a coin. (b) For a fair coin, what is the probability of exactly 3 heads in 10 flips? February 7, 2018 32 / 32