SlideShare a Scribd company logo
1 of 21
Statistics 1 Discrete Random Variables Section 2
1
DISCRETE RANDOM VARIABLES
Section 2
Choose from the following:
Introduction: Car share scheme a success
Example 4.3: A discrete random variable
Example 4.4: Laura’s Milk Bill
End presentation
Statistics 1 Discrete Random Variables Section 2
2
Car share scheme a success
Number of people /
Outcome r
1 2 3 4 5 > 5
Relative frequency /
Probability P(X = r)
0.35 0.375 0.205 0.065 0.005 0
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
0 1 2 3 4 5 6
r
P(X = r )
Statistics 1 Discrete Random Variables Section 2
3
Expectation
r P(X = r) r P(X = r)
1 0.35 0.35
2 0.375
3 0.205
4 0.065
5 0.005
Totals 1
Multiply each r
value by P(X = r)
to form the
r P(X = r)
column
Statistics 1 Discrete Random Variables Section 2
4
Expectation
r P(X = r) r P(X = r)
1 0.35 0.35
2 0.375 0.75
3 0.205
4 0.065
5 0.005
Totals 1
Multiply each r
value by P(X = r)
to form the
r P(X = r)
column
Statistics 1 Discrete Random Variables Section 2
5
Expectation
r P(X = r) r P(X = r)
1 0.35 0.35
2 0.375 0.75
3 0.205 0.615
4 0.065
5 0.005
Totals 1
Multiply each r
value by P(X = r)
to form the
r P(X = r)
column
Statistics 1 Discrete Random Variables Section 2
6
Expectation
r P(X = r) r P(X = r)
1 0.35 0.35
2 0.375 0.75
3 0.205 0.615
4 0.065 0.26
5 0.005
Totals 1
Multiply each r
value by P(X = r)
to form the
r P(X = r)
column
Statistics 1 Discrete Random Variables Section 2
7
Expectation
r P(X = r) r P(X = r)
1 0.35 0.35
2 0.375 0.75
3 0.205 0.615
4 0.065 0.26
5 0.005 0.025
Totals 1
Multiply each r
value by P(X = r)
to form the
r P(X = r)
column
Statistics 1 Discrete Random Variables Section 2
8
Expectation
r P(X = r) r P(X = r)
1 0.35 0.35
2 0.375 0.75
3 0.205 0.615
4 0.065 0.26
5 0.005 0.025
Totals 1 2
Now find the total
of the
r P(X = r)
column
Statistics 1 Discrete Random Variables Section 2
9
Expectation
E(X) = m = S r P(X = r)
= 1×0.35 + 2×0.375 + 3×0.205 + 4×0.065 + 5×0.005
= 0.35 + 0.75 + 0.615 + 0.26 + 0.025
= 2
r P(X = r) r P(X = r)
1 0.35 0.35
2 0.375 0.75
3 0.205 0.615
4 0.065 0.26
5 0.005 0.025
Totals 1 2
Expectation
= E(X) or m
Statistics 1 Discrete Random Variables Section 2
10
Var(X) = s 2 = S r 2 P(X = r) – m 2
= 12×0.35 + 22×0.375 + 32×0.205 + 42×0.065 + 52×0.005 – 22
= 0.35 + 1.5 + 1.845 + 1.04 + 0.125 – 4
= 4.86 – 4 = 0.86
Variance – Method A
(a) (b)
r P(X = r) r P(X = r) r2 P(X = r) (r – m)2 P(X = r)
1 0.35 0.35 0.35 0.35
2 0.375 0.75 1.5 0
3 0.205 0.615 1.845 0.205
4 0.065 0.26 1.04 0.26
5 0.005 0.025 0.125 0.045
Totals 1 2 4.86 0.86
Statistics 1 Discrete Random Variables Section 2
11
Variance – Method B
(a) (b)
r P(X = r) r P(X = r) r2 P(X = r) (r – m)2 P(X = r)
1 0.35 0.35 0.35 0.35
2 0.375 0.75 1.5 0
3 0.205 0.615 1.845 0.205
4 0.065 0.26 1.04 0.26
5 0.005 0.025 0.125 0.045
Totals 1 2 4.86 0.86
Var(X) = s 2 = S (r – m)2 P(X = r)
= (1 – 2)2×0.35 + (2 – 2)2×0.375 + (3 – 2)2×0.205
+ (4 – 2)2×0.065 + (5 – 2)2×0.005
= 0.35 + 0 + 0.205 + 0.26 + 0.045 = 0.86
Statistics 1 Discrete Random Variables Section 2
12
Example 4.3
The discrete random variable X has the distribution:
(i) Find E(X).
(ii) Find E(X2).
(iii) Find Var(X) using
(a) E(X2) – m2 and (b) E([X – m]2) .
r 0 1 2 3
P(X = r) 0.2 0.3 0.4 0.1
Statistics 1 Discrete Random Variables Section 2
13
Example 4.3 : (i) Expectation E(X)
r P(X = r) r P(X = r)
0 0.2 0
1 0.3 0.3
2 0.4 0.8
3 0.1 0.3
Totals 1 1.4
Expectation
= E(X) or m
E(X) = m = S r P(X = r)
= 0×0.2 + 1×0.3 + 2×0.4 + 3×0.1
= 0 + 0.3 + 0.8 + 0.3
= 1.4
Statistics 1 Discrete Random Variables Section 2
14
Example 4.3 : (ii) E(X 2)
r P(X = r) r P(X = r) r2 P(X = r)
0 0.2 0 0
1 0.3 0.3 0.3
2 0.4 0.8 1.6
3 0.1 0.3 0.9
Totals 1 1.4 2.8
E(X2) = S r 2 P(X = r)
= 02×0.2 + 12×0.3 + 22×0.4 + 32×0.1
= 0 + 0.3 + 1.6 + 0.9
= 2.8
Expectation
= E(X2)
Statistics 1 Discrete Random Variables Section 2
15
Example 4.3 : Variance – Method A
(a) (b)
r P(X = r) r P(X = r) r2 P(X = r) (r – m)2 P(X = r)
0 0.2 0 0 0.392
1 0.3 0.3 0.3 0.048
2 0.4 0.8 1.6 0.144
3 0.1 0.3 0.9 0.256
Totals 1 1.4 2.8 0.84
Var(X) = s 2 = S r 2 P(X = r) – m 2
= 02×0.2 + 12×0.3 + 22×0.4 + 32×0.1 – 1.42
= 0 + 0.3 + 1.6 + 0.9 + 0.125 – 1.42
= 2.8 – 1.96 = 0.84
Statistics 1 Discrete Random Variables Section 2
16
Example 4.3 : Variance – Method B
(a) (b)
r P(X = r) r P(X = r) r2 P(X = r) (r – m)2 P(X = r)
0 0.2 0 0 0.392
1 0.3 0.3 0.3 0.048
2 0.4 0.8 1.6 0.144
3 0.1 0.3 0.9 0.256
Totals 1 1.4 2.8 0.84
Var(X) = s 2 = S (r – m)2 P(X = r)
= (0 – 1.4)2×0.2 + (1 – 1.4)2×0.3 +
(2 – 1.4)2×0.4 + (3 – 1.4)2×0.3
= 0.392 + 0.048 + 0.144 + 0.256 = 0.84
Statistics 1 Discrete Random Variables Section 2
17
Example 4.4 : Laura’s Milk Bill
Laura has one pint of milk on three days
out of every four and none on the fourth
day. A pint of milk costs 40p.
Let X represent her weekly milk bill.
(i) Find the probability distribution for her weekly milk
bill.
(ii) Find the mean (m) and standard deviation (s) of her
weekly milk bill.
(iii) Find (a) P(X > m + s ) and (b) P(X < m −s ).
Statistics 1 Discrete Random Variables Section 2
18
Example 4.4 : (i) Probability distribution
Since Laura has milk delivered, it takes four weeks
before the delivery pattern starts to repeat.
M Tu W Th F Sa Su No. pints Milk bill
       6 £2.40
       5 £2.00
       5 £2.00
       5 £2.00
r 2.00 2.40
P(X = r) 0.75 0.25
Statistics 1 Discrete Random Variables Section 2
19
Example 4.4 : (i) Mean μ or expectation E(X)
r P(X = r) r P(X = r)
2.00 0.75 1.50
2.40 0.25 0.60
Totals 1 2.10
Expectation
= E(X) or m
E(X) = m = S r P(X = r)
= 2.00 × 0.75 + 2.40 × 0.25
= 1.50 + 0.60
= 2.10
Statistics 1 Discrete Random Variables Section 2
20
Example 4.3 : (ii) Standard deviation σ
(a)
r P(X = r) r P(X = r) r2 P(X = r)
2.00 0.75 1.50 3.00
2.40 0.25 0.60 1.44
Totals 1 2.10 4.44
Var(X) = s 2 = S r 2 P(X = r) – m 2
= 22 × 0.75 + 2.42 × 0.25 – 2.12
= 3.00 + 1.44 – 2.12
= 4.44 – 4.41 = 0.03
Hence s = √0.03 = 0.17 (to 2 d.p.)
Using
Method A
Statistics 1 Discrete Random Variables Section 2
21
Example 4.4 : (iii) Calculating probabilities
r 2.00 2.40
P(X = r) 0.75 0.25
The probability distribution for Laura’s weekly milk bill:
(a) P(X > μ + σ) = P(X > 2.10 + 0.17)
= P(X > 2.27)
= 0.25
(b) P(X < μ − σ) = P(X < 2.10 − 0.17)
= P(X < 1.93)
= 0

More Related Content

Similar to Further Discrete Random Variables

Introduction to Discrete Random Variables
Introduction to Discrete Random VariablesIntroduction to Discrete Random Variables
Introduction to Discrete Random VariablesJJkedst
 
Desk work 4
Desk work 4Desk work 4
Desk work 4ccooking
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functionsTarun Gehlot
 
Mathematical formula tables
Mathematical formula tablesMathematical formula tables
Mathematical formula tablesSaravana Selvan
 
University of manchester mathematical formula tables
University of manchester mathematical formula tablesUniversity of manchester mathematical formula tables
University of manchester mathematical formula tablesGaurav Vasani
 
Solutions manual for fundamentals of business math canadian 3rd edition by je...
Solutions manual for fundamentals of business math canadian 3rd edition by je...Solutions manual for fundamentals of business math canadian 3rd edition by je...
Solutions manual for fundamentals of business math canadian 3rd edition by je...Pollockker
 
Normal probability distribution
Normal probability distributionNormal probability distribution
Normal probability distributionNadeem Uddin
 
Statistics Assignment 1 HET551 – Design and Developm.docx
Statistics Assignment 1 HET551 – Design and Developm.docxStatistics Assignment 1 HET551 – Design and Developm.docx
Statistics Assignment 1 HET551 – Design and Developm.docxrafaelaj1
 
Numerical Methods.pptx
Numerical Methods.pptxNumerical Methods.pptx
Numerical Methods.pptxRehmanRasheed3
 
lagrange and newton divided differences.ppt
lagrange and newton divided differences.pptlagrange and newton divided differences.ppt
lagrange and newton divided differences.pptThirumoorthy64
 
Functional Regression Analysis
Functional Regression AnalysisFunctional Regression Analysis
Functional Regression AnalysisNeuroMat
 
Docslide.us 2002 formulae-and-tables
Docslide.us 2002 formulae-and-tablesDocslide.us 2002 formulae-and-tables
Docslide.us 2002 formulae-and-tablesbarasActuarial
 
Standard normal distribution
Standard normal distributionStandard normal distribution
Standard normal distributionNadeem Uddin
 
Solution of matlab chapter 3
Solution of matlab chapter 3Solution of matlab chapter 3
Solution of matlab chapter 3AhsanIrshad8
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolationVISHAL DONGA
 
Econometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions ManualEconometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions ManualLewisSimmonss
 

Similar to Further Discrete Random Variables (20)

Introduction to Discrete Random Variables
Introduction to Discrete Random VariablesIntroduction to Discrete Random Variables
Introduction to Discrete Random Variables
 
Desk work 4
Desk work 4Desk work 4
Desk work 4
 
Estadistica U4
Estadistica U4Estadistica U4
Estadistica U4
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
 
Mathematical formula tables
Mathematical formula tablesMathematical formula tables
Mathematical formula tables
 
University of manchester mathematical formula tables
University of manchester mathematical formula tablesUniversity of manchester mathematical formula tables
University of manchester mathematical formula tables
 
Solutions manual for fundamentals of business math canadian 3rd edition by je...
Solutions manual for fundamentals of business math canadian 3rd edition by je...Solutions manual for fundamentals of business math canadian 3rd edition by je...
Solutions manual for fundamentals of business math canadian 3rd edition by je...
 
Normal probability distribution
Normal probability distributionNormal probability distribution
Normal probability distribution
 
Statistics Assignment 1 HET551 – Design and Developm.docx
Statistics Assignment 1 HET551 – Design and Developm.docxStatistics Assignment 1 HET551 – Design and Developm.docx
Statistics Assignment 1 HET551 – Design and Developm.docx
 
Numerical Methods.pptx
Numerical Methods.pptxNumerical Methods.pptx
Numerical Methods.pptx
 
lagrange and newton divided differences.ppt
lagrange and newton divided differences.pptlagrange and newton divided differences.ppt
lagrange and newton divided differences.ppt
 
Functional Regression Analysis
Functional Regression AnalysisFunctional Regression Analysis
Functional Regression Analysis
 
Central tedancy & correlation project - 2
Central tedancy & correlation project - 2Central tedancy & correlation project - 2
Central tedancy & correlation project - 2
 
Exam1 101
Exam1 101Exam1 101
Exam1 101
 
Docslide.us 2002 formulae-and-tables
Docslide.us 2002 formulae-and-tablesDocslide.us 2002 formulae-and-tables
Docslide.us 2002 formulae-and-tables
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
 
Standard normal distribution
Standard normal distributionStandard normal distribution
Standard normal distribution
 
Solution of matlab chapter 3
Solution of matlab chapter 3Solution of matlab chapter 3
Solution of matlab chapter 3
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
 
Econometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions ManualEconometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions Manual
 

More from JJkedst

Geometric series
Geometric seriesGeometric series
Geometric seriesJJkedst
 
Arithmetic sequences and series
Arithmetic sequences and seriesArithmetic sequences and series
Arithmetic sequences and seriesJJkedst
 
Introduction to sequences and series
Introduction to sequences and seriesIntroduction to sequences and series
Introduction to sequences and seriesJJkedst
 
Indices and laws of logarithms
Indices and laws of logarithmsIndices and laws of logarithms
Indices and laws of logarithmsJJkedst
 
Laws of indices
Laws of indicesLaws of indices
Laws of indicesJJkedst
 
C3 Transformations
C3 TransformationsC3 Transformations
C3 TransformationsJJkedst
 
C3 Transformations
C3 TransformationsC3 Transformations
C3 TransformationsJJkedst
 
Inverse functions
Inverse functionsInverse functions
Inverse functionsJJkedst
 
Functions
FunctionsFunctions
FunctionsJJkedst
 
The Exponential and natural log functions
The Exponential and natural log functionsThe Exponential and natural log functions
The Exponential and natural log functionsJJkedst
 
Quadratic trig equations
Quadratic trig equationsQuadratic trig equations
Quadratic trig equationsJJkedst
 
Harder trig equations
Harder trig equationsHarder trig equations
Harder trig equationsJJkedst
 
Radians, arc length and sector area
Radians, arc length and sector areaRadians, arc length and sector area
Radians, arc length and sector areaJJkedst
 
41 trig equations
41 trig equations41 trig equations
41 trig equationsJJkedst
 
Hypothesis testing definitions
Hypothesis testing definitionsHypothesis testing definitions
Hypothesis testing definitionsJJkedst
 
Core 2 indefinite integration
Core 2 indefinite integrationCore 2 indefinite integration
Core 2 indefinite integrationJJkedst
 
Core 2 differentiation
Core 2 differentiationCore 2 differentiation
Core 2 differentiationJJkedst
 
The binomial expansion
The binomial expansionThe binomial expansion
The binomial expansionJJkedst
 
Core 2 sequences and logs revision lesson
Core 2 sequences and logs revision lessonCore 2 sequences and logs revision lesson
Core 2 sequences and logs revision lessonJJkedst
 
Core 3 trigonometry revision lesson
Core 3 trigonometry revision lessonCore 3 trigonometry revision lesson
Core 3 trigonometry revision lessonJJkedst
 

More from JJkedst (20)

Geometric series
Geometric seriesGeometric series
Geometric series
 
Arithmetic sequences and series
Arithmetic sequences and seriesArithmetic sequences and series
Arithmetic sequences and series
 
Introduction to sequences and series
Introduction to sequences and seriesIntroduction to sequences and series
Introduction to sequences and series
 
Indices and laws of logarithms
Indices and laws of logarithmsIndices and laws of logarithms
Indices and laws of logarithms
 
Laws of indices
Laws of indicesLaws of indices
Laws of indices
 
C3 Transformations
C3 TransformationsC3 Transformations
C3 Transformations
 
C3 Transformations
C3 TransformationsC3 Transformations
C3 Transformations
 
Inverse functions
Inverse functionsInverse functions
Inverse functions
 
Functions
FunctionsFunctions
Functions
 
The Exponential and natural log functions
The Exponential and natural log functionsThe Exponential and natural log functions
The Exponential and natural log functions
 
Quadratic trig equations
Quadratic trig equationsQuadratic trig equations
Quadratic trig equations
 
Harder trig equations
Harder trig equationsHarder trig equations
Harder trig equations
 
Radians, arc length and sector area
Radians, arc length and sector areaRadians, arc length and sector area
Radians, arc length and sector area
 
41 trig equations
41 trig equations41 trig equations
41 trig equations
 
Hypothesis testing definitions
Hypothesis testing definitionsHypothesis testing definitions
Hypothesis testing definitions
 
Core 2 indefinite integration
Core 2 indefinite integrationCore 2 indefinite integration
Core 2 indefinite integration
 
Core 2 differentiation
Core 2 differentiationCore 2 differentiation
Core 2 differentiation
 
The binomial expansion
The binomial expansionThe binomial expansion
The binomial expansion
 
Core 2 sequences and logs revision lesson
Core 2 sequences and logs revision lessonCore 2 sequences and logs revision lesson
Core 2 sequences and logs revision lesson
 
Core 3 trigonometry revision lesson
Core 3 trigonometry revision lessonCore 3 trigonometry revision lesson
Core 3 trigonometry revision lesson
 

Recently uploaded

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 

Recently uploaded (20)

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

Further Discrete Random Variables

  • 1. Statistics 1 Discrete Random Variables Section 2 1 DISCRETE RANDOM VARIABLES Section 2 Choose from the following: Introduction: Car share scheme a success Example 4.3: A discrete random variable Example 4.4: Laura’s Milk Bill End presentation
  • 2. Statistics 1 Discrete Random Variables Section 2 2 Car share scheme a success Number of people / Outcome r 1 2 3 4 5 > 5 Relative frequency / Probability P(X = r) 0.35 0.375 0.205 0.065 0.005 0 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0 1 2 3 4 5 6 r P(X = r )
  • 3. Statistics 1 Discrete Random Variables Section 2 3 Expectation r P(X = r) r P(X = r) 1 0.35 0.35 2 0.375 3 0.205 4 0.065 5 0.005 Totals 1 Multiply each r value by P(X = r) to form the r P(X = r) column
  • 4. Statistics 1 Discrete Random Variables Section 2 4 Expectation r P(X = r) r P(X = r) 1 0.35 0.35 2 0.375 0.75 3 0.205 4 0.065 5 0.005 Totals 1 Multiply each r value by P(X = r) to form the r P(X = r) column
  • 5. Statistics 1 Discrete Random Variables Section 2 5 Expectation r P(X = r) r P(X = r) 1 0.35 0.35 2 0.375 0.75 3 0.205 0.615 4 0.065 5 0.005 Totals 1 Multiply each r value by P(X = r) to form the r P(X = r) column
  • 6. Statistics 1 Discrete Random Variables Section 2 6 Expectation r P(X = r) r P(X = r) 1 0.35 0.35 2 0.375 0.75 3 0.205 0.615 4 0.065 0.26 5 0.005 Totals 1 Multiply each r value by P(X = r) to form the r P(X = r) column
  • 7. Statistics 1 Discrete Random Variables Section 2 7 Expectation r P(X = r) r P(X = r) 1 0.35 0.35 2 0.375 0.75 3 0.205 0.615 4 0.065 0.26 5 0.005 0.025 Totals 1 Multiply each r value by P(X = r) to form the r P(X = r) column
  • 8. Statistics 1 Discrete Random Variables Section 2 8 Expectation r P(X = r) r P(X = r) 1 0.35 0.35 2 0.375 0.75 3 0.205 0.615 4 0.065 0.26 5 0.005 0.025 Totals 1 2 Now find the total of the r P(X = r) column
  • 9. Statistics 1 Discrete Random Variables Section 2 9 Expectation E(X) = m = S r P(X = r) = 1×0.35 + 2×0.375 + 3×0.205 + 4×0.065 + 5×0.005 = 0.35 + 0.75 + 0.615 + 0.26 + 0.025 = 2 r P(X = r) r P(X = r) 1 0.35 0.35 2 0.375 0.75 3 0.205 0.615 4 0.065 0.26 5 0.005 0.025 Totals 1 2 Expectation = E(X) or m
  • 10. Statistics 1 Discrete Random Variables Section 2 10 Var(X) = s 2 = S r 2 P(X = r) – m 2 = 12×0.35 + 22×0.375 + 32×0.205 + 42×0.065 + 52×0.005 – 22 = 0.35 + 1.5 + 1.845 + 1.04 + 0.125 – 4 = 4.86 – 4 = 0.86 Variance – Method A (a) (b) r P(X = r) r P(X = r) r2 P(X = r) (r – m)2 P(X = r) 1 0.35 0.35 0.35 0.35 2 0.375 0.75 1.5 0 3 0.205 0.615 1.845 0.205 4 0.065 0.26 1.04 0.26 5 0.005 0.025 0.125 0.045 Totals 1 2 4.86 0.86
  • 11. Statistics 1 Discrete Random Variables Section 2 11 Variance – Method B (a) (b) r P(X = r) r P(X = r) r2 P(X = r) (r – m)2 P(X = r) 1 0.35 0.35 0.35 0.35 2 0.375 0.75 1.5 0 3 0.205 0.615 1.845 0.205 4 0.065 0.26 1.04 0.26 5 0.005 0.025 0.125 0.045 Totals 1 2 4.86 0.86 Var(X) = s 2 = S (r – m)2 P(X = r) = (1 – 2)2×0.35 + (2 – 2)2×0.375 + (3 – 2)2×0.205 + (4 – 2)2×0.065 + (5 – 2)2×0.005 = 0.35 + 0 + 0.205 + 0.26 + 0.045 = 0.86
  • 12. Statistics 1 Discrete Random Variables Section 2 12 Example 4.3 The discrete random variable X has the distribution: (i) Find E(X). (ii) Find E(X2). (iii) Find Var(X) using (a) E(X2) – m2 and (b) E([X – m]2) . r 0 1 2 3 P(X = r) 0.2 0.3 0.4 0.1
  • 13. Statistics 1 Discrete Random Variables Section 2 13 Example 4.3 : (i) Expectation E(X) r P(X = r) r P(X = r) 0 0.2 0 1 0.3 0.3 2 0.4 0.8 3 0.1 0.3 Totals 1 1.4 Expectation = E(X) or m E(X) = m = S r P(X = r) = 0×0.2 + 1×0.3 + 2×0.4 + 3×0.1 = 0 + 0.3 + 0.8 + 0.3 = 1.4
  • 14. Statistics 1 Discrete Random Variables Section 2 14 Example 4.3 : (ii) E(X 2) r P(X = r) r P(X = r) r2 P(X = r) 0 0.2 0 0 1 0.3 0.3 0.3 2 0.4 0.8 1.6 3 0.1 0.3 0.9 Totals 1 1.4 2.8 E(X2) = S r 2 P(X = r) = 02×0.2 + 12×0.3 + 22×0.4 + 32×0.1 = 0 + 0.3 + 1.6 + 0.9 = 2.8 Expectation = E(X2)
  • 15. Statistics 1 Discrete Random Variables Section 2 15 Example 4.3 : Variance – Method A (a) (b) r P(X = r) r P(X = r) r2 P(X = r) (r – m)2 P(X = r) 0 0.2 0 0 0.392 1 0.3 0.3 0.3 0.048 2 0.4 0.8 1.6 0.144 3 0.1 0.3 0.9 0.256 Totals 1 1.4 2.8 0.84 Var(X) = s 2 = S r 2 P(X = r) – m 2 = 02×0.2 + 12×0.3 + 22×0.4 + 32×0.1 – 1.42 = 0 + 0.3 + 1.6 + 0.9 + 0.125 – 1.42 = 2.8 – 1.96 = 0.84
  • 16. Statistics 1 Discrete Random Variables Section 2 16 Example 4.3 : Variance – Method B (a) (b) r P(X = r) r P(X = r) r2 P(X = r) (r – m)2 P(X = r) 0 0.2 0 0 0.392 1 0.3 0.3 0.3 0.048 2 0.4 0.8 1.6 0.144 3 0.1 0.3 0.9 0.256 Totals 1 1.4 2.8 0.84 Var(X) = s 2 = S (r – m)2 P(X = r) = (0 – 1.4)2×0.2 + (1 – 1.4)2×0.3 + (2 – 1.4)2×0.4 + (3 – 1.4)2×0.3 = 0.392 + 0.048 + 0.144 + 0.256 = 0.84
  • 17. Statistics 1 Discrete Random Variables Section 2 17 Example 4.4 : Laura’s Milk Bill Laura has one pint of milk on three days out of every four and none on the fourth day. A pint of milk costs 40p. Let X represent her weekly milk bill. (i) Find the probability distribution for her weekly milk bill. (ii) Find the mean (m) and standard deviation (s) of her weekly milk bill. (iii) Find (a) P(X > m + s ) and (b) P(X < m −s ).
  • 18. Statistics 1 Discrete Random Variables Section 2 18 Example 4.4 : (i) Probability distribution Since Laura has milk delivered, it takes four weeks before the delivery pattern starts to repeat. M Tu W Th F Sa Su No. pints Milk bill        6 £2.40        5 £2.00        5 £2.00        5 £2.00 r 2.00 2.40 P(X = r) 0.75 0.25
  • 19. Statistics 1 Discrete Random Variables Section 2 19 Example 4.4 : (i) Mean μ or expectation E(X) r P(X = r) r P(X = r) 2.00 0.75 1.50 2.40 0.25 0.60 Totals 1 2.10 Expectation = E(X) or m E(X) = m = S r P(X = r) = 2.00 × 0.75 + 2.40 × 0.25 = 1.50 + 0.60 = 2.10
  • 20. Statistics 1 Discrete Random Variables Section 2 20 Example 4.3 : (ii) Standard deviation σ (a) r P(X = r) r P(X = r) r2 P(X = r) 2.00 0.75 1.50 3.00 2.40 0.25 0.60 1.44 Totals 1 2.10 4.44 Var(X) = s 2 = S r 2 P(X = r) – m 2 = 22 × 0.75 + 2.42 × 0.25 – 2.12 = 3.00 + 1.44 – 2.12 = 4.44 – 4.41 = 0.03 Hence s = √0.03 = 0.17 (to 2 d.p.) Using Method A
  • 21. Statistics 1 Discrete Random Variables Section 2 21 Example 4.4 : (iii) Calculating probabilities r 2.00 2.40 P(X = r) 0.75 0.25 The probability distribution for Laura’s weekly milk bill: (a) P(X > μ + σ) = P(X > 2.10 + 0.17) = P(X > 2.27) = 0.25 (b) P(X < μ − σ) = P(X < 2.10 − 0.17) = P(X < 1.93) = 0