SlideShare a Scribd company logo
1 of 10
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

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 boxplotsLong 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 BoxplotsLong 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
 
14 ch ken black solution
14 ch ken black solution14 ch ken black solution
14 ch ken black solutionKrunal Shah
 
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 domsBabasab Patil
 
Measures of dispersion or variation
Measures of dispersion or variationMeasures of dispersion or variation
Measures of dispersion or variationRaj Teotia
 

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

Measures of Dispersion.pptx
Measures of Dispersion.pptxMeasures of Dispersion.pptx
Measures of Dispersion.pptxVanmala Buchke
 
Measures of Dispersion
Measures of DispersionMeasures of Dispersion
Measures of DispersionKainatIqbal7
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminHazilahMohd
 
Measure of Variability Report.pptx
Measure of Variability Report.pptxMeasure of Variability Report.pptx
Measure of Variability Report.pptxCalvinAdorDionisio
 
3.3 Measures of Variation
3.3 Measures of Variation3.3 Measures of Variation
3.3 Measures of Variationmlong24
 
Penggambaran Data Secara Numerik
Penggambaran Data Secara NumerikPenggambaran Data Secara Numerik
Penggambaran Data Secara Numerikanom1392
 
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 VarianceLong 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.pptxNehaMishra52555
 
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 examplewindri3
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of dataUnsa Shakir
 
Numerical measures stat ppt @ bec doms
Numerical measures stat ppt @ bec domsNumerical measures stat ppt @ bec doms
Numerical measures stat ppt @ bec domsBabasab 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

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 

Recently uploaded (20)

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).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