SlideShare a Scribd company logo
Statistics and Probability
Final Project
Names ID Department
Shahwar Irshad 29787 BS(SE)
Syed Haseeb Hussain 30413 BS(SE)
Adnan Ahmad 30481 BS(SE)
Muhammad Ansar 30461 BS(SE)
Submitted to: Mr. Abrar Khalid
Submission Date: 29/05/2020
Measures of variation:
An average is an attempt to summarize a set of data using just one number.an average taken by
itself may not always be very meaningful. We need a statistical cross-reference that measures
the spread of the data. Two sets could have the same mean and look very different in terms of
spread.
Example:
Set A: 10, 10, 11, 12, 12
Set B: 2, 4, 11, 18, 20
Both have a mean of 11.
Example 2:
A testing lab wishes to test two experimental brands of outdoor paint to see how long each will
last before fading. The testing lab makes 6 gallons of each paint to test. Since different chemical
agents are added to each group and only six cans are involved, these two groups constitute two
small populations. The results (in months) are shown. Find the mean of each group.
Brand A Brand B
10 35
60 45
50 30
30 35
40 40
20 25
Mean for brand A: 𝜇 = ∑
𝑥
𝑁
=
210
6
Mean for brand B: 𝜇 = ∑
𝑥
𝑁
=
210
6
Used to determine the scatter of values in a distribution. In this presentation, we will consider
the six measures of variation:
1. Range.
2. Quartile deviation.
3. Mean deviation.
4. Variance.
5. Standard deviation.
6. The coefficient of variation.
1)Range:
The range is a measure of variation, it is the difference between the largest and smallest
values of a data distribution. Does not tell how much other values vary from one another or
from the mean…
Range = h – l
Where:
H= represents the highest value.
L = represents the lower value.
Example:
A testing lab wishes to test two experimental brands of outdoor paint to see how long each will
last before fading. The testing lab makes 6 gallons of each paint to test. Since different chemical
agents are added to each group and only six cans are involved, these two groups constitute two
small populations. The results (in months) are shown. Find the mean of each group.
Brand A Brand B
10 35
60 45
50 30
30 35
40 40
20 25
Rang for brand A: 60 - 10 = 50.
Rang for brand B: 45 – 25 = 20.
2)Quartile Deviations:
Quartile Deviations Is a measure that describes the existing dispersion in terms of the
distance selected observation points. The smaller the quartiles deviation, the greater the
concentration in the middle half if the observation in the data set. Are measures of
variation which uses percentiles, deciles, or quartiles?
Quartile Deviation (QD) means the semi variation between the upper quartiles (Q3) and
lower quartiles (Q1) in a distribution. Q3 - Q1 is referred as the interquartile range.
Formula:
QD = Q3 - Q1/2 where and are the first and third quartiles and is the interquartile range.
UngroupedData Example:
33 56 74 82 51 48 65 81 52 71 85 50 67 83 68 38 58 77
45 62 79 43 59 79 41
Arrange the 25 entries from lowest to highest.
33 48 58 68 79
38 50 59 71 81
41 51 62 74 83
43 52 65 77 83
45 56 67 79 85
(n=25)
For semi-interquartile range
Since Q3= P75 and Q1=P25 we use P75 and P25…..
For P75:
Cum.Freq.of P75= x = 18.75 or 19
This means that P75 is the 19th entry
Therefore, P75 =77
For P25
Cum. Freq. of P25= . 25=6.6
Which means that P25 is entry 6th
So P25= 48
Hence semi interquartile range = 14.5
Grouped Data Example:
class intervals f cf
21-23 3 3
24-26 4 7
27-29 6 13
30-32 10 23
33-35 5 28
36-38 2
N=30
30
Note that Q3-Q1= P75-P25
For P75
Cum freq. of P75 = x 75= 22.5 or 22
L= 29.5, f= 10, F=13, c=3, j= 75
P75= 32.35
For P25
Cum freq. of P25= x 25= 7.5 or 8
L= 26.5 , f= 6 , F=7, c=3 , j= 25
P25= 26.75
Finally the interquartile range is P75-P25= 32.35-26.75= 5.6
3)Mean Deviation:
The mean deviation or average deviation is the arithmetic mean of the absolute deviations and
is denoted by
Example:
Calculate the mean deviation of the following distribution: 9 , 3 , 8 , 8 , 9 , 8 , 9 , 18.
For Grouped Data:
If the data Is grouped in a frequency table, the expression of the mean deviation is
Example:
Calculate the mean deviation of the following distribution:
X F x-f |x-x| |x-x|.f
[10 , 15) 12.5 3 37.5 9.286 27.858
[15,20) 17.5 5 87.5 4.286 21.43
[20,25) 22.5 7 157.5 0.714 4.998
[25,30) 27.5 4 110 5.714 22.856
[30,35) 32.5 2 65 10.714 21.428
21 457.5 98.57
4)Variance
In probability theory and statistics variance measures how far a set of numbers is spread out. A
variance of zero indicates that all the values are identical. Variance is always non-negative: a
small variance indicates that the data points tend to be very close to the mean expected value
and hence to each other, while a high variance indicates that the data points are very spread
out around the mean and from each other.
It is important to distinguish between the variance of a population and the variance of a
sample. They have different notation, and they are computed differently. The variance of a
population is denoted by σ2 ; and the variance of a sample, by s2 .
Variance of a population
The variance of a population is defined by the following formula: σ2 = Σ ( Xi - X )2 / N where σ2
is the population variance, X is the population mean, Xi is the ith element from the population,
and N is the number of elements in the population
Variance of a sample
The variance of a sample is defined by slightly different formula: s2 = Σ ( xi - x )2 / ( n - 1 )
where s2 is the sample variance, x is the sample mean, xi is the ith element from the sample,
and n is the number of elements in the sample. Using this formula, the variance of the sample is
an unbiased estimate of the variance of the population.
Example:
Suppose you want to find the variance of scores on a test. Suppose the scores are 67, 72, 85, 93
and 98.
Write down the formula for variance: σ2 = ∑ (x-µ)2 / N
There are five scores in total, so N = 5.
The mean (µ) for the five scores (67, 72, 85, 93, 98), so µ = 83
Then after summarize the numbers
σ2 =706 / 5
This is the variance for the dataset: σ2 = 141.2
5)Standard Deviation
The Standard Deviation is a measure of how spread out numbers are. The symbol for Standard
Deviation is σ (the Greek letter sigma). This is the formula for Standard Deviation:
This is the essential idea of sampling. To find out information about the population (such as
mean and standard deviation), we do not need to look at all members of the population; we
only need a sample. But when we take a sample, we lose some accuracy
The Population Standard Deviation:
The Sample Standard Deviation:
6)Coefficientof Variation:
Coefficient of Variation (CV) Refers to a statistical measure of the distribution of data points in a
data series around the mean. It represents the ratio of the Standard Deviation to the mean. The
coefficient of variation is a helpful statistic in comparing the degree of variation from one data
series to the other, although the means are considerably different from each other.
Coefficient of VariationFormula
Coefficient of Variation is expressed as the ratio of standard deviation and mean. It is often
abbreviated as CV. Coefficient of variation is the measure of variability of the data. When the
value of coefficient of variation is higher, it means that the data has high variability and less
stability. When the value of coefficient of variation is lower, it means the data has less
variability and high stability. The formula for coefficient of variation is:
Coefficient of Variation = Standard Deviation / Mean
Example:
Find the coefficient of variation of 5, 10, 15, and 20?
Formula for the mean: x =
∑ 𝑥
𝑁
x = 50
50
4
= 12.5
X x- ẋ (x− ẋ)2
5 -7.5 56.25
10 -2.5 6.25
15 2.5 6.25
20 7.5 56.25
∑X=50 ∑(x- ẋ)2
=125
Formula for population standard deviation:
S= √∑(x − x¯)2/N
=
125
4
=5.56
Coefficient of variation= standard deviation / mean =
5.59 /12.5
Coefficient of variation = 0.4470
Chebyshev’s Theorem:
specifies the proportions of the spread in terms of the standard deviation (for any shaped
distribution)
standard deviations of the mean, will be at least
Where k is a number greater than 1 (k is not necessarily an integer).
Example
What percent of the data in a set should fall within 3 standard deviations of the mean?
1 −
1
𝑘2
= 1 −
1
32
= 1 −
1
9
=
8
9
= 𝟖𝟗%
So, 89% of the numbers in the set fall within 3 standard deviations of the mean

More Related Content

What's hot

T test statistic
T test statisticT test statistic
T test statistic
qamrunnisashaikh1997
 
3.3 Measures of relative standing and boxplots
3.3 Measures of relative standing and boxplots3.3 Measures of relative standing and boxplots
3.3 Measures of relative standing and boxplots
Long Beach City College
 
Measures of Relative Standing and Boxplots
Measures of Relative Standing and BoxplotsMeasures of Relative Standing and Boxplots
Measures of Relative Standing and Boxplots
Long Beach City College
 
3.2 measures of variation
3.2 measures of variation3.2 measures of variation
3.2 measures of variationleblance
 
Measure of Dispersion
Measure of DispersionMeasure of Dispersion
Measure of Dispersionelly_gaa
 
Statistics-Measures of dispersions
Statistics-Measures of dispersionsStatistics-Measures of dispersions
Statistics-Measures of dispersionsCapricorn
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
Nilanjan Bhaumik
 
14 ch ken black solution
14 ch ken black solution14 ch ken black solution
14 ch ken black solutionKrunal Shah
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
Sayeda Salma S.A.
 
Hypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec domsHypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec doms
Babasab Patil
 
Measures of Dispersion
Measures of DispersionMeasures of Dispersion
Measures of Dispersion
Birinder Singh Gulati
 
Measures of dispersion discuss 2.2
Measures of dispersion discuss 2.2Measures of dispersion discuss 2.2
Measures of dispersion discuss 2.2
Makati Science High School
 
Measures of dispersion or variation
Measures of dispersion or variationMeasures of dispersion or variation
Measures of dispersion or variation
Raj Teotia
 
Chapter3
Chapter3Chapter3
Measures of variability
Measures of variabilityMeasures of variability
Measures of variability
jennytuazon01630
 

What's hot (18)

T test statistic
T test statisticT test statistic
T test statistic
 
3.3 Measures of relative standing and boxplots
3.3 Measures of relative standing and boxplots3.3 Measures of relative standing and boxplots
3.3 Measures of relative standing and boxplots
 
Measures of Relative Standing and Boxplots
Measures of Relative Standing and BoxplotsMeasures of Relative Standing and Boxplots
Measures of Relative Standing and Boxplots
 
3.2 measures of variation
3.2 measures of variation3.2 measures of variation
3.2 measures of variation
 
Z And T Tests
Z And T TestsZ And T Tests
Z And T Tests
 
Measure of Dispersion
Measure of DispersionMeasure of Dispersion
Measure of Dispersion
 
Statistics-Measures of dispersions
Statistics-Measures of dispersionsStatistics-Measures of dispersions
Statistics-Measures of dispersions
 
Chapter15
Chapter15Chapter15
Chapter15
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
 
14 ch ken black solution
14 ch ken black solution14 ch ken black solution
14 ch ken black solution
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
 
Hypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec domsHypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec doms
 
Measures of Dispersion
Measures of DispersionMeasures of Dispersion
Measures of Dispersion
 
Measures of dispersion discuss 2.2
Measures of dispersion discuss 2.2Measures of dispersion discuss 2.2
Measures of dispersion discuss 2.2
 
Measures of dispersion or variation
Measures of dispersion or variationMeasures of dispersion or variation
Measures of dispersion or variation
 
Chapter3
Chapter3Chapter3
Chapter3
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Measures of variability
Measures of variabilityMeasures of variability
Measures of variability
 

Similar to Statistics and probability

variance
variance variance
variance
ShahwarKhan16
 
Measures of Variation
Measures of VariationMeasures of Variation
Measures of Variation
Rica Joy Pontilar
 
Measures of Dispersion.pptx
Measures of Dispersion.pptxMeasures of Dispersion.pptx
Measures of Dispersion.pptx
Vanmala Buchke
 
Measures of Dispersion
Measures of DispersionMeasures of Dispersion
Measures of Dispersion
KainatIqbal7
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
HazilahMohd
 
Statistics.pdf
Statistics.pdfStatistics.pdf
Statistics.pdf
Shruti Nigam (CWM, AFP)
 
Measure of Variability Report.pptx
Measure of Variability Report.pptxMeasure of Variability Report.pptx
Measure of Variability Report.pptx
CalvinAdorDionisio
 
3.3 Measures of Variation
3.3 Measures of Variation3.3 Measures of Variation
3.3 Measures of Variation
mlong24
 
Makalah ukuran penyebaran
Makalah ukuran penyebaranMakalah ukuran penyebaran
Makalah ukuran penyebaran
Nurkhalifah Anwar
 
Measures of Variation
Measures of Variation Measures of Variation
Measures of Variation
Long Beach City College
 
Penggambaran Data Secara Numerik
Penggambaran Data Secara NumerikPenggambaran Data Secara Numerik
Penggambaran Data Secara Numerik
anom1392
 
Stat2013
Stat2013Stat2013
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )Neeraj Bhandari
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
Long Beach City College
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
Long Beach City College
 
Measures of Variability.pptx
Measures of Variability.pptxMeasures of Variability.pptx
Measures of Variability.pptx
NehaMishra52555
 
measure of variability (windri). In research include example
measure of variability (windri). In research include examplemeasure of variability (windri). In research include example
measure of variability (windri). In research include example
windri3
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of data
Unsa Shakir
 
Numerical measures stat ppt @ bec doms
Numerical measures stat ppt @ bec domsNumerical measures stat ppt @ bec doms
Numerical measures stat ppt @ bec doms
Babasab Patil
 

Similar to Statistics and probability (20)

variance
variance variance
variance
 
Measures of Variation
Measures of VariationMeasures of Variation
Measures of Variation
 
Measures of Dispersion.pptx
Measures of Dispersion.pptxMeasures of Dispersion.pptx
Measures of Dispersion.pptx
 
Chapter 11 Psrm
Chapter 11 PsrmChapter 11 Psrm
Chapter 11 Psrm
 
Measures of Dispersion
Measures of DispersionMeasures of Dispersion
Measures of Dispersion
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
Statistics.pdf
Statistics.pdfStatistics.pdf
Statistics.pdf
 
Measure of Variability Report.pptx
Measure of Variability Report.pptxMeasure of Variability Report.pptx
Measure of Variability Report.pptx
 
3.3 Measures of Variation
3.3 Measures of Variation3.3 Measures of Variation
3.3 Measures of Variation
 
Makalah ukuran penyebaran
Makalah ukuran penyebaranMakalah ukuran penyebaran
Makalah ukuran penyebaran
 
Measures of Variation
Measures of Variation Measures of Variation
Measures of Variation
 
Penggambaran Data Secara Numerik
Penggambaran Data Secara NumerikPenggambaran Data Secara Numerik
Penggambaran Data Secara Numerik
 
Stat2013
Stat2013Stat2013
Stat2013
 
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Measures of Variability.pptx
Measures of Variability.pptxMeasures of Variability.pptx
Measures of Variability.pptx
 
measure of variability (windri). In research include example
measure of variability (windri). In research include examplemeasure of variability (windri). In research include example
measure of variability (windri). In research include example
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of data
 
Numerical measures stat ppt @ bec doms
Numerical measures stat ppt @ bec domsNumerical measures stat ppt @ bec doms
Numerical measures stat ppt @ bec doms
 

Recently uploaded

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 

Recently uploaded (20)

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 

Statistics and probability

  • 1. Statistics and Probability Final Project Names ID Department Shahwar Irshad 29787 BS(SE) Syed Haseeb Hussain 30413 BS(SE) Adnan Ahmad 30481 BS(SE) Muhammad Ansar 30461 BS(SE) Submitted to: Mr. Abrar Khalid Submission Date: 29/05/2020
  • 2. Measures of variation: An average is an attempt to summarize a set of data using just one number.an average taken by itself may not always be very meaningful. We need a statistical cross-reference that measures the spread of the data. Two sets could have the same mean and look very different in terms of spread. Example: Set A: 10, 10, 11, 12, 12 Set B: 2, 4, 11, 18, 20 Both have a mean of 11. Example 2: A testing lab wishes to test two experimental brands of outdoor paint to see how long each will last before fading. The testing lab makes 6 gallons of each paint to test. Since different chemical agents are added to each group and only six cans are involved, these two groups constitute two small populations. The results (in months) are shown. Find the mean of each group. Brand A Brand B 10 35 60 45 50 30 30 35 40 40 20 25 Mean for brand A: 𝜇 = ∑ 𝑥 𝑁 = 210 6 Mean for brand B: 𝜇 = ∑ 𝑥 𝑁 = 210 6
  • 3. Used to determine the scatter of values in a distribution. In this presentation, we will consider the six measures of variation: 1. Range. 2. Quartile deviation. 3. Mean deviation. 4. Variance. 5. Standard deviation. 6. The coefficient of variation. 1)Range: The range is a measure of variation, it is the difference between the largest and smallest values of a data distribution. Does not tell how much other values vary from one another or from the mean… Range = h – l Where: H= represents the highest value. L = represents the lower value. Example: A testing lab wishes to test two experimental brands of outdoor paint to see how long each will last before fading. The testing lab makes 6 gallons of each paint to test. Since different chemical agents are added to each group and only six cans are involved, these two groups constitute two small populations. The results (in months) are shown. Find the mean of each group. Brand A Brand B 10 35 60 45 50 30 30 35 40 40 20 25 Rang for brand A: 60 - 10 = 50. Rang for brand B: 45 – 25 = 20.
  • 4. 2)Quartile Deviations: Quartile Deviations Is a measure that describes the existing dispersion in terms of the distance selected observation points. The smaller the quartiles deviation, the greater the concentration in the middle half if the observation in the data set. Are measures of variation which uses percentiles, deciles, or quartiles? Quartile Deviation (QD) means the semi variation between the upper quartiles (Q3) and lower quartiles (Q1) in a distribution. Q3 - Q1 is referred as the interquartile range. Formula: QD = Q3 - Q1/2 where and are the first and third quartiles and is the interquartile range. UngroupedData Example: 33 56 74 82 51 48 65 81 52 71 85 50 67 83 68 38 58 77 45 62 79 43 59 79 41 Arrange the 25 entries from lowest to highest. 33 48 58 68 79 38 50 59 71 81 41 51 62 74 83 43 52 65 77 83 45 56 67 79 85 (n=25) For semi-interquartile range Since Q3= P75 and Q1=P25 we use P75 and P25….. For P75: Cum.Freq.of P75= x = 18.75 or 19 This means that P75 is the 19th entry Therefore, P75 =77
  • 5. For P25 Cum. Freq. of P25= . 25=6.6 Which means that P25 is entry 6th So P25= 48 Hence semi interquartile range = 14.5 Grouped Data Example: class intervals f cf 21-23 3 3 24-26 4 7 27-29 6 13 30-32 10 23 33-35 5 28 36-38 2 N=30 30 Note that Q3-Q1= P75-P25 For P75 Cum freq. of P75 = x 75= 22.5 or 22 L= 29.5, f= 10, F=13, c=3, j= 75 P75= 32.35 For P25 Cum freq. of P25= x 25= 7.5 or 8 L= 26.5 , f= 6 , F=7, c=3 , j= 25 P25= 26.75 Finally the interquartile range is P75-P25= 32.35-26.75= 5.6
  • 6. 3)Mean Deviation: The mean deviation or average deviation is the arithmetic mean of the absolute deviations and is denoted by Example: Calculate the mean deviation of the following distribution: 9 , 3 , 8 , 8 , 9 , 8 , 9 , 18. For Grouped Data: If the data Is grouped in a frequency table, the expression of the mean deviation is Example: Calculate the mean deviation of the following distribution: X F x-f |x-x| |x-x|.f [10 , 15) 12.5 3 37.5 9.286 27.858 [15,20) 17.5 5 87.5 4.286 21.43 [20,25) 22.5 7 157.5 0.714 4.998 [25,30) 27.5 4 110 5.714 22.856
  • 7. [30,35) 32.5 2 65 10.714 21.428 21 457.5 98.57 4)Variance In probability theory and statistics variance measures how far a set of numbers is spread out. A variance of zero indicates that all the values are identical. Variance is always non-negative: a small variance indicates that the data points tend to be very close to the mean expected value and hence to each other, while a high variance indicates that the data points are very spread out around the mean and from each other. It is important to distinguish between the variance of a population and the variance of a sample. They have different notation, and they are computed differently. The variance of a population is denoted by σ2 ; and the variance of a sample, by s2 . Variance of a population The variance of a population is defined by the following formula: σ2 = Σ ( Xi - X )2 / N where σ2 is the population variance, X is the population mean, Xi is the ith element from the population, and N is the number of elements in the population Variance of a sample The variance of a sample is defined by slightly different formula: s2 = Σ ( xi - x )2 / ( n - 1 ) where s2 is the sample variance, x is the sample mean, xi is the ith element from the sample, and n is the number of elements in the sample. Using this formula, the variance of the sample is an unbiased estimate of the variance of the population. Example: Suppose you want to find the variance of scores on a test. Suppose the scores are 67, 72, 85, 93 and 98. Write down the formula for variance: σ2 = ∑ (x-µ)2 / N There are five scores in total, so N = 5. The mean (µ) for the five scores (67, 72, 85, 93, 98), so µ = 83 Then after summarize the numbers σ2 =706 / 5 This is the variance for the dataset: σ2 = 141.2
  • 8. 5)Standard Deviation The Standard Deviation is a measure of how spread out numbers are. The symbol for Standard Deviation is σ (the Greek letter sigma). This is the formula for Standard Deviation: This is the essential idea of sampling. To find out information about the population (such as mean and standard deviation), we do not need to look at all members of the population; we only need a sample. But when we take a sample, we lose some accuracy The Population Standard Deviation: The Sample Standard Deviation:
  • 9. 6)Coefficientof Variation: Coefficient of Variation (CV) Refers to a statistical measure of the distribution of data points in a data series around the mean. It represents the ratio of the Standard Deviation to the mean. The coefficient of variation is a helpful statistic in comparing the degree of variation from one data series to the other, although the means are considerably different from each other. Coefficient of VariationFormula Coefficient of Variation is expressed as the ratio of standard deviation and mean. It is often abbreviated as CV. Coefficient of variation is the measure of variability of the data. When the value of coefficient of variation is higher, it means that the data has high variability and less stability. When the value of coefficient of variation is lower, it means the data has less variability and high stability. The formula for coefficient of variation is: Coefficient of Variation = Standard Deviation / Mean Example: Find the coefficient of variation of 5, 10, 15, and 20? Formula for the mean: x = ∑ 𝑥 𝑁 x = 50 50 4 = 12.5 X x- ẋ (x− ẋ)2 5 -7.5 56.25 10 -2.5 6.25 15 2.5 6.25 20 7.5 56.25 ∑X=50 ∑(x- ẋ)2 =125
  • 10. Formula for population standard deviation: S= √∑(x − x¯)2/N = 125 4 =5.56 Coefficient of variation= standard deviation / mean = 5.59 /12.5 Coefficient of variation = 0.4470 Chebyshev’s Theorem: specifies the proportions of the spread in terms of the standard deviation (for any shaped distribution) standard deviations of the mean, will be at least Where k is a number greater than 1 (k is not necessarily an integer). Example What percent of the data in a set should fall within 3 standard deviations of the mean? 1 − 1 𝑘2 = 1 − 1 32 = 1 − 1 9 = 8 9 = 𝟖𝟗% So, 89% of the numbers in the set fall within 3 standard deviations of the mean