Return of The Lectures: Unit 4
Return of The Lectures: Unit 4
PROBABILITY IS HERE
MATHS METHODS
FT. BRACKETS
& BRACKETS
& BRACKETS
NO
SPAGHETTI
HERE
LECTURE OUTLINE
Integration
Discrete Probability
Binomial Distributions
Normal Distributions
Continuous Probability
Statistics
LEARNING OUTCOMES
Discrete Probability
Probability properties
Sample spaces
Conditional probability, independence and mutual
exclusiveness
Discrete random variables
Expectancy and Variance
INTEGRATION
= +
1 +1 2
1 3
+ = + + 2 + 3 = 2 + 3 +
+1 6
1
= + 2 2 = 2 +
1 3
= log + = 3 log +
1
sin = cos + 2 sin = 2 cos +
1 1
cos = sin + cos 3 = sin 3 +
3
INTEGRATION
= ()
Where () is an antiderivative of ()
number of
Pr =
total
0 Pr() 1
SAMPLE SPACE
, , , , , , , , , , ,
PROBABILITY PROPERTIES
Pr
Pr = Pr + Pr Pr( )
VENN DIAGRAMS
Pr(
)
KARNAUGH MAPS
Pr = 1 Pr
Pr() Pr( ) 1
KARNAUGH MAPS
In a sample space:
0 0.8 0.8
0.1 0.9 1
TREE DIAGRAMS
0.5
0.7
Pr = 0.5 0.7 = 0.35
0.5
PROBABILITY PROPERTIES
Pr( )
Pr =
Pr()
Pr = Pr + Pr()
PROBABILITY PROPERTIES
Pr = Pr()
Pr = Pr Pr()
1 2 2.5 3
Pr( = ) 0.1 0.2 0.3 0.4
0 Pr( = ) 1
Pr = = 1
DETERMINING PROBABILITIES
1 2 2.5 3
Pr( = ) 0.1 0.2 0.3 0.4
Pr = 2.5 = 0.3
The probability that spans more than one discrete value can
be established through addition
+ 2 + 0.2 + 0.4 = 1
= 0.1
Pr 2 = Pr = 2 + Pr = 2.5 + Pr( = 3)
= 0.2 + 0.3 + 0.4 = 0.9
EXPECTED VALUE (MEAN)
Measures the centre of the distribution
E = = Pr( = )
1 2 2.5 3
Pr( = ) 0.1 0.2 0.3 0.4
Var = 2 = E 2 E X 2
= = Var() = E 2 E X 2
= Var = 0.610
EXAMPLE
For the following discrete random variable find the mean and
the standard deviation.
2 0 2 4
Pr( = ) 0.1 0.3 0.1 0.5
E = 0.2 + 0.2 + 2 = 2
= 4.6 = 2.144
EXPECTATION THEORIES
E + = E +
Var + = 2 Var()
E =32+2=8
= 41.4 = 6.434
APPLICATION
The amount of cars that pass through a certain drive-thru on
any particular day follows the discrete random variable, .
0 6 9 12
Pr( = ) 0.1 0.3 0.1 0.5
0 6 9 12
Pr( = ) 0.1 0.3 0.1 0.5
It is expected that, on any given day, that 8.7 cars will pass
through the drive thru.
APPLICATION (B)
0 6 9 12
Pr( = ) 0.1 0.3 0.1 0.5
0 6 9 12
Pr( = ) 0.1 0.3 0.1 0.5
Pr = 0 = 0.1
Definition of a probability
Sample space
Terminology
Union, intersect
Probability properties
Independent, conditional and mutually exclusive
Discrete random variables
Mean, variance, standard deviation and
expectation theories
LEARNING OUTCOMES
Binomial Distributions
Factorial and combinations
Bernoulli sequences
Expectancy and Variance
Continuous Probability
Continuous random variables
Measures of centre
Measure of spread
BERNOULLI SEQUENCES
~ ,
! = 1 2 2 1
!
=
! !
EXAMPLE
Evaluate 6!.
6! = 6 5 4 3 2 1 = 720
15 15! 15 14 13 12
= = = 1365
4 4! 11! 4321
Pr 3 success, 2 fails = 1 1
Pr success, fails = 1
Ways we can arrange the amount of successes =
Pr = = 1
EXAMPLE
Given a soccer player, in practice, has a 90% chance of kicking
a goal, what is the probability that he makes all his shots if he
takes 10? What is the probability he makes half his shots?
~(10, 0.9)
10
Pr = 10 = 0.910 0.10
10
= 0.910
10
Pr( = 5) = 0.95 0.15
5
= 252 0.95 0.15
= 0.001 (3d. p)
EXAMPLE CONTINUED
~(10, 0.9)
In scenarios like this, you can add all the probabilities from 1
to 10, however, as the sum of all probabilities must total 1, we
can take the complement and subtract it from the total
probability.
Pr 0 = 1 Pr = 0 = 1 0.110 = 0.999
EXPECTANCY AND VARIANCE
E =
Var = (1 )
EXAMPLE
~(16, 0.55)
E = = 0.55 16 = 8.8
~(9, 0.55)
Pr( = 2)
Pr = 2 > 0 =
Pr( > 0)
0.041
=
0.999
= 0.041
Curry has a 4.1% chance to make 2 of his 9 shots.
CONTINOUS PROBABILITY
A continuous variable is one that can take any real number
on a number line
A continuous random variable has the following properties:
0 for all
The area enclosed by the graph and the
must equal to one
Which of the following are continuous variables?
3 2
= 01
0 elsewhere
Is () 0 for all ?
Pr < < =
Pr 0 < < 1 =
Is a C. R. V. so Pr 0 < < 1 = 1
1
Pr 0 < < =
2
1/2
3 2 = 0.125
0
1
Pr <<1 =
2
1
1 Pr 0 < < = 0.875
2
EXPECTANCY
= E =
E = ()
MEDIAN
= 0.5
Var = E X 2 2
E X 2 = 2
= V(X)
INTERQUARTILE RANGE
IQR =
= 0.25 and = 0.75
EXAMPLE
Consider the following probability density function:
+ 2 , 01
=
0,
2
If E X = find and .
3
1 1
2
+ 2 = 1 and + 2 =
0 0 3
1
= and = 2
3
EXAMPLE CONTINUED
1 2,
= 3 + 2 01
0,
Evaluate Var(X)
Var X = E X 2 2
1 2
1 2
= 2 2
+ 2
0 3 3
23 4
=
45 9
1
=
15
EXAMPLE CONTINUED
1 2,
= 3 + 2 01
0,
1
+ 2 2 = 0.5
0 3
25 3
+ = 0.5
5 9
= 0.995
= 0.25 and = 0.75
IQR = = 0.381
EXAMPLE CONTINUED
1 2,
= 3 + 2 01
0,
= 0.844
EXAM TIPS
Binomial probability rarely appears in exam 1, if it does it
will be scenarios that involve small numbers.
Continuous distributions
Properties of a P.D.F
Determining probabilities
Mean, median, variance, standard deviation and
IQR
LEARNING OUTCOMES
Normal Distributions
Standardisation and the 68 95 99.7% rule
Determining normal probabilities
Solving problems
Central limit theorem
Statistics
Populations and samples
Large and small populations
Distribution of sample proportion
Confidence intervals
NORMAL DISTRIBUTION
~(, )
1 1 2
= 2
2
THE BELL CURVE
~(17, 0.32 )
~(17, 0.32 )
= 17 2 0.3 = 16.4
THE STANDARD NORMAL
The bell curve you just saw was one of many, it was the
standard normal distribution and has special properties
~(0, 1)
How many standard deviations from the mean is the age 17.6?
17.6 17
= =2
0.3
How many standard deviations from the mean is the age 16.7?
16.7 17
= = 1, =1
0.3
normCdf(1, 1, 0, 1)
= 0.682689
Notice that it is not exactly 68%, this is true for the other
percentages as well.
EXAMPLE
~(120, 102 )
= 0.6179
INVERSE NORMAL
The inverse normally, as the name may suggest, is the
opposite of the normalCdf function.
The inverse normal we can provide the area and it will give
us the upper bound, ASSUMING, that the lower bound is
.
Pr > = 0.1
Pr < = 0.9
invNorm(0.9, 120, 10)
= 132.8155
= 132.816
DETERMINING AND
~(0, 1)
EXAMPLE
is normally distributed with a mean and standard
deviation . It is known that 35% of the data lies under = 6.
And 45% lies above = 10. Find and .
The distribution of sample proportion is .
SMALL POPULATION
3 6 4 3 3
Pr = 1 = =
1 10 9 8 10
0 1 2 3
Pr( = ) 1 3 1 1
6 10 2 30
0 1 2 1
3 3
Pr( = ) 1 3 1 1
6 10 2 30
LARGE POPULATION
0.5398
=
0.9939
= 0.5431
CENTRAL LIMIT THEOREM
= =
(1 )
=
CONFIDENCE INTERVAL
A confidence interval is determined from a sample
1 1
, +
Where Pr < < =
100
EXAMPLE
A certain sample of 100 Spotify users were taken, out of these
80 were premium users. Determine a 95% confidence interval
for .
80
= = 1.96
100
451 549
: ,
625 625
SUMMARY
Normal Distributions
68 95 99.7% Rule
Determining exact and approximate areas
Determining inverse normals
Using your calculator
Statistics
Sampling from small and large populations
Distributions of sample proportions
Expected value and standard deviation
Confidence intervals
Questions?