Descriptive Statistics and Probabilities Guide
Descriptive Statistics and Probabilities Guide
Page 1
Descriptive statistics & probabilities
Table of contents
References48
Page 2
Descriptive statistics & probabilities
Chapter 1
Statistics with one variable
[Link]:
a-The word " Statisticsin the plural refers to collections of figures, presented
sometimes in the form of tables, sometimes translated by graphs, and which
gather all the observations made on numerous facts, andrelated to a
same phenomenon.
b-The " Descriptive statisticsis a set of methods for describing
and to analyze, systematically and in a quantified mannerstatistical data
c- The Mathematical statisticsis the science of which The purpose is to formulate laws
of behavior based on observation.
It relies not only on descriptive statistics, but also on calculation.
of probabilities.
[Link]:
The populationstatistics
is the set on which the study is focused.
Individualsor the statistical units
are the elements that make up the populationstatistics.
The sample
is a part of the population.
The character
is the aspect that we observe on individuals, it is the fact on which the study is focused
statistics.
He isit is often possible to observe two or more characters in the same
study.
When thecharacter is not not subject to a measure (for example nationality
of a person, their family situation, etc.), it is saidqualitativeand we call him/heralso
modalities.
When, on the contrary, this characteristic can be measured (for examplethe age weight, the
size.. etc), itis saidquantitativeand we call its measurevalueorvariable
statistics.
The statistical variablemaybe a name, and in this case it is saiddiscontinue
ordiscreet, as it can be an interval, and in this case it is calledcontinue.
Effective or absolute frequency
Page 3
Descriptive statistics & probabilities
2.1. Example 1
According toa
study conducted on a sample of 100 families, the number of children
aged 0 to 16 years is detailed in the following table:
2.2. Example 2
Distribution of deposits made in a bank, according to the amount in
thousands of dirhams:
Page 4
Descriptive statistics & probabilities
2.3. Example 3
In the study ofnumber of registrations, in thousands, of new vehicles in
France in 2007 for four major manufacturers, we have the following results:
The characterStudying here is the type of the new ones. vehicles, so it's a character
qualitative.
2.4. Example 4
Here we will give an example of a two-way statistical table, that is to say
a statistical study with two variables.
It is a distribution table of the children in a school based on their ages and their
weight.
Page 5
Descriptive statistics & probabilities
3.2. Histogram
To represent the counts or frequencies of a continuous statistical variable
or of a modality, we use the representation by histogram (expls2 and 3).
We carry on the abscissaabout at the end, segments that have the same amplitude,
representing the classes.
On each of the base segments, a rectangle is [Link] height the staff
partner.
Note:
In a histogram representation, it is the area of the rectangles that is
proportional tostaff.
Application to example 2
Page 6
Descriptive statistics & probabilities
120
100
80
60
40
20
3.3. Polygon:
In a histogram, by connecting the midpoints of the tops of its [Link]
obtains a polygon that serves to give the general appearance of the phenomenon studied.
Application to Example 2
Polygon of staff
120
100
80
60
40
20
0
Page 7
Descriptive statistics & probabilities
3.4. Curve:
We representthe increasing cumulative totals and the totals decreasing cumulative
by curves( de even for the cumulative increasing frequenciesand the
decreasing cumulative frequencies.
Page 8
Descriptive statistics & probabilities
Application to example 2
Page 9
Descriptive statistics & probabilities
[Link] averages:
a- The averagearithmetic is
∑ ∗
̅= =
∑ ∗
̅=
b- The quadratic meanis
∑ x *n
q=
n
c- The geometric meanest
g = ∏x
d- The averageharmonic is
ℎ=
∑
.
Remarks:
a-The average quadratic isthesquare rootof the arithmetic mean of x squared
b-The harmonic mean isthe inverseof the arithmetic meanof .
c-For a continuous statistical variable, the previous averages of
the same way by takingthe environmentsintervals as being the values
Page 10
Descriptive statistics & probabilities
more practicalusing the curve of cumulative increasing frequencies (or also the
cumulative frequency curvedecreasing) since it is the antecedent of the halfof
the total workforce.
Chapter 2
Two-variable statistics
Example 5:
We have size and weight measurements of 19 adolescents presented by
pairs (thesize; the weight).
140; 38.2; {161 ; 44,3} ; {155 ; 46,1} ; {148 ; 38,2} ; {155 ; 50.5} ; {123 ; 22,4} ; {160 ;
40.4{140 ; 34.7} 165; 50.5{172 ; 50.5{155 ; 38.1} ; {160 ; 57.3} ; {142 ; 39.3
; {157 ; 46,1} ; {142; 37.1}; {148 ; 45,9}; {180 ; 66,3}; {167 ; 60} ;{165 ; 50,5}}
Page 12
Descriptive statistics & probabilities
[120;140[ 1 0 0 1
[140 ;160[ 6 4 0 10
[160; 180] 0 6 2 8
Total 7 10 2 19
Page 13
Descriptive statistics & probabilities
Page 14
Descriptive statistics & probabilities
. = , ∊ {1, … , }
. = , ∊ {1, … , p}
= .= .
1
= Nn. * Xl
1
= . m * Ym
Marginal variancesare:
1
= Nl. * Xl −
1
= N. m * Ym² - Y²
σ =
σ =
( , )= ( ∗ )− ∗
Page 15
Descriptive statistics & probabilities
( , )= ( , )
We draw a curve that we callcurve of regression» and who passes between the
observations of a point cloud.
Most often, we try to draw aline that we then refer to as right
of regression» orright of trend».
And we will say that we haveone linear liaison» between the variables.
Page 16
Descriptive statistics & probabilities
For this, we are looking for the function f such that the differences (− ( )
) with
∊ {1, … , p} andm ∊ {1, … , } , be minimal.
Page 17
Descriptive statistics & probabilities
∗ ( − ( )²
be minimal.
( , )
=
= −
Remark
The regression line passes through the point with coordinates( ; ) that we call
midpoint.
Page 18
Descriptive statistics & probabilities
( , )
=
∗
Page 19
Descriptive statistics & probabilities
Chapter 3
Combinatorial analysis and notion of
probabilities
. . …
Example
Suppose a license plate contains two distinct letters followed by
of three digits, the first of which is different from zero How many plates
What different things can we print?
There are 26 different ways to print the first letter, 25 different ways
to print the second letter, 9 different ways to print the first digit and
10 for the other two.
Page 20
Descriptive statistics & probabilities
Theorem 1:
!
=
( − )!
Read "factorial n ».
!
!⨯ !⨯…⨯ !
1.4. Combinations:
A combination of p objects from n is a subset containing p.
elements.
Theorem 3:
= =
!
Properties:
C =1=
C = =
3. C = for everything1 ≤ p ≤ n.
Page 21
Descriptive statistics & probabilities
4. C + = for everything1≤p≤n
5. Thebinomial formula:
For all a and x in R and all n in N we have: + (= ) ∑
Example:
Determine the elements of the product set AxBxC with A={1,2}, B={a, b, c}
and C={3,4
Page 22
Descriptive statistics & probabilities
2.1.2. Examples:
Example1:
We roll a die and observe the result obtained.
A = { 2, 4, 6 }B = { 1, 3, 5 } and C{ 2, 3, 5 }.
A ⋂ B = ∅,A ∪ C = { 2, 3, 4, 5, 6 } and B⋂ C = { 3, 5 }.
Page 23
Descriptive Statistics & Probabilities
Example2:
We toss a coin and observe the sequence of heads H and tails T.
obtained.
Example3:
We toss a coin until we get heads, and we count the
number of times the coin has been tossed.
Definition:
It is said that P is a probability function and that P(A) is the probability of
event A if we have the following axioms:
II. P(S)= 1.
Consequences:
1) P( ∅)equals zero.
Page 24
Descriptive statistics & probabilities
P (A∪ B ∪ C )
= P (A+) P B( +) P C-(P )A ∩ (B- P A )∩ C-( P C ∩) B+ P(A
( ∩ B) ∩ C)
Definition:
If at each point a to S a real number p is attributed , which is called
probability of a checking the following properties:
Example4 :
We toss three coins into the air and observe the number of heads obtained.
Let A be the event that we have at least one head and B be the event that
would correspond to either three heads or three tails, that is to say thatA =2 3} and
B = {0 ;3}.
Page 25
Descriptive statistics & probabilities
So we have P( A=
) 1 +(p )2 + p( 3=
) ( ) and (P )B= p (0 )+p 3 (= )
Example 5:
When throwing a fair die.
3. 1. Probabilityconditional:
Let E be an arbitrary event from a fundamental set S such that P(E) 0.
Definition:
The probability of event A occurring, given that event E has occurred.
previously, or in other words, the conditional probability of A given that
( ∩ )
It is realized that we write (A) is defined by: ( =
)
( )
Example6 :
We throw a pair of fair dice.
Knowing that the sum is equal to 6, calculate the probability that at least one
some dice had given a 2.
= { (2 ; 1), (2 ; 2), (2 ; 3), (2 ; 4), (2 ; 5), (2 ; 6), (1 ; 2), (3 ; 2), (4 ; 2), (5 ; 2), (6 ; 2)}
( ∩ )
A ∩ E = { (2 ; 4), (4 ; 2) }.Where from ( ) = =
( )
Multiplication Theorem:
A and E two events such that: P(E)0. So we have P A∩ =( ). ( )( )
P(A ∩ A ∩ A ∩ . . .∩ A )
= (A ). A( . ) ∩ A( . ( ) )∩ ∩ A . . . . ∩ ∩ ∩ . . .∩ (A)
Bayes' Theorem:
Let B be aeventandA , A A . . . A a partition of S, that is to say that:
P( B=
)( ) A( . ) B ( +)P A (. ) B +P
( )A . ( B) +. . ( .+) A . ( )
B
Example7 :
Page 27
Descriptive statistics & probabilities
So then,
p = P(P′)
= PP( ∩ F )+P P ( ∩ P )
= (F )(. ) P ′ + P ( )(P′ )
= × + × =
One can read this requested probabilityon the tree diagram with the
corresponding probabilitiesas follows :
Note that there are two paths leadingto P' and the probability of this
event isthe sum of the products of probabilities mentioned all over a
same path.
3. 2. Independence:
Definition:
It is said that an event B is independent of an event A with P(A) ≠0 yes :
(B) = ( )
Consequence:
A and B are independent if and only if P(A∩ B) = P(A).P(B)
Page 28
Descriptive statistics & probabilities
Chapter 4
Discrete random variables
1.1 Definition
A random variable X on a fundamental set S is a function of S
in the set ℝ of real numbers.
1.2 Example
We toss a coin three times, and observe the sequence of heads (H) and tails (T)
of faces (F) obtained.
={ ; ; ; ; ; ; ; }
and X(FFF)= 3.
Page 29
Descriptive statistics & probabilities
Property:
Random variables are definedX+Y, X + k,k.X and X.Y ( where k is a number
real) on the ensemble fundamental S in the following way:
Notations :
We use abbreviated notations = ( )( ≤ ≤ ) to designate the
probabilities :
( = )= ({ ∊ ( ) = }
( ≤ ≤ )= ({ ∊ (≤ ) ≤ }
2.1 Definition:
Let X be a random variable on a finite value sample space S. It is
to say ( )= { , , . . ., }.
… …
( ) ( ) ( ) … …
Page 30
Descriptive statistics & probabilities
( )= × ( )
Page 31
Descriptive statistics & probabilities
Page 32
Descriptive statistics & probabilities
Page 33
Descriptive statistics & probabilities
Page 34
Descriptive statistics & probabilities
Page 35
Descriptive statistics & probabilities
Page 36
Descriptive statistics & probabilities
Page 37
Descriptive statistics & probabilities
Page 38
Descriptive statistics & probabilities
Page 39
Descriptive statistics & probabilities
Page 40
Descriptive statistics & probabilities
Page 41
Descriptive statistics & probabilities
Page 42
Descriptive statistics & probabilities
Page 43
Descriptive statistics & probabilities
Page 44
Descriptive statistics & probabilities
Example:
X follows the binomial law B(n = 8 ; p = 0.5) don'tthe probability law is given by the
next table:
The previous property of the normal probability law is generalized thanks to the
Central Limit Theoremfollowing:
Page 45
Descriptive statistics & probabilities
So:
µ
( )=µ, ( )= and for sufficiently large n, the law of = ; the
√
standardized variable associated with M is adjacent to the centered normal law
reduced N(0;1).
Example:
We throw180 times a well-balanced die.
Therefore
∗
P ( 29≤ X ≤ 32≅ ) 28.5( ≤ Y ≤ 32.5 = P -0.3
) ≤( ≤ 0.5 = 0.3094)
Page 46
Descriptive statistics & probabilities
Page 47
Descriptive statistics & probabilities
1- Fabrice MAZEROLLE
Descriptive statistics
Gualino publisher(2006)
3-Seymour LIPSCHUTZ
Probability
Schaum Series
[Link]
Essential notions of Statistics and probability calculation.
Sirey 1970
Page 48