SlideShare a Scribd company logo
1 of 24
Download to read offline
Welcome to 18.05

Introduction to Probability and Statistics

Spring 2014

http://xkcd.com/904/
January 1, 2017 1 / 24
R

Free open source package.
Very easy to use and install.
Instructions and a link for this are on MITx/18.05r.
January 1, 2017 2 / 24
Platonic Dice

January 1, 2017 3 / 24
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
Get experimental data and try to draw probabilistic
conclusions
No single correct answer
January 1, 2017 4 / 24
Counting: Motivating Examples
What is the probability of getting exactly 1 heads in 3

tosses of a fair coin?

January 1, 2017 5 / 24
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 rank
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%
January 1, 2017 6 / 24
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’

January 1, 2017 7 / 24
Visualize Set Operations with Venn Diagrams
S L R
L ∪ R L ∩ R Lc
L − R
January 1, 2017 8 / 24
Product of Sets
S × T = {(s, t)}

January 1, 2017 9 / 24
Inclusion-Exclusion Principle
S
AB A ∩ B
January 1, 2017 10 / 24
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?

January 1, 2017 11 / 24
Rule of Product
3 shirts, 4 pants = 12 outfits
(More powerful than it seems.)
January 1, 2017 12 / 24
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
January 1, 2017 13 / 24
Board Question 1
There are 5 Competitors in 100m final.

How many ways can gold, silver, and bronze be awarded?

January 1, 2017 14 / 24
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?

January 1, 2017 15 / 24
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.
R B G
R,B R,B,G B,G
B, D B, D B, D
3 3 2
3 4 2
4 4 4
Shirts
Sweaters
Pants
Multiplying down the paths of the tree:

Number of outfits = (3 × 3 × 4) + (3 × 4 × 4) + (2 × 2 × 4) = 100

January 1, 2017 16 / 24
Permutations
Lining things up. How many ways can you do it?
‘abc’ and ‘cab’ are different permutations of {a, b, c}
January 1, 2017 17 / 24
Permutations of k from a set of n
Give all permutations of 3 things out of {a, b, c, d}

January 1, 2017 18 / 24
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?
January 1, 2017 19 / 24
Combinations
Choosing subsets – order doesn’t matter.
How many ways can you do it?
January 1, 2017 20 / 24
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}
January 1, 2017 21 / 24
Permutations and Combinations
abc
abd
acd
bcd
acb
adb
adc
bdc
bac
bad
cad
cbd
bca
bda
cda
cdb
cab
dab
dac
dbc
cba
dba
dca
dcb
Permutations:
4P3
�
4
3
�
= 4C3 =
4P3
3!
{a, b, c}
{a, b, d}
{a, c, d}
{b, c, d}
Combinations:
4
3 = 4C3
January 1, 2017 22 / 24
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?
January 1, 2017 23 / 24
MIT OpenCourseWare
https://ocw.mit.edu
18.05 Introduction to Probability and Statistics
Spring 2014
For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.

More Related Content

What's hot

Ecolier 07
Ecolier 07Ecolier 07
Ecolier 07NDU
 
Quiz bowl review for interim i
Quiz bowl review for interim iQuiz bowl review for interim i
Quiz bowl review for interim iTeach5ch
 
8.3 factorisation lesson
8.3 factorisation lesson8.3 factorisation lesson
8.3 factorisation lessonsaintderel
 
Edu 201 multiplication table
Edu 201 multiplication tableEdu 201 multiplication table
Edu 201 multiplication tableHelen
 
Algebra Rules - Addition and Subtraction - Corollary
Algebra Rules -  Addition and Subtraction - CorollaryAlgebra Rules -  Addition and Subtraction - Corollary
Algebra Rules - Addition and Subtraction - CorollaryPangala Nagendra Rao
 
Interactive Voting - 1997 mathematics paper a
Interactive Voting - 1997 mathematics paper aInteractive Voting - 1997 mathematics paper a
Interactive Voting - 1997 mathematics paper aQwizdom UK
 
Econometrics and statistics mcqs part 1
Econometrics and statistics mcqs part 1 Econometrics and statistics mcqs part 1
Econometrics and statistics mcqs part 1 punjab university
 
GMAT Quant Strategy- What to expect in Quantitative Reasoning Section on the ...
GMAT Quant Strategy- What to expect in Quantitative Reasoning Section on the ...GMAT Quant Strategy- What to expect in Quantitative Reasoning Section on the ...
GMAT Quant Strategy- What to expect in Quantitative Reasoning Section on the ...CrackVerbal
 
3. Mathematics Quiz - Mental ability
3. Mathematics Quiz - Mental ability3. Mathematics Quiz - Mental ability
3. Mathematics Quiz - Mental abilityJayanth Rajakumar
 
1997 mathematics paper b
1997 mathematics paper b1997 mathematics paper b
1997 mathematics paper bQwizdom UK
 
Math module 3 lesson 4
Math module 3   lesson 4Math module 3   lesson 4
Math module 3 lesson 4NRWEG3
 
2013 ecolier - canada
2013   ecolier - canada2013   ecolier - canada
2013 ecolier - canadaNDU
 
Math Assessment annual class 7
Math Assessment annual class 7Math Assessment annual class 7
Math Assessment annual class 7Arvind Saini
 
Turning Point Multiply By Two Digits
Turning Point Multiply By Two DigitsTurning Point Multiply By Two Digits
Turning Point Multiply By Two Digitsdianagamez
 
[Dwibahasa] modul latihan asas matematik tahun 4
[Dwibahasa] modul latihan asas matematik tahun 4[Dwibahasa] modul latihan asas matematik tahun 4
[Dwibahasa] modul latihan asas matematik tahun 4Rosmini Abdul Rahman
 

What's hot (18)

Ecolier 07
Ecolier 07Ecolier 07
Ecolier 07
 
Quiz bowl review for interim i
Quiz bowl review for interim iQuiz bowl review for interim i
Quiz bowl review for interim i
 
8.3 factorisation lesson
8.3 factorisation lesson8.3 factorisation lesson
8.3 factorisation lesson
 
Class1 algebra and arithmetic
Class1 algebra and arithmeticClass1 algebra and arithmetic
Class1 algebra and arithmetic
 
Edu 201 multiplication table
Edu 201 multiplication tableEdu 201 multiplication table
Edu 201 multiplication table
 
Algebra Rules - Addition and Subtraction - Corollary
Algebra Rules -  Addition and Subtraction - CorollaryAlgebra Rules -  Addition and Subtraction - Corollary
Algebra Rules - Addition and Subtraction - Corollary
 
Interactive Voting - 1997 mathematics paper a
Interactive Voting - 1997 mathematics paper aInteractive Voting - 1997 mathematics paper a
Interactive Voting - 1997 mathematics paper a
 
Econometrics and statistics mcqs part 1
Econometrics and statistics mcqs part 1 Econometrics and statistics mcqs part 1
Econometrics and statistics mcqs part 1
 
GMAT Quant Strategy- What to expect in Quantitative Reasoning Section on the ...
GMAT Quant Strategy- What to expect in Quantitative Reasoning Section on the ...GMAT Quant Strategy- What to expect in Quantitative Reasoning Section on the ...
GMAT Quant Strategy- What to expect in Quantitative Reasoning Section on the ...
 
3. Mathematics Quiz - Mental ability
3. Mathematics Quiz - Mental ability3. Mathematics Quiz - Mental ability
3. Mathematics Quiz - Mental ability
 
1997 mathematics paper b
1997 mathematics paper b1997 mathematics paper b
1997 mathematics paper b
 
Survivor
SurvivorSurvivor
Survivor
 
Math module 3 lesson 4
Math module 3   lesson 4Math module 3   lesson 4
Math module 3 lesson 4
 
2013 ecolier - canada
2013   ecolier - canada2013   ecolier - canada
2013 ecolier - canada
 
Math Assessment annual class 7
Math Assessment annual class 7Math Assessment annual class 7
Math Assessment annual class 7
 
Ln22 mth7
Ln22 mth7Ln22 mth7
Ln22 mth7
 
Turning Point Multiply By Two Digits
Turning Point Multiply By Two DigitsTurning Point Multiply By Two Digits
Turning Point Multiply By Two Digits
 
[Dwibahasa] modul latihan asas matematik tahun 4
[Dwibahasa] modul latihan asas matematik tahun 4[Dwibahasa] modul latihan asas matematik tahun 4
[Dwibahasa] modul latihan asas matematik tahun 4
 

Similar to Introduction to probability and Statistics

Diamond mixed effects models in Python
Diamond mixed effects models in PythonDiamond mixed effects models in Python
Diamond mixed effects models in PythonPyData
 
Support Material for PSA (Class XI)
Support Material for PSA (Class XI)Support Material for PSA (Class XI)
Support Material for PSA (Class XI)Harjas Gulati
 
counting techniques
counting techniquescounting techniques
counting techniquesUnsa Shakir
 
Units 1 3 review
Units 1 3 reviewUnits 1 3 review
Units 1 3 reviewmlabuski
 
Easter egg math contest
Easter egg math contestEaster egg math contest
Easter egg math contestahopgood13
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voicesrr082090
 
Math review for 4th period exam
Math review for 4th period examMath review for 4th period exam
Math review for 4th period examDulce Garza
 
mba10_ppt_0204 (1).ppt
mba10_ppt_0204 (1).pptmba10_ppt_0204 (1).ppt
mba10_ppt_0204 (1).pptelyse43
 
Activities and Strategies to Teach KS Standards
Activities and Strategies to Teach KS StandardsActivities and Strategies to Teach KS Standards
Activities and Strategies to Teach KS Standardsmflaming
 
Final exam review sheet # 2 2015
Final exam review sheet # 2 2015Final exam review sheet # 2 2015
Final exam review sheet # 2 2015mlabuski
 
Middle school math quiz
Middle school math quizMiddle school math quiz
Middle school math quizITfC-Edu-Team
 
U11007410 statistics 111
U11007410   statistics 111U11007410   statistics 111
U11007410 statistics 111Ayoob Aboobaker
 
Math review for 4th period exam
Math review for 4th period examMath review for 4th period exam
Math review for 4th period examDulce Garza
 
Final exam review sheet # 3 2015
Final exam review sheet # 3 2015Final exam review sheet # 3 2015
Final exam review sheet # 3 2015mlabuski
 
Multiply and Divide, Big and Small
Multiply and Divide, Big and SmallMultiply and Divide, Big and Small
Multiply and Divide, Big and SmallAmanda Northrup
 
Hodder cambridge primary_maths_workbook_2
Hodder cambridge primary_maths_workbook_2Hodder cambridge primary_maths_workbook_2
Hodder cambridge primary_maths_workbook_2VBoNng
 

Similar to Introduction to probability and Statistics (20)

Speed mathematics
Speed mathematicsSpeed mathematics
Speed mathematics
 
Diamond mixed effects models in Python
Diamond mixed effects models in PythonDiamond mixed effects models in Python
Diamond mixed effects models in Python
 
Support Material for PSA (Class XI)
Support Material for PSA (Class XI)Support Material for PSA (Class XI)
Support Material for PSA (Class XI)
 
counting techniques
counting techniquescounting techniques
counting techniques
 
Units 1 3 review
Units 1 3 reviewUnits 1 3 review
Units 1 3 review
 
Easter egg math contest
Easter egg math contestEaster egg math contest
Easter egg math contest
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voices
 
Day3_PnC.pptx
Day3_PnC.pptxDay3_PnC.pptx
Day3_PnC.pptx
 
Math review for 4th period exam
Math review for 4th period examMath review for 4th period exam
Math review for 4th period exam
 
mba10_ppt_0204 (1).ppt
mba10_ppt_0204 (1).pptmba10_ppt_0204 (1).ppt
mba10_ppt_0204 (1).ppt
 
Activities and Strategies to Teach KS Standards
Activities and Strategies to Teach KS StandardsActivities and Strategies to Teach KS Standards
Activities and Strategies to Teach KS Standards
 
Final exam review sheet # 2 2015
Final exam review sheet # 2 2015Final exam review sheet # 2 2015
Final exam review sheet # 2 2015
 
Middle school math quiz
Middle school math quizMiddle school math quiz
Middle school math quiz
 
MathsX.pdf
MathsX.pdfMathsX.pdf
MathsX.pdf
 
U11007410 statistics 111
U11007410   statistics 111U11007410   statistics 111
U11007410 statistics 111
 
Math review for 4th period exam
Math review for 4th period examMath review for 4th period exam
Math review for 4th period exam
 
Algebra 3
Algebra 3Algebra 3
Algebra 3
 
Final exam review sheet # 3 2015
Final exam review sheet # 3 2015Final exam review sheet # 3 2015
Final exam review sheet # 3 2015
 
Multiply and Divide, Big and Small
Multiply and Divide, Big and SmallMultiply and Divide, Big and Small
Multiply and Divide, Big and Small
 
Hodder cambridge primary_maths_workbook_2
Hodder cambridge primary_maths_workbook_2Hodder cambridge primary_maths_workbook_2
Hodder cambridge primary_maths_workbook_2
 

Recently uploaded

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 

Recently uploaded (20)

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 

Introduction to probability and Statistics

  • 1. Welcome to 18.05 Introduction to Probability and Statistics Spring 2014 http://xkcd.com/904/ January 1, 2017 1 / 24
  • 2. R Free open source package. Very easy to use and install. Instructions and a link for this are on MITx/18.05r. January 1, 2017 2 / 24
  • 4. 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 Get experimental data and try to draw probabilistic conclusions No single correct answer January 1, 2017 4 / 24
  • 5. Counting: Motivating Examples What is the probability of getting exactly 1 heads in 3 tosses of a fair coin? January 1, 2017 5 / 24
  • 6. 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 rank 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% January 1, 2017 6 / 24
  • 7. 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’ January 1, 2017 7 / 24
  • 8. Visualize Set Operations with Venn Diagrams S L R L ∪ R L ∩ R Lc L − R January 1, 2017 8 / 24
  • 9. Product of Sets S × T = {(s, t)} January 1, 2017 9 / 24
  • 10. Inclusion-Exclusion Principle S AB A ∩ B January 1, 2017 10 / 24
  • 11. 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? January 1, 2017 11 / 24
  • 12. Rule of Product 3 shirts, 4 pants = 12 outfits (More powerful than it seems.) January 1, 2017 12 / 24
  • 13. 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 January 1, 2017 13 / 24
  • 14. Board Question 1 There are 5 Competitors in 100m final. How many ways can gold, silver, and bronze be awarded? January 1, 2017 14 / 24
  • 15. 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? January 1, 2017 15 / 24
  • 16. 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. R B G R,B R,B,G B,G B, D B, D B, D 3 3 2 3 4 2 4 4 4 Shirts Sweaters Pants Multiplying down the paths of the tree: Number of outfits = (3 × 3 × 4) + (3 × 4 × 4) + (2 × 2 × 4) = 100 January 1, 2017 16 / 24
  • 17. Permutations Lining things up. How many ways can you do it? ‘abc’ and ‘cab’ are different permutations of {a, b, c} January 1, 2017 17 / 24
  • 18. Permutations of k from a set of n Give all permutations of 3 things out of {a, b, c, d} January 1, 2017 18 / 24
  • 19. 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? January 1, 2017 19 / 24
  • 20. Combinations Choosing subsets – order doesn’t matter. How many ways can you do it? January 1, 2017 20 / 24
  • 21. 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} January 1, 2017 21 / 24
  • 23. 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? January 1, 2017 23 / 24
  • 24. MIT OpenCourseWare https://ocw.mit.edu 18.05 Introduction to Probability and Statistics Spring 2014 For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.