SlideShare a Scribd company logo
1 of 38
Download to read offline
Probability and Statistics
Week 2 – Mean and Standard Deviation, Probability Distribution
Dr. Ferdin Joe John Joseph
Joint Probability
• Probability of events A and B denoted by P(A and B) or P(A ∩ B) is the
probability that events A and B both occur.
• P(A ∩ B) = P(A). P(B)
• This only applies if A and B are independent, which means that if A
occurred, that doesn’t change the probability of B, and vice versa.
2
Conditional Probability
• A and B are not independent
• When A and B are not independent, it is often useful to compute the
conditional probability, P (A|B)
• The probability of A given that B occurred: P(A|B) =
P(A ∩ B)
P(B)
• Similarly, P(B|A) =
P(A ∩ B)
P(A)
3
• Joint probability of A and B can be denoted as
• P(A ∩ B)= p(A).P(B|A)
4
Bayes Theorem
5
Bayes Theorem
• Used in Naïve Bayes Classifier (Supervised Learning)
6
Probability Distribution
• A probability distribution is a list of all of the possible outcomes of a
random variable along with their corresponding probability values.
7
Discrete Probability Distribution
• If we consider 1 and 2 as outcomes of rolling a six-sided die, then we
can’t have an outcome in between that (e.g. We can’t have an
outcome of 1.5).
• This is called probability mass function
8
Mean
• Let the data points be 600, 470, 170, 430, 300
• Total elements n = 5
• Mean =
600 +470+170+430+300
5
=
1970
5
= 394
9
Variance
• Let the data points be 600, 470, 170, 430, 300
• Total elements n = 5
• Variance =
600 −𝑚𝑒𝑎𝑛 2
+ 470 −𝑚𝑒𝑎𝑛 2
+ 170 −𝑚𝑒𝑎𝑛 2
+ 430 −𝑚𝑒𝑎𝑛 2
+ 300 −𝑚𝑒𝑎𝑛 2
5
=
600 −394 2
+ 470 −394 2
+ 170 −394 2
+ 430 −394 2
+ 300 −394 2
5
10
Variance σ2
σ2= 108520/5
σ2= 21704
11
Standard Deviation
• Standard Deviation (SD) or σ = 𝑉𝑎𝑟𝑖𝑎𝑛𝑐𝑒
• σ = 21704 = 147.32
12
Probability Distribution
13
Example
14
Example
15
Discrete Probability Distributions
• A discrete random variable assumes each of its values with a certain
probability.
• In the case of tossing a coin three times, the variable X, representing
the number of heads, assumes the value 2 with probability 3/8, since
3 of the 8 equally likely sample points result in two heads and one
tail.
16
Discrete Probability Distribution
• the probability that no employee gets back the right helmet, that is,
the probability that M assumes the value 0, is 1/3. The possible
values m of M and their probabilities are
17
Discrete Probability Distribution
• Frequently, it is convenient to represent all the probabilities of a
random variable X by a formula. Such a formula would necessarily be
a function of the numerical values x that we shall denote by f(x), g(x),
r(x), and so forth. Therefore, we write f(x) = P(X = x); that is, f(3) = P(X
= 3).
• The set of ordered pairs (x, f(x)) is called the probability function,
probability mass function, or probability distribution of the discrete
random variable X.
18
Discrete Probability Distribution
19
Example
• A shipment of 20 similar laptop computers to a retail outlet contains 3
that are defective. If a school makes a random purchase of 2 of these
computers, find the probability distribution for the number of
defectives.
20
Solution
• Let X be a random variable whose values x are the possible numbers
of defective computers purchased by the school. Then x can only take
the numbers 0, 1, and 2.
21
Exercise
• If a car agency sells 50% of its inventory of a certain foreign car
equipped with side airbags, find a formula for the probability
distribution of the number of cars with side airbags among the next 4
cars sold by the agency.
22
Solution
23
Example
• Let the random variable X represents the number of boys in a family.
a) Construct the probability distribution for a family of two children.
b) Find the mean and standard deviation of X.
24
Solution
a) We first construct a tree diagram to represent all possible
distributions of boys and girls in the family.
25
Solution
• Assuming that all the above possibilities are equally likely, the
probabilities are:
• P(X=2) = P(BB) = 1 / 4
• P(X=1) = P(BG) + P(GB) = 1 / 4 + 1 / 4 = 1 / 2
• P(X=0) = P(GG) = 1 / 4
26
Solution
• The discrete probability distribution of X is given by
X P(X)
0 1 / 4
1 1 / 2
2 1 / 4
27
Solution
• Note that ∑ P(X) = 1
b) The mean µ of the random variable X is defined by
µ = ∑ X P(X)
= 0 * (1/4) + 1 * (1/2) + 2 * (1/4) = 1
28
Solution
• The standard deviation σ of the random variable X is defined by
SD = Square Root [ ∑ (X- µ) 2 P(X) ]
= (0 − 1) 2 ∗ (1/4) + (1 − 1) 2 ∗ (1/2) + (2 − 1) 2 ∗ (1/4)
= 1 / 2
= 1/1.414
29
Exercise
Two balanced dice are rolled. Let X be the sum of the two dice.
a) Obtain the probability distribution of X.
b) Find the mean and standard deviation of X.
30
Solution
a) When the two balanced dice are rolled, there are 36 equally likely
possible outcomes as shown below.
31
Solution
• The possible values of X are: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12.
• The possible outcomes are equally likely hence the probabilities P(X) are given by
• P(2) = P(1,1) = 1 / 36
• P(3) = P(1,2) + P(2,1) = 2 / 36 = 1 / 18
• P(4) = P(1,3) + P(2,2) + P(3,1) = 3 / 36 = 1 / 12
• P(5) = P(1,4) + P(2,3) + P(3,2) + P(4,1) = 4 / 36 = 1 / 9
• P(6) = P(1,5) + P(2,4) + P(3,3) + P(4,2) + P(5,1)= 5 / 36
• P(7) = P(1,6) + P(2,5) + P(3,4) + P(4,3) + P(5,2) + P(6,1) = 6 / 36 = 1 / 6
• P(8) = P(2,6) + P(3,5) + P(4,4) + P(5,3) + P(6,2) = 5 / 36
• P(9) = P(3,6) + P(4,5) + P(5,4) + P(6,3) = 4 / 36 = 1 / 9
• P(10) = P(4,6) + P(5,5) + P(6,4) = 3 / 36 = 1 / 12
• P(11) = P(5,6) + P(6,5) 2 / 36 = 1 / 18
• P(12) = P(6,6) = 1 / 36
32
Solution
• The discrete probability distribution of X is given by
• X P(X)
• 2 1 / 36
• 3 1 / 18
• 4 1 / 12
• 5 1 / 9
• 6 5 / 36
• 7 1 / 6
• 8 5 / 36
• 9 1 / 9
• 10 1 / 12
• 11 1 / 18
• 12 1 / 36
As an exercise, check that ∑ P(X) = 1 33
Solution
• b) The mean of X is given by
• µ = ∑ X P(X)
= 2*(1/36)+3*(1/18)+4*(1/12)+5*(1/9)+6*(5/36)+7*(1/6)+8*(5/36)
+9*(1/9)+10*(1/12)+11*(1/18)+12*(1/36)
= 7
34
Solution
• The standard deviation of is given by
SD = √ [ ∑ (X- µ) 2 P(X) ]
= √[ (2-7)2*(1/36)+(3-7)2*(1/18)
+(4-7)2*(1/12)+(5-7)2*(1/9)+(6-7)2*(5/36)
+(7-7)2*(1/6)+(8-7)2*(5/36)+(9-7)2*(1/9)
+(10-7)2*(1/12)+(11-7)2*(1/18)+(12-7)2*(1/36) ]
= 2.41
35
Exercise
1. Three coins are tossed. Let X be the number of heads obtained. Construct a probability
distribution for X and find its mean and standard deviation.
2. A fair coin is tossed twice. Let X be the number of heads that are observed.
• Construct the probability distribution of X.
• Find the probability that at least one head is observed.
3. A service organization in a large town organizes a raffle each month. One thousand raffle tickets
are sold for $1 each. Each has an equal chance of winning. First prize is $300, second prize is $200,
and third prize is $100. Let X denote the net gain from the purchase of one ticket.
• Construct the probability distribution of X.
• Find the probability of winning any money in the purchase of one ticket.
• Find the expected value of X, and interpret its meaning.
36
Solutions
• Click Here
37
38

More Related Content

What's hot

5.1 sequences and summation notation
5.1 sequences and summation notation5.1 sequences and summation notation
5.1 sequences and summation notationmath260
 
Lesson 10 conic sections - hyperbola
Lesson 10    conic sections - hyperbolaLesson 10    conic sections - hyperbola
Lesson 10 conic sections - hyperbolaJean Leano
 
Introduction to conic sections
Introduction to conic sectionsIntroduction to conic sections
Introduction to conic sectionsrey castro
 
Mean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMichael Ogoy
 
Chapter 1 random variables and probability distributions
Chapter 1   random variables and probability distributionsChapter 1   random variables and probability distributions
Chapter 1 random variables and probability distributionsAntonio F. Balatar Jr.
 
Quadratic inequality
Quadratic inequalityQuadratic inequality
Quadratic inequalityBrian Mary
 
Hyperbola (Introduction)
Hyperbola (Introduction)Hyperbola (Introduction)
Hyperbola (Introduction)rey castro
 
Mean of a discrete random variable.ppt
Mean of a discrete random variable.pptMean of a discrete random variable.ppt
Mean of a discrete random variable.pptccooking
 
32 conic sections, circles and completing the square
32 conic sections, circles and completing the square32 conic sections, circles and completing the square
32 conic sections, circles and completing the squaremath126
 
Converting normal to standard normal distribution and vice versa ppt
Converting normal to standard normal distribution and vice versa pptConverting normal to standard normal distribution and vice versa ppt
Converting normal to standard normal distribution and vice versa pptAilz Lositaño
 
General equation of a circle
General equation of a  circleGeneral equation of a  circle
General equation of a circlerey castro
 
Ellipse
EllipseEllipse
Ellipseitutor
 
Solving rational equations
Solving rational equationsSolving rational equations
Solving rational equationschrystal_brinson
 
Graphing rational functions
Graphing rational functionsGraphing rational functions
Graphing rational functionsrey castro
 

What's hot (20)

5.1 sequences and summation notation
5.1 sequences and summation notation5.1 sequences and summation notation
5.1 sequences and summation notation
 
MIDPOINT FORMULA
MIDPOINT FORMULAMIDPOINT FORMULA
MIDPOINT FORMULA
 
Lesson 10 conic sections - hyperbola
Lesson 10    conic sections - hyperbolaLesson 10    conic sections - hyperbola
Lesson 10 conic sections - hyperbola
 
Function and graphs
Function and graphsFunction and graphs
Function and graphs
 
Cube of binomial
Cube of binomialCube of binomial
Cube of binomial
 
Introduction to conic sections
Introduction to conic sectionsIntroduction to conic sections
Introduction to conic sections
 
Mean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random Variable
 
Chapter 1 random variables and probability distributions
Chapter 1   random variables and probability distributionsChapter 1   random variables and probability distributions
Chapter 1 random variables and probability distributions
 
Quadratic inequality
Quadratic inequalityQuadratic inequality
Quadratic inequality
 
Hyperbola (Introduction)
Hyperbola (Introduction)Hyperbola (Introduction)
Hyperbola (Introduction)
 
Mean of a discrete random variable.ppt
Mean of a discrete random variable.pptMean of a discrete random variable.ppt
Mean of a discrete random variable.ppt
 
Quartile (ungrouped)
Quartile (ungrouped)Quartile (ungrouped)
Quartile (ungrouped)
 
32 conic sections, circles and completing the square
32 conic sections, circles and completing the square32 conic sections, circles and completing the square
32 conic sections, circles and completing the square
 
Converting normal to standard normal distribution and vice versa ppt
Converting normal to standard normal distribution and vice versa pptConverting normal to standard normal distribution and vice versa ppt
Converting normal to standard normal distribution and vice versa ppt
 
Hyperbola
HyperbolaHyperbola
Hyperbola
 
General equation of a circle
General equation of a  circleGeneral equation of a  circle
General equation of a circle
 
Ellipse
EllipseEllipse
Ellipse
 
Discrete and Continuous Random Variables
Discrete and Continuous Random VariablesDiscrete and Continuous Random Variables
Discrete and Continuous Random Variables
 
Solving rational equations
Solving rational equationsSolving rational equations
Solving rational equations
 
Graphing rational functions
Graphing rational functionsGraphing rational functions
Graphing rational functions
 

Similar to Probability and Statistics - Week 2

Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributionsCikgu Marzuqi
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability DistributionsMunir Ahmad
 
powerpoints probability.pptx
powerpoints probability.pptxpowerpoints probability.pptx
powerpoints probability.pptxcarrie mixto
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributionsmandalina landy
 
Session 03 Probability & sampling Distribution NEW.pptx
Session 03 Probability & sampling Distribution NEW.pptxSession 03 Probability & sampling Distribution NEW.pptx
Session 03 Probability & sampling Distribution NEW.pptxMuneer Akhter
 
Statistical computing2
Statistical computing2Statistical computing2
Statistical computing2Padma Metta
 
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.pptvdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.pptCharlesElquimeGalapo
 
random variable and distribution
random variable and distributionrandom variable and distribution
random variable and distributionlovemucheca
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritSelvin Hadi
 
CENTRAL LIMIT THEOREM- STATISTICS AND PROBABILITY
CENTRAL LIMIT THEOREM- STATISTICS AND PROBABILITYCENTRAL LIMIT THEOREM- STATISTICS AND PROBABILITY
CENTRAL LIMIT THEOREM- STATISTICS AND PROBABILITYSharmaineTuliao1
 
Probability and Statistics : Binomial Distribution notes ppt.pdf
Probability and Statistics : Binomial Distribution notes ppt.pdfProbability and Statistics : Binomial Distribution notes ppt.pdf
Probability and Statistics : Binomial Distribution notes ppt.pdfnomovi6416
 
MATHS - Linear equation in two variable (Class - X) Maharashtra Board
MATHS - Linear equation in two variable (Class - X) Maharashtra BoardMATHS - Linear equation in two variable (Class - X) Maharashtra Board
MATHS - Linear equation in two variable (Class - X) Maharashtra BoardPooja M
 
Lecture Notes MTH302 Before MTT Myers.docx
Lecture Notes MTH302 Before MTT Myers.docxLecture Notes MTH302 Before MTT Myers.docx
Lecture Notes MTH302 Before MTT Myers.docxRaghavaReddy449756
 

Similar to Probability and Statistics - Week 2 (20)

Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 
powerpoints probability.pptx
powerpoints probability.pptxpowerpoints probability.pptx
powerpoints probability.pptx
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
 
Session 03 Probability & sampling Distribution NEW.pptx
Session 03 Probability & sampling Distribution NEW.pptxSession 03 Probability & sampling Distribution NEW.pptx
Session 03 Probability & sampling Distribution NEW.pptx
 
Probability-1.pptx
Probability-1.pptxProbability-1.pptx
Probability-1.pptx
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptx
 
Statistical computing2
Statistical computing2Statistical computing2
Statistical computing2
 
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.pptvdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
 
sample space formation.pdf
sample space formation.pdfsample space formation.pdf
sample space formation.pdf
 
random variable and distribution
random variable and distributionrandom variable and distribution
random variable and distribution
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskrit
 
CENTRAL LIMIT THEOREM- STATISTICS AND PROBABILITY
CENTRAL LIMIT THEOREM- STATISTICS AND PROBABILITYCENTRAL LIMIT THEOREM- STATISTICS AND PROBABILITY
CENTRAL LIMIT THEOREM- STATISTICS AND PROBABILITY
 
b
bb
b
 
P6 factoring
P6 factoringP6 factoring
P6 factoring
 
P6 factoring
P6 factoringP6 factoring
P6 factoring
 
Probability and Statistics : Binomial Distribution notes ppt.pdf
Probability and Statistics : Binomial Distribution notes ppt.pdfProbability and Statistics : Binomial Distribution notes ppt.pdf
Probability and Statistics : Binomial Distribution notes ppt.pdf
 
MATHS - Linear equation in two variable (Class - X) Maharashtra Board
MATHS - Linear equation in two variable (Class - X) Maharashtra BoardMATHS - Linear equation in two variable (Class - X) Maharashtra Board
MATHS - Linear equation in two variable (Class - X) Maharashtra Board
 
Lecture Notes MTH302 Before MTT Myers.docx
Lecture Notes MTH302 Before MTT Myers.docxLecture Notes MTH302 Before MTT Myers.docx
Lecture Notes MTH302 Before MTT Myers.docx
 

More from Ferdin Joe John Joseph PhD

Week 11: Cloud Native- DSA 441 Cloud Computing
Week 11: Cloud Native- DSA 441 Cloud ComputingWeek 11: Cloud Native- DSA 441 Cloud Computing
Week 11: Cloud Native- DSA 441 Cloud ComputingFerdin Joe John Joseph PhD
 
Week 10: Cloud Security- DSA 441 Cloud Computing
Week 10: Cloud Security- DSA 441 Cloud ComputingWeek 10: Cloud Security- DSA 441 Cloud Computing
Week 10: Cloud Security- DSA 441 Cloud ComputingFerdin Joe John Joseph PhD
 
Week 9: Relational Database Service Alibaba Cloud- DSA 441 Cloud Computing
Week 9: Relational Database Service Alibaba Cloud- DSA 441 Cloud ComputingWeek 9: Relational Database Service Alibaba Cloud- DSA 441 Cloud Computing
Week 9: Relational Database Service Alibaba Cloud- DSA 441 Cloud ComputingFerdin Joe John Joseph PhD
 
Week 7: Object Storage Service Alibaba Cloud- DSA 441 Cloud Computing
Week 7: Object Storage Service Alibaba Cloud- DSA 441 Cloud ComputingWeek 7: Object Storage Service Alibaba Cloud- DSA 441 Cloud Computing
Week 7: Object Storage Service Alibaba Cloud- DSA 441 Cloud ComputingFerdin Joe John Joseph PhD
 
Week 6: Server Load Balancer and Auto Scaling Alibaba Cloud- DSA 441 Cloud Co...
Week 6: Server Load Balancer and Auto Scaling Alibaba Cloud- DSA 441 Cloud Co...Week 6: Server Load Balancer and Auto Scaling Alibaba Cloud- DSA 441 Cloud Co...
Week 6: Server Load Balancer and Auto Scaling Alibaba Cloud- DSA 441 Cloud Co...Ferdin Joe John Joseph PhD
 
Week 5: Elastic Compute Service (ECS) with Alibaba Cloud- DSA 441 Cloud Compu...
Week 5: Elastic Compute Service (ECS) with Alibaba Cloud- DSA 441 Cloud Compu...Week 5: Elastic Compute Service (ECS) with Alibaba Cloud- DSA 441 Cloud Compu...
Week 5: Elastic Compute Service (ECS) with Alibaba Cloud- DSA 441 Cloud Compu...Ferdin Joe John Joseph PhD
 
Week 4: Big Data and Hadoop in Alibaba Cloud - DSA 441 Cloud Computing
Week 4: Big Data and Hadoop in Alibaba Cloud - DSA 441 Cloud ComputingWeek 4: Big Data and Hadoop in Alibaba Cloud - DSA 441 Cloud Computing
Week 4: Big Data and Hadoop in Alibaba Cloud - DSA 441 Cloud ComputingFerdin Joe John Joseph PhD
 
Week 3: Virtual Private Cloud, On Premise, IaaS, PaaS, SaaS - DSA 441 Cloud C...
Week 3: Virtual Private Cloud, On Premise, IaaS, PaaS, SaaS - DSA 441 Cloud C...Week 3: Virtual Private Cloud, On Premise, IaaS, PaaS, SaaS - DSA 441 Cloud C...
Week 3: Virtual Private Cloud, On Premise, IaaS, PaaS, SaaS - DSA 441 Cloud C...Ferdin Joe John Joseph PhD
 
Week 2: Virtualization and VM Ware - DSA 441 Cloud Computing
Week 2: Virtualization and VM Ware - DSA 441 Cloud ComputingWeek 2: Virtualization and VM Ware - DSA 441 Cloud Computing
Week 2: Virtualization and VM Ware - DSA 441 Cloud ComputingFerdin Joe John Joseph PhD
 
Week 1: Introduction to Cloud Computing - DSA 441 Cloud Computing
Week 1: Introduction to Cloud Computing - DSA 441 Cloud ComputingWeek 1: Introduction to Cloud Computing - DSA 441 Cloud Computing
Week 1: Introduction to Cloud Computing - DSA 441 Cloud ComputingFerdin Joe John Joseph PhD
 
Sept 6 2021 BTech Artificial Intelligence and Data Science curriculum
Sept 6 2021 BTech Artificial Intelligence and Data Science curriculumSept 6 2021 BTech Artificial Intelligence and Data Science curriculum
Sept 6 2021 BTech Artificial Intelligence and Data Science curriculumFerdin Joe John Joseph PhD
 
Transforming deep into transformers – a computer vision approach
Transforming deep into transformers – a computer vision approachTransforming deep into transformers – a computer vision approach
Transforming deep into transformers – a computer vision approachFerdin Joe John Joseph PhD
 

More from Ferdin Joe John Joseph PhD (20)

Invited Talk DGTiCon 2022
Invited Talk DGTiCon 2022Invited Talk DGTiCon 2022
Invited Talk DGTiCon 2022
 
Week 12: Cloud AI- DSA 441 Cloud Computing
Week 12: Cloud AI- DSA 441 Cloud ComputingWeek 12: Cloud AI- DSA 441 Cloud Computing
Week 12: Cloud AI- DSA 441 Cloud Computing
 
Week 11: Cloud Native- DSA 441 Cloud Computing
Week 11: Cloud Native- DSA 441 Cloud ComputingWeek 11: Cloud Native- DSA 441 Cloud Computing
Week 11: Cloud Native- DSA 441 Cloud Computing
 
Week 10: Cloud Security- DSA 441 Cloud Computing
Week 10: Cloud Security- DSA 441 Cloud ComputingWeek 10: Cloud Security- DSA 441 Cloud Computing
Week 10: Cloud Security- DSA 441 Cloud Computing
 
Week 9: Relational Database Service Alibaba Cloud- DSA 441 Cloud Computing
Week 9: Relational Database Service Alibaba Cloud- DSA 441 Cloud ComputingWeek 9: Relational Database Service Alibaba Cloud- DSA 441 Cloud Computing
Week 9: Relational Database Service Alibaba Cloud- DSA 441 Cloud Computing
 
Week 7: Object Storage Service Alibaba Cloud- DSA 441 Cloud Computing
Week 7: Object Storage Service Alibaba Cloud- DSA 441 Cloud ComputingWeek 7: Object Storage Service Alibaba Cloud- DSA 441 Cloud Computing
Week 7: Object Storage Service Alibaba Cloud- DSA 441 Cloud Computing
 
Week 6: Server Load Balancer and Auto Scaling Alibaba Cloud- DSA 441 Cloud Co...
Week 6: Server Load Balancer and Auto Scaling Alibaba Cloud- DSA 441 Cloud Co...Week 6: Server Load Balancer and Auto Scaling Alibaba Cloud- DSA 441 Cloud Co...
Week 6: Server Load Balancer and Auto Scaling Alibaba Cloud- DSA 441 Cloud Co...
 
Week 5: Elastic Compute Service (ECS) with Alibaba Cloud- DSA 441 Cloud Compu...
Week 5: Elastic Compute Service (ECS) with Alibaba Cloud- DSA 441 Cloud Compu...Week 5: Elastic Compute Service (ECS) with Alibaba Cloud- DSA 441 Cloud Compu...
Week 5: Elastic Compute Service (ECS) with Alibaba Cloud- DSA 441 Cloud Compu...
 
Week 4: Big Data and Hadoop in Alibaba Cloud - DSA 441 Cloud Computing
Week 4: Big Data and Hadoop in Alibaba Cloud - DSA 441 Cloud ComputingWeek 4: Big Data and Hadoop in Alibaba Cloud - DSA 441 Cloud Computing
Week 4: Big Data and Hadoop in Alibaba Cloud - DSA 441 Cloud Computing
 
Week 3: Virtual Private Cloud, On Premise, IaaS, PaaS, SaaS - DSA 441 Cloud C...
Week 3: Virtual Private Cloud, On Premise, IaaS, PaaS, SaaS - DSA 441 Cloud C...Week 3: Virtual Private Cloud, On Premise, IaaS, PaaS, SaaS - DSA 441 Cloud C...
Week 3: Virtual Private Cloud, On Premise, IaaS, PaaS, SaaS - DSA 441 Cloud C...
 
Week 2: Virtualization and VM Ware - DSA 441 Cloud Computing
Week 2: Virtualization and VM Ware - DSA 441 Cloud ComputingWeek 2: Virtualization and VM Ware - DSA 441 Cloud Computing
Week 2: Virtualization and VM Ware - DSA 441 Cloud Computing
 
Week 1: Introduction to Cloud Computing - DSA 441 Cloud Computing
Week 1: Introduction to Cloud Computing - DSA 441 Cloud ComputingWeek 1: Introduction to Cloud Computing - DSA 441 Cloud Computing
Week 1: Introduction to Cloud Computing - DSA 441 Cloud Computing
 
Sept 6 2021 BTech Artificial Intelligence and Data Science curriculum
Sept 6 2021 BTech Artificial Intelligence and Data Science curriculumSept 6 2021 BTech Artificial Intelligence and Data Science curriculum
Sept 6 2021 BTech Artificial Intelligence and Data Science curriculum
 
Hadoop in Alibaba Cloud
Hadoop in Alibaba CloudHadoop in Alibaba Cloud
Hadoop in Alibaba Cloud
 
Cloud Computing Essentials in Alibaba Cloud
Cloud Computing Essentials in Alibaba CloudCloud Computing Essentials in Alibaba Cloud
Cloud Computing Essentials in Alibaba Cloud
 
Transforming deep into transformers – a computer vision approach
Transforming deep into transformers – a computer vision approachTransforming deep into transformers – a computer vision approach
Transforming deep into transformers – a computer vision approach
 
Week 11: Programming for Data Analysis
Week 11: Programming for Data AnalysisWeek 11: Programming for Data Analysis
Week 11: Programming for Data Analysis
 
Week 10: Programming for Data Analysis
Week 10: Programming for Data AnalysisWeek 10: Programming for Data Analysis
Week 10: Programming for Data Analysis
 
Week 9: Programming for Data Analysis
Week 9: Programming for Data AnalysisWeek 9: Programming for Data Analysis
Week 9: Programming for Data Analysis
 
Week 8: Programming for Data Analysis
Week 8: Programming for Data AnalysisWeek 8: Programming for Data Analysis
Week 8: Programming for Data Analysis
 

Recently uploaded

PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 

Recently uploaded (20)

PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 

Probability and Statistics - Week 2

  • 1. Probability and Statistics Week 2 – Mean and Standard Deviation, Probability Distribution Dr. Ferdin Joe John Joseph
  • 2. Joint Probability • Probability of events A and B denoted by P(A and B) or P(A ∩ B) is the probability that events A and B both occur. • P(A ∩ B) = P(A). P(B) • This only applies if A and B are independent, which means that if A occurred, that doesn’t change the probability of B, and vice versa. 2
  • 3. Conditional Probability • A and B are not independent • When A and B are not independent, it is often useful to compute the conditional probability, P (A|B) • The probability of A given that B occurred: P(A|B) = P(A ∩ B) P(B) • Similarly, P(B|A) = P(A ∩ B) P(A) 3
  • 4. • Joint probability of A and B can be denoted as • P(A ∩ B)= p(A).P(B|A) 4
  • 6. Bayes Theorem • Used in Naïve Bayes Classifier (Supervised Learning) 6
  • 7. Probability Distribution • A probability distribution is a list of all of the possible outcomes of a random variable along with their corresponding probability values. 7
  • 8. Discrete Probability Distribution • If we consider 1 and 2 as outcomes of rolling a six-sided die, then we can’t have an outcome in between that (e.g. We can’t have an outcome of 1.5). • This is called probability mass function 8
  • 9. Mean • Let the data points be 600, 470, 170, 430, 300 • Total elements n = 5 • Mean = 600 +470+170+430+300 5 = 1970 5 = 394 9
  • 10. Variance • Let the data points be 600, 470, 170, 430, 300 • Total elements n = 5 • Variance = 600 −𝑚𝑒𝑎𝑛 2 + 470 −𝑚𝑒𝑎𝑛 2 + 170 −𝑚𝑒𝑎𝑛 2 + 430 −𝑚𝑒𝑎𝑛 2 + 300 −𝑚𝑒𝑎𝑛 2 5 = 600 −394 2 + 470 −394 2 + 170 −394 2 + 430 −394 2 + 300 −394 2 5 10
  • 12. Standard Deviation • Standard Deviation (SD) or σ = 𝑉𝑎𝑟𝑖𝑎𝑛𝑐𝑒 • σ = 21704 = 147.32 12
  • 16. Discrete Probability Distributions • A discrete random variable assumes each of its values with a certain probability. • In the case of tossing a coin three times, the variable X, representing the number of heads, assumes the value 2 with probability 3/8, since 3 of the 8 equally likely sample points result in two heads and one tail. 16
  • 17. Discrete Probability Distribution • the probability that no employee gets back the right helmet, that is, the probability that M assumes the value 0, is 1/3. The possible values m of M and their probabilities are 17
  • 18. Discrete Probability Distribution • Frequently, it is convenient to represent all the probabilities of a random variable X by a formula. Such a formula would necessarily be a function of the numerical values x that we shall denote by f(x), g(x), r(x), and so forth. Therefore, we write f(x) = P(X = x); that is, f(3) = P(X = 3). • The set of ordered pairs (x, f(x)) is called the probability function, probability mass function, or probability distribution of the discrete random variable X. 18
  • 20. Example • A shipment of 20 similar laptop computers to a retail outlet contains 3 that are defective. If a school makes a random purchase of 2 of these computers, find the probability distribution for the number of defectives. 20
  • 21. Solution • Let X be a random variable whose values x are the possible numbers of defective computers purchased by the school. Then x can only take the numbers 0, 1, and 2. 21
  • 22. Exercise • If a car agency sells 50% of its inventory of a certain foreign car equipped with side airbags, find a formula for the probability distribution of the number of cars with side airbags among the next 4 cars sold by the agency. 22
  • 24. Example • Let the random variable X represents the number of boys in a family. a) Construct the probability distribution for a family of two children. b) Find the mean and standard deviation of X. 24
  • 25. Solution a) We first construct a tree diagram to represent all possible distributions of boys and girls in the family. 25
  • 26. Solution • Assuming that all the above possibilities are equally likely, the probabilities are: • P(X=2) = P(BB) = 1 / 4 • P(X=1) = P(BG) + P(GB) = 1 / 4 + 1 / 4 = 1 / 2 • P(X=0) = P(GG) = 1 / 4 26
  • 27. Solution • The discrete probability distribution of X is given by X P(X) 0 1 / 4 1 1 / 2 2 1 / 4 27
  • 28. Solution • Note that ∑ P(X) = 1 b) The mean µ of the random variable X is defined by µ = ∑ X P(X) = 0 * (1/4) + 1 * (1/2) + 2 * (1/4) = 1 28
  • 29. Solution • The standard deviation σ of the random variable X is defined by SD = Square Root [ ∑ (X- µ) 2 P(X) ] = (0 − 1) 2 ∗ (1/4) + (1 − 1) 2 ∗ (1/2) + (2 − 1) 2 ∗ (1/4) = 1 / 2 = 1/1.414 29
  • 30. Exercise Two balanced dice are rolled. Let X be the sum of the two dice. a) Obtain the probability distribution of X. b) Find the mean and standard deviation of X. 30
  • 31. Solution a) When the two balanced dice are rolled, there are 36 equally likely possible outcomes as shown below. 31
  • 32. Solution • The possible values of X are: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12. • The possible outcomes are equally likely hence the probabilities P(X) are given by • P(2) = P(1,1) = 1 / 36 • P(3) = P(1,2) + P(2,1) = 2 / 36 = 1 / 18 • P(4) = P(1,3) + P(2,2) + P(3,1) = 3 / 36 = 1 / 12 • P(5) = P(1,4) + P(2,3) + P(3,2) + P(4,1) = 4 / 36 = 1 / 9 • P(6) = P(1,5) + P(2,4) + P(3,3) + P(4,2) + P(5,1)= 5 / 36 • P(7) = P(1,6) + P(2,5) + P(3,4) + P(4,3) + P(5,2) + P(6,1) = 6 / 36 = 1 / 6 • P(8) = P(2,6) + P(3,5) + P(4,4) + P(5,3) + P(6,2) = 5 / 36 • P(9) = P(3,6) + P(4,5) + P(5,4) + P(6,3) = 4 / 36 = 1 / 9 • P(10) = P(4,6) + P(5,5) + P(6,4) = 3 / 36 = 1 / 12 • P(11) = P(5,6) + P(6,5) 2 / 36 = 1 / 18 • P(12) = P(6,6) = 1 / 36 32
  • 33. Solution • The discrete probability distribution of X is given by • X P(X) • 2 1 / 36 • 3 1 / 18 • 4 1 / 12 • 5 1 / 9 • 6 5 / 36 • 7 1 / 6 • 8 5 / 36 • 9 1 / 9 • 10 1 / 12 • 11 1 / 18 • 12 1 / 36 As an exercise, check that ∑ P(X) = 1 33
  • 34. Solution • b) The mean of X is given by • µ = ∑ X P(X) = 2*(1/36)+3*(1/18)+4*(1/12)+5*(1/9)+6*(5/36)+7*(1/6)+8*(5/36) +9*(1/9)+10*(1/12)+11*(1/18)+12*(1/36) = 7 34
  • 35. Solution • The standard deviation of is given by SD = √ [ ∑ (X- µ) 2 P(X) ] = √[ (2-7)2*(1/36)+(3-7)2*(1/18) +(4-7)2*(1/12)+(5-7)2*(1/9)+(6-7)2*(5/36) +(7-7)2*(1/6)+(8-7)2*(5/36)+(9-7)2*(1/9) +(10-7)2*(1/12)+(11-7)2*(1/18)+(12-7)2*(1/36) ] = 2.41 35
  • 36. Exercise 1. Three coins are tossed. Let X be the number of heads obtained. Construct a probability distribution for X and find its mean and standard deviation. 2. A fair coin is tossed twice. Let X be the number of heads that are observed. • Construct the probability distribution of X. • Find the probability that at least one head is observed. 3. A service organization in a large town organizes a raffle each month. One thousand raffle tickets are sold for $1 each. Each has an equal chance of winning. First prize is $300, second prize is $200, and third prize is $100. Let X denote the net gain from the purchase of one ticket. • Construct the probability distribution of X. • Find the probability of winning any money in the purchase of one ticket. • Find the expected value of X, and interpret its meaning. 36
  • 38. 38