SlideShare a Scribd company logo
INTRODUCTION TO
STATISTICS & PROBABILITY
Chapter 4:
Probability: The Study of Randomness
(Part 2)
Dr. Nahid Sultana
1
Chapter 4
Probability: The Study of Randomness
4.1 Randomness
4.2 Probability Models
4.3 Random Variables
4.4 Means and Variances of Random Variables
4.5 General Probability Rules*
2
4.3 Random Variables
3
 Random Variable
 Discrete Random Variables
 Continuous Random Variables
 Normal Distributions as Probability Distributions
4
Random Variables
4
 A probability model: sample space S and probability for each outcome.
 A numerical variable that describes the outcomes of a chance process is
called a random variable.
 The probability model for a random variable is its probability distribution.
The probability distribution of a random variable gives its possible
values and their probabilities.
Example: Consider tossing a fair coin 3 times.
Define X = the number of heads obtained.
X = 0: TTT
X = 1: HTT THT TTH
X = 2: HHT HTH THH
X = 3: HHH
Value 0 1 2 3
Probability 1/8 3/8 3/8 1/8
5
Discrete Random Variable
Two main types of random variables: discrete and continuous.
A discrete random variable X takes a fixed set of possible values
with gaps between.
The probability distribution of a discrete random variable X lists the
values xi and their probabilities pi:
The probabilities pi must satisfy two requirements:
1. Every probability pi is a number between 0 and 1.
2. The sum of the probabilities is 1.
6
Discrete Random Variable (Cont…)
Example: Consider tossing a fair coin 3 times.
Define X = the number of heads obtained.
X = 0: TTT
X = 1: HTT THT TTH
X = 2: HHT HTH THH
X = 3: HHHValue 0 1 2 3
Probability 1/8 3/8 3/8 1/8
Q1: What is the probability of tossing at least two heads?
Ans: P(X ≥ 2 ) = P(X=2) + P(X=3) = 3/8 + 1/8 = 1/2
Q2: What is the probability of tossing fewer than three heads?
Ans: P(X < 3 ) = P(X=0) +P(X=1) + P(X=2) = 1/8 + 3/8 + 3/8
= 7/8
Or P(X < 3 ) = 1 – P(X = 3) = 1 – 1/8 = 7/8
7
Discrete Random Variable (Cont…)
Example: North Carolina State University posts the grade distributions for its
courses online. Students in one section of English210 in the spring 2006
semester received 31% A’s, 40% B’s, 20% C’s, 4% D’s, and 5% F’s.
The student’s grade on a four-point scale (with A = 4) is a random
variable X. The value of X changes when we repeatedly choose students at
random , but it is always one of 0, 1, 2, 3, or 4. Here is the distribution of X:
Q1: What is the probability that the
student got a B or better?
Ans: P(X ≥ 3 ) = P(X=3) + P(X=4)
= 0.40 + 0.31 = 0.71
Q2: Suppose that a grade of D or F in English210 will not count as satisfying
a requirement for a major in linguistics. What is the probability that a
randomly selected student will not satisfy this requirement?
Ans: P(X ≤ 1 ) = 1 - P( X >1) = 1 – ( P(X=2) + P(X=3) + P(X=4) ) = 1- 0.91 = 0.09
8
Continuous Random Variable
A continuous random variable Y takes on all values in an interval of
numbers.
Ex: Suppose we want to choose a number at random between 0 and 1.
-----There is infinitely many number between 0 and 1.
How do we assign probabilities to events in an infinite sample space?
 The probability distribution of Y is described by a density curve.
 The probability of any event is the area under the density curve and
above the values of Y that make up the event.
9
 A discrete random variable X has a finite number of possible values.
The probability model of a discrete random variable X assigns a
probability between 0 and 1 to each possible value of X.
 A continuous random variable Y has infinitely many possible values.
The probability of a single event (ex: X=k) is meaningless for a
continuous random variable. Only intervals can have a non-zero
probability; represented by the area under the density curve for that
interval .
 Discrete random variables commonly arise from situations that
involve counting something.
 Situations that involve measuring something often result in a
continuous random variable.
Continuous Random Variable (Cont…)
10
Continuous Probability Models
Example: This is a uniform density curve for the variable X. Find the
probability that X falls between 0.3 and 0.7.
Ans: P(0.3 ≤ X ≤ 0.7) = (0.7- 0.3) * 1 = 0.4
Uniform
Distribution
11
Continuous Probability Models (Cont…)
Example: Find the probability of getting a random number that is
less than or equal to 0.5 OR greater than 0.8.
P(X ≤ 0.5 or X > 0.8)
= P(X ≤ 0.5) + P(X > 0.8)
= 0.5 + 0.2
= 0.7
Uniform
Distribution
12
Continuous Probability Models (Cont…)
General Form:
The probability of the event A is the shaded area under the density
curve. The total area under any density curve is 1.
13
Normal Probability Model
The probability distribution of many random variables is a normal
distribution.
Example: Probability distribution
of Women’s height.
Here, since we chose a woman
randomly, her height, X, is a
random variable.
To calculate probabilities with the normal distribution, we standardize
the random variable (z score) and use the Table A.
14
Normal Probability Model (Cont…)
Reminder: standardizing N(µ,σ)
We standardize normal data by calculating z-score so that any normal
curve can be transformed into the standard Normal curve N(0,1).
σ
µ)( −
=
x
z
15
Normal Probability
Model (Cont…)
Women’s heights are normally
distributed with µ = 64.5 and σ = 2.5
in.
The z-scores for 68,
And for x = 70",
4.1
5.2
)5.6468(
=
−
=z
z =
(70−64.5)
2.5
= 2.2
The area under the curve for the interval
[68”,70”] is 0.9861-0.9192=0.0669.
Thus the probability that a randomly
chosen woman falls into this range is
6.69%. i.e.
P(68 ≤ X ≤ 70)= 6.69%.
What is the probability, if we pick one woman at random, that her height
will be between 68 and 70 inches i.e. P(68 ≤ X ≤ 70)? Here because the
woman is selected at random, X is a random variable.

More Related Content

What's hot

Discrete probability distribution (complete)
Discrete probability distribution (complete)Discrete probability distribution (complete)
Discrete probability distribution (complete)
ISYousafzai
 

What's hot (20)

Basic Probability
Basic Probability Basic Probability
Basic Probability
 
Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability Distributions
 
Statistics and probability
Statistics and probability   Statistics and probability
Statistics and probability
 
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variables
 
1.1 mean, variance and standard deviation
1.1 mean, variance and standard deviation1.1 mean, variance and standard deviation
1.1 mean, variance and standard deviation
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
 
Probability and statistics
Probability and statisticsProbability and statistics
Probability and statistics
 
Conditional probability
Conditional probabilityConditional probability
Conditional probability
 
Bernoulli distribution
Bernoulli distributionBernoulli distribution
Bernoulli distribution
 
Probability
Probability Probability
Probability
 
Joint probability
Joint probabilityJoint probability
Joint probability
 
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Mean
 
Basic probability concept
Basic probability conceptBasic probability concept
Basic probability concept
 
Intro to probability
Intro to probabilityIntro to probability
Intro to probability
 
Probability
ProbabilityProbability
Probability
 
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
 
Introduction to Probability and Probability Distributions
Introduction to Probability and Probability DistributionsIntroduction to Probability and Probability Distributions
Introduction to Probability and Probability Distributions
 
Discrete and Continuous Random Variables
Discrete and Continuous Random VariablesDiscrete and Continuous Random Variables
Discrete and Continuous Random Variables
 
Discrete probability distribution (complete)
Discrete probability distribution (complete)Discrete probability distribution (complete)
Discrete probability distribution (complete)
 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
 

Viewers also liked

Discrete Probability Distributions
Discrete  Probability DistributionsDiscrete  Probability Distributions
Discrete Probability Distributions
E-tan
 
LABORATORY AND PHYSICAL ASSESSMENT DATA (1)
LABORATORY AND PHYSICAL ASSESSMENT DATA (1)LABORATORY AND PHYSICAL ASSESSMENT DATA (1)
LABORATORY AND PHYSICAL ASSESSMENT DATA (1)
Andrew Agbenin
 
Report submitted to (1)
Report submitted to (1)Report submitted to (1)
Report submitted to (1)
Andrew Agbenin
 
Chapter 3 part2- Sampling Design
Chapter 3 part2- Sampling DesignChapter 3 part2- Sampling Design
Chapter 3 part2- Sampling Design
nszakir
 
Проект Павленко "Безопасные каникулы".
Проект Павленко "Безопасные каникулы".Проект Павленко "Безопасные каникулы".
Проект Павленко "Безопасные каникулы".
Harokol
 
Expecting Parents Guide to Birth Defects ebook
Expecting Parents Guide to Birth Defects ebookExpecting Parents Guide to Birth Defects ebook
Expecting Parents Guide to Birth Defects ebook
Perey Law
 
Портрет слова группа 1
Портрет слова группа 1Портрет слова группа 1
Портрет слова группа 1
Harokol
 
Портрет слова группа 2
Портрет слова группа 2Портрет слова группа 2
Портрет слова группа 2
Harokol
 

Viewers also liked (20)

Introduction to Discrete Random Variables
Introduction to Discrete Random VariablesIntroduction to Discrete Random Variables
Introduction to Discrete Random Variables
 
Discrete random variable.
Discrete random variable.Discrete random variable.
Discrete random variable.
 
Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability Distributions
 
Continuous Random variable
Continuous Random variableContinuous Random variable
Continuous Random variable
 
Probability Distributions for Discrete Variables
Probability Distributions for Discrete VariablesProbability Distributions for Discrete Variables
Probability Distributions for Discrete Variables
 
Discrete Probability Distributions
Discrete  Probability DistributionsDiscrete  Probability Distributions
Discrete Probability Distributions
 
Applications of random variable
Applications of random variableApplications of random variable
Applications of random variable
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec doms
 
LABORATORY AND PHYSICAL ASSESSMENT DATA (1)
LABORATORY AND PHYSICAL ASSESSMENT DATA (1)LABORATORY AND PHYSICAL ASSESSMENT DATA (1)
LABORATORY AND PHYSICAL ASSESSMENT DATA (1)
 
Figure Drawing
Figure DrawingFigure Drawing
Figure Drawing
 
Business Game Presentation of Management Audit
Business Game Presentation of Management AuditBusiness Game Presentation of Management Audit
Business Game Presentation of Management Audit
 
Report submitted to (1)
Report submitted to (1)Report submitted to (1)
Report submitted to (1)
 
Chapter 3 part2- Sampling Design
Chapter 3 part2- Sampling DesignChapter 3 part2- Sampling Design
Chapter 3 part2- Sampling Design
 
Winter art from Ireland
Winter art from IrelandWinter art from Ireland
Winter art from Ireland
 
Проект Павленко "Безопасные каникулы".
Проект Павленко "Безопасные каникулы".Проект Павленко "Безопасные каникулы".
Проект Павленко "Безопасные каникулы".
 
Laboratory and physical assessment data (1)
Laboratory and physical assessment data (1)Laboratory and physical assessment data (1)
Laboratory and physical assessment data (1)
 
REPORT OF OYO SEMO[1]
REPORT OF OYO SEMO[1]REPORT OF OYO SEMO[1]
REPORT OF OYO SEMO[1]
 
Expecting Parents Guide to Birth Defects ebook
Expecting Parents Guide to Birth Defects ebookExpecting Parents Guide to Birth Defects ebook
Expecting Parents Guide to Birth Defects ebook
 
Портрет слова группа 1
Портрет слова группа 1Портрет слова группа 1
Портрет слова группа 1
 
Портрет слова группа 2
Портрет слова группа 2Портрет слова группа 2
Портрет слова группа 2
 

Similar to Chapter 4 part2- Random Variables

AP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).pptAP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).ppt
AlfredNavea1
 
2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.
WeihanKhor2
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskrit
Selvin Hadi
 

Similar to Chapter 4 part2- Random Variables (20)

random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.ppt
 
CHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxCHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptx
 
U unit7 ssb
U unit7 ssbU unit7 ssb
U unit7 ssb
 
AP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).pptAP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).ppt
 
Discussion about random variable ad its characterization
Discussion about random variable ad its characterizationDiscussion about random variable ad its characterization
Discussion about random variable ad its characterization
 
ISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptxISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptx
 
Econometrics 2.pptx
Econometrics 2.pptxEconometrics 2.pptx
Econometrics 2.pptx
 
Probability distribution for Dummies
Probability distribution for DummiesProbability distribution for Dummies
Probability distribution for Dummies
 
LC no 1.1_Statistics.pptx
LC no 1.1_Statistics.pptxLC no 1.1_Statistics.pptx
LC no 1.1_Statistics.pptx
 
2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.
 
Statistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionStatistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability Distribution
 
MATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfMATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdf
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskrit
 
Probability
ProbabilityProbability
Probability
 
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
 
Chapter1
Chapter1Chapter1
Chapter1
 
Probability Distribution - Binomial, Exponential and Normal
Probability Distribution - Binomial, Exponential and NormalProbability Distribution - Binomial, Exponential and Normal
Probability Distribution - Binomial, Exponential and Normal
 
Ch5
Ch5Ch5
Ch5
 
An Introduction To Basic Statistics And Probability
An Introduction To Basic Statistics And ProbabilityAn Introduction To Basic Statistics And Probability
An Introduction To Basic Statistics And Probability
 
Doe02 statistics
Doe02 statisticsDoe02 statistics
Doe02 statistics
 

More from nszakir

Chapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical InferenceChapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical Inference
nszakir
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experiments
nszakir
 
Chapter 2 part2-Correlation
Chapter 2 part2-CorrelationChapter 2 part2-Correlation
Chapter 2 part2-Correlation
nszakir
 
Chapter 2 part1-Scatterplots
Chapter 2 part1-ScatterplotsChapter 2 part1-Scatterplots
Chapter 2 part1-Scatterplots
nszakir
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
nszakir
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributions
nszakir
 
Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbers
nszakir
 

More from nszakir (17)

Chapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by ContrapositiveChapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by Contrapositive
 
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEChapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
 
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
 
Chapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability RulesChapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability Rules
 
Chapter 4 part1-Probability Model
Chapter 4 part1-Probability ModelChapter 4 part1-Probability Model
Chapter 4 part1-Probability Model
 
Chapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical InferenceChapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical Inference
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experiments
 
Chapter 2 part2-Correlation
Chapter 2 part2-CorrelationChapter 2 part2-Correlation
Chapter 2 part2-Correlation
 
Chapter 2 part1-Scatterplots
Chapter 2 part1-ScatterplotsChapter 2 part1-Scatterplots
Chapter 2 part1-Scatterplots
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributions
 
Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbers
 
Displaying Distributions with Graphs
Displaying Distributions with GraphsDisplaying Distributions with Graphs
Displaying Distributions with Graphs
 

Recently uploaded

Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
Kamal Acharya
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DrGurudutt
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
Kamal Acharya
 

Recently uploaded (20)

Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
 
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWINGBRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
 
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
Online book store management system project.pdf
Online book store management system project.pdfOnline book store management system project.pdf
Online book store management system project.pdf
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission line
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
Arduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectArduino based vehicle speed tracker project
Arduino based vehicle speed tracker project
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 

Chapter 4 part2- Random Variables

  • 1. INTRODUCTION TO STATISTICS & PROBABILITY Chapter 4: Probability: The Study of Randomness (Part 2) Dr. Nahid Sultana 1
  • 2. Chapter 4 Probability: The Study of Randomness 4.1 Randomness 4.2 Probability Models 4.3 Random Variables 4.4 Means and Variances of Random Variables 4.5 General Probability Rules* 2
  • 3. 4.3 Random Variables 3  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions
  • 4. 4 Random Variables 4  A probability model: sample space S and probability for each outcome.  A numerical variable that describes the outcomes of a chance process is called a random variable.  The probability model for a random variable is its probability distribution. The probability distribution of a random variable gives its possible values and their probabilities. Example: Consider tossing a fair coin 3 times. Define X = the number of heads obtained. X = 0: TTT X = 1: HTT THT TTH X = 2: HHT HTH THH X = 3: HHH Value 0 1 2 3 Probability 1/8 3/8 3/8 1/8
  • 5. 5 Discrete Random Variable Two main types of random variables: discrete and continuous. A discrete random variable X takes a fixed set of possible values with gaps between. The probability distribution of a discrete random variable X lists the values xi and their probabilities pi: The probabilities pi must satisfy two requirements: 1. Every probability pi is a number between 0 and 1. 2. The sum of the probabilities is 1.
  • 6. 6 Discrete Random Variable (Cont…) Example: Consider tossing a fair coin 3 times. Define X = the number of heads obtained. X = 0: TTT X = 1: HTT THT TTH X = 2: HHT HTH THH X = 3: HHHValue 0 1 2 3 Probability 1/8 3/8 3/8 1/8 Q1: What is the probability of tossing at least two heads? Ans: P(X ≥ 2 ) = P(X=2) + P(X=3) = 3/8 + 1/8 = 1/2 Q2: What is the probability of tossing fewer than three heads? Ans: P(X < 3 ) = P(X=0) +P(X=1) + P(X=2) = 1/8 + 3/8 + 3/8 = 7/8 Or P(X < 3 ) = 1 – P(X = 3) = 1 – 1/8 = 7/8
  • 7. 7 Discrete Random Variable (Cont…) Example: North Carolina State University posts the grade distributions for its courses online. Students in one section of English210 in the spring 2006 semester received 31% A’s, 40% B’s, 20% C’s, 4% D’s, and 5% F’s. The student’s grade on a four-point scale (with A = 4) is a random variable X. The value of X changes when we repeatedly choose students at random , but it is always one of 0, 1, 2, 3, or 4. Here is the distribution of X: Q1: What is the probability that the student got a B or better? Ans: P(X ≥ 3 ) = P(X=3) + P(X=4) = 0.40 + 0.31 = 0.71 Q2: Suppose that a grade of D or F in English210 will not count as satisfying a requirement for a major in linguistics. What is the probability that a randomly selected student will not satisfy this requirement? Ans: P(X ≤ 1 ) = 1 - P( X >1) = 1 – ( P(X=2) + P(X=3) + P(X=4) ) = 1- 0.91 = 0.09
  • 8. 8 Continuous Random Variable A continuous random variable Y takes on all values in an interval of numbers. Ex: Suppose we want to choose a number at random between 0 and 1. -----There is infinitely many number between 0 and 1. How do we assign probabilities to events in an infinite sample space?  The probability distribution of Y is described by a density curve.  The probability of any event is the area under the density curve and above the values of Y that make up the event.
  • 9. 9  A discrete random variable X has a finite number of possible values. The probability model of a discrete random variable X assigns a probability between 0 and 1 to each possible value of X.  A continuous random variable Y has infinitely many possible values. The probability of a single event (ex: X=k) is meaningless for a continuous random variable. Only intervals can have a non-zero probability; represented by the area under the density curve for that interval .  Discrete random variables commonly arise from situations that involve counting something.  Situations that involve measuring something often result in a continuous random variable. Continuous Random Variable (Cont…)
  • 10. 10 Continuous Probability Models Example: This is a uniform density curve for the variable X. Find the probability that X falls between 0.3 and 0.7. Ans: P(0.3 ≤ X ≤ 0.7) = (0.7- 0.3) * 1 = 0.4 Uniform Distribution
  • 11. 11 Continuous Probability Models (Cont…) Example: Find the probability of getting a random number that is less than or equal to 0.5 OR greater than 0.8. P(X ≤ 0.5 or X > 0.8) = P(X ≤ 0.5) + P(X > 0.8) = 0.5 + 0.2 = 0.7 Uniform Distribution
  • 12. 12 Continuous Probability Models (Cont…) General Form: The probability of the event A is the shaded area under the density curve. The total area under any density curve is 1.
  • 13. 13 Normal Probability Model The probability distribution of many random variables is a normal distribution. Example: Probability distribution of Women’s height. Here, since we chose a woman randomly, her height, X, is a random variable. To calculate probabilities with the normal distribution, we standardize the random variable (z score) and use the Table A.
  • 14. 14 Normal Probability Model (Cont…) Reminder: standardizing N(µ,σ) We standardize normal data by calculating z-score so that any normal curve can be transformed into the standard Normal curve N(0,1). σ µ)( − = x z
  • 15. 15 Normal Probability Model (Cont…) Women’s heights are normally distributed with µ = 64.5 and σ = 2.5 in. The z-scores for 68, And for x = 70", 4.1 5.2 )5.6468( = − =z z = (70−64.5) 2.5 = 2.2 The area under the curve for the interval [68”,70”] is 0.9861-0.9192=0.0669. Thus the probability that a randomly chosen woman falls into this range is 6.69%. i.e. P(68 ≤ X ≤ 70)= 6.69%. What is the probability, if we pick one woman at random, that her height will be between 68 and 70 inches i.e. P(68 ≤ X ≤ 70)? Here because the woman is selected at random, X is a random variable.