SlideShare una empresa de Scribd logo
1 de 35
Beatrice van Eden
Probability Distribution
Part 1
Topics
 Probability Distribution
 Probability Distribution Equations
 Descriptive parameters for Probability Distributions
 Probability Theorems
 Binary Variables
 The beta distribution
 Multinomial Variables
 The Dirichlet distribution
Probability Distribution
A function that describes all the possible values and
likelihoods that a random variable can take within a
given range.
This range will be between the minimum and
maximum possible values, but where the possible
value is likely to be plotted on the probability
distribution depends on a number of factors, including
the distributions mean, standard deviation, skewness
and kurtosis.
Probability Distributions
Equations
The section on probability equations explains the
equations that define probability distributions.
Cumulative distribution function (cdf)
Probability mass function (pmf)
Probability density function (pdf)
Probability Distributions
Equations
Cumulative distribution function (cdf)
The (cumulative) distribution function, or probability
distribution function, F(x) is the mathematical equation
that describes the probability that a variable X is less
that or equal to x, i.e.
F(x) = P(X≤x) for all x
where P(X≤x) means the probability of the event X≤x.
Probability Distributions
Equations
Cumulative distribution function for the normal
distributions.
Probability density function
for several normal distributions.
The red line denotes the
standard normal distribution.
Probability Distributions
Equations
A cumulative distribution function has the following
properties:
 F(x) is always non-decreasing, i.e.
 F(x) = 0 at x = -∞ or minimum
F(x) = 1 at x = ∞ or maximum
( ) 0
d
F x
dx

Probability Distributions
Equations
Probability mass function (pmf)
If a random variable X is discrete, i.e. it may take any of
a specific set of n values xi, i = 1 to n, then:
P(X=xi) = p(xi)
p(x) is called the probability mass function
Probability Distributions
Equations
 The graph of a probability mass function. All the
values of this function must be non-negative and
sum up to 1.
 The probability mass function of a fair die. All the
numbers on the die have an equal chance of
appearing on top when the die stops rolling.
1 3 7
0.2 0.5 0.3
1 2 3 4 5 6
1/6 1/6 1/6 1/6 1/6 1/6
Probability Distributions
Equations
Note that
and F(xk) =
1
( ) 1
n
i
i
p x


1
( )
k
i
i
p x


Probability Distributions
Equations
Probability density function (pdf)
If a random variable X is continuous, i.e. it may take any
value within a defined range (or sometimes ranges),
the probability of X having any precise value within that
range is vanishingly small because a total probability of
1 must be distributed between an infinite number of
values. In other words, there is no probability mass
associated with any specific allowable value of X.
Probability Distributions
Equations
Instead, we define a probability density function f(x) as:
i.e. f(x) is the rate of change (the gradient) of the
cumulative distribution function. Since F(x) is always
non-decreasing, f(x) is always non-negative.
( ) ( )
d
f x F x
dx

Probability Distributions
Equations
For a continuous distribution we cannot define the
probability of observing any exact value. However, we
can determine the probability of lying between any two
exact values (a, b):
where b>a.
( ) ( ) ( )P a x b F b F a   
Descriptive parameters for
Probability Distributions
The section on probability parameters explains the
meaning of standard statistics like mean and variance
within the context of probability distributions.
Descriptive parameters for
Probability Distributions
Location
Mode: is the x-value with the greatest
probability p(x) for a discrete distribution, or the
greatest probability density f(x) for a continuous
distribution.
Median: is the value that the variable has a 50%
probability of exceeding, i.e. F(x50) = 0.5
Descriptive parameters for
Probability Distributions
Mean : also known as the expected value, is
given by:
for discrete variables
for continuous variables
The mean is known as the first moment about zero. It
can be considered to be the centre of gravity of the
distribution.
1
n
i i
i
x p

 
. ( ).x f x dx


 
Descriptive parameters for
Probability Distributions
Spread
Standard Deviation: measures the amount of
variation or dispersion from the average or mean. The
standard deviation is the positive square root of the
variance.
The standard deviation has the same dimension as the
data, and hence is comparable with deviations of the
mean.
Descriptive parameters for
Probability Distributions
Variance: measures how far a set of numbers is
spread out.
An equivalent measure is the square root of the
variance, called the standard deviation.
The variance is one of several descriptors of
a probability distribution. In particular, the variance is
one of the moments of a distribution.
Descriptive parameters for
Probability Distributions
Shape
Skewness:
The skewness statistic is calculated from the following
formulae:
Discrete variable:
Continuous variable:
max
3
min
3
( ) . ( ).x f x dx
S





3
1
3
( ) .
n
i i
i
x p
S






Descriptive parameters for
Probability Distributions
Kurtosis:
The kurtosis statistic is calculated from the following
formulae:
Discrete variable:
Continuous variable:
max
4
min
4
( ) . ( ).x f x dx
K





4
1
4
( ) .
n
i i
i
x p
K






Probability Theorems
Probability theorems explains some fundamental
probability theorems most often used in modelling risk,
and some other mathematical concepts that help us
manipulate and explore probabilistic problems.
 The strong law of large numbers
 Central limit theorem
 Binomial Theorem
 Bayes theorem
Probability Theorems
 The strong law of large numbers
 The strong law of large numbers says that the larger
the sample size (i.e. the greater the number of
iterations), the closer their distribution (i.e. the risk
analysis output) will be to the theoretical
distribution (i.e. the exact distribution of the models
output if it could be mathematically derived).
Probability Theorems
 Central Limit Theorem(CLT)
The distribution of the sum of N i.i.d. random
variables becomes increasingly Gaussian as N
grows.
Example: N uniform [0,1] random variables.
Probability Theorems
 Binomial Theorem
a Formula for finding any power of a binomial without
multiplying at length.
Properties of binomial coefficient!
!( )!
n n
x x n x

 
 
 
0
1
1
0
n
i
n n
n x x
n n n
x x n x
n n
n
a b a b
n b n i


   
   
   
     
     
     
   
    
   
    
    
    

Probability Theorems
 Bayes theorem
a theorem describing how the conditional probability
of each of a set of possible causes for a given observed
outcome can be computed from knowledge of the
probability of each cause and the conditional
probability of the outcome of each cause.
Topics
 Binary Variables
 The beta distribution
 Multinomial Variables
 The Dirichlet distribution
Binary Variables
Binary variable Observations (i.e., dependent variables)
that occur in one of two possible states,
often labelled zero and one. E.g., “improved/not
improved” and “completed
task/failed to complete task.”
 Coin flipping: heads=1, tails=0
 Bernoulli Distribution
( 1| )p x   
 
   
1
( | ) (1 )
var 1
x x
Bern x
x
x
  

 

 
 
 
Binary Variables
N coin flips
Binomial distribution
( | , )p m heads N 
 
0
2
0
( | , ) ( ) (1 )
( | , )
var[ ] ( [ ]) ( | , ) (1 )
m N m
m
N
m
N
m
Bin m N N
m mBin m N N
m m m Bin m N N
  
 
  



 
  
    


Beta distribution
Beta is a continuous distribution defined on the interval
of 0 and 1, i.e.,
parameterized by two positive parameters a and b.
where T(*) is gamma function. beta is conjugate to the
binomial and Bernoulli distributions
 0,1 
 
 
   
 
 
   
11
2
| , 1
var
1
ba
Beta
a b
a b
a b
a
a b
ab
a b a b
  


 
 
 
 
   

  
Beta distribution
 Illustration of one step of sequential Bayesian
inference. The prior is given by a beta distribution
with parameters a = 2, b = 2, and the likelihood function,
given by (2.9) with N = m = 1, corresponds to a
single observation of x = 1, so that the posterior is given by
a beta distribution with parameters a = 3, b = 2.
Beta distribution
Example
Beta1.odt
Multinomial Distribution
Multinomial distribution is a generalization of the
binominal distribution. Different from the binominal
distribution, where the RV assumes two outcomes, the RV
for multi-nominal distribution can assume k (k>2) possible
outcomes.
Let N be the total number of independent trials, mi,
i=1,2, ..k, be the number of times outcome i appears.
Then, performing N independent trials, the probability
that outcome 1 appears m1, outcome 2, appears m2,
…,outcome k appears mk times is
Multinomial Distribution
 
 
   
1 2
11 2
, ,...., | ,
...
var 1
cov
K
mK
K K
KK
K K
K K
j K j K
Mult
N
m m m N
m m m
m N
m N
m m N
 

 
 

 
  
 
 
 
    

The Dirichlet Distribution
The Dirichlet distribution is a continuous multivariate
probability distributions parametrized by a vector of
positive reals a. It is the multivariate generalization of the
beta distribution.
Conjugate prior for the
multinomial distribution.
 
   
10
11
1
( | )
...
0
K
K
k
kK
K
k
k
Dir 
 


 
 





 



Probability distributionv1

Más contenido relacionado

La actualidad más candente

Uniform Distribution
Uniform DistributionUniform Distribution
Uniform Distributionmathscontent
 
Continuous Random Variables
Continuous Random VariablesContinuous Random Variables
Continuous Random Variablesmathscontent
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distributionStudent
 
Moments in statistics
Moments in statisticsMoments in statistics
Moments in statistics515329748
 
Probability mass functions and probability density functions
Probability mass functions and probability density functionsProbability mass functions and probability density functions
Probability mass functions and probability density functionsAnkit Katiyar
 
Statistics: Probability
Statistics: ProbabilityStatistics: Probability
Statistics: ProbabilitySultan Mahmood
 
Fundamentals Probability 08072009
Fundamentals Probability 08072009Fundamentals Probability 08072009
Fundamentals Probability 08072009Sri Harsha gadiraju
 
Probability distribution
Probability distributionProbability distribution
Probability distributionRanjan Kumar
 
Hypergeometric probability distribution
Hypergeometric probability distributionHypergeometric probability distribution
Hypergeometric probability distributionNadeem Uddin
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distributionAnindya Jana
 
Discreet and continuous probability
Discreet and continuous probabilityDiscreet and continuous probability
Discreet and continuous probabilitynj1992
 
Discrete uniform distributions
Discrete uniform distributionsDiscrete uniform distributions
Discrete uniform distributionsArpit Surana
 
Probability Density Function (PDF)
Probability Density Function (PDF)Probability Density Function (PDF)
Probability Density Function (PDF)AakankshaR
 
Probability distribution
Probability distributionProbability distribution
Probability distributionRohit kumar
 
Introduction to Probability and Probability Distributions
Introduction to Probability and Probability DistributionsIntroduction to Probability and Probability Distributions
Introduction to Probability and Probability DistributionsJezhabeth Villegas
 

La actualidad más candente (20)

poisson distribution
poisson distributionpoisson distribution
poisson distribution
 
Uniform Distribution
Uniform DistributionUniform Distribution
Uniform Distribution
 
Continuous Random Variables
Continuous Random VariablesContinuous Random Variables
Continuous Random Variables
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Moments in statistics
Moments in statisticsMoments in statistics
Moments in statistics
 
Probability mass functions and probability density functions
Probability mass functions and probability density functionsProbability mass functions and probability density functions
Probability mass functions and probability density functions
 
Statistics: Probability
Statistics: ProbabilityStatistics: Probability
Statistics: Probability
 
Fundamentals Probability 08072009
Fundamentals Probability 08072009Fundamentals Probability 08072009
Fundamentals Probability 08072009
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Random Variable
Random VariableRandom Variable
Random Variable
 
Hypergeometric probability distribution
Hypergeometric probability distributionHypergeometric probability distribution
Hypergeometric probability distribution
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Discreet and continuous probability
Discreet and continuous probabilityDiscreet and continuous probability
Discreet and continuous probability
 
Discrete uniform distributions
Discrete uniform distributionsDiscrete uniform distributions
Discrete uniform distributions
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
 
Probability Density Function (PDF)
Probability Density Function (PDF)Probability Density Function (PDF)
Probability Density Function (PDF)
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Introduction to Probability and Probability Distributions
Introduction to Probability and Probability DistributionsIntroduction to Probability and Probability Distributions
Introduction to Probability and Probability Distributions
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 

Similar a Probability distributionv1

random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptBhartiYadav316049
 
Appendix 2 Probability And Statistics
Appendix 2  Probability And StatisticsAppendix 2  Probability And Statistics
Appendix 2 Probability And StatisticsSarah Morrow
 
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.pptxssuser1eba67
 
Econometrics 2.pptx
Econometrics 2.pptxEconometrics 2.pptx
Econometrics 2.pptxfuad80
 
Continuous random variables and probability distribution
Continuous random variables and probability distributionContinuous random variables and probability distribution
Continuous random variables and probability distributionpkwilambo
 
Probability distribution
Probability distributionProbability distribution
Probability distributionManoj Bhambu
 
DirichletProcessNotes
DirichletProcessNotesDirichletProcessNotes
DirichletProcessNotesAngie Shen
 
PSQT_CO2_S11_Variance_V3.pptx
PSQT_CO2_S11_Variance_V3.pptxPSQT_CO2_S11_Variance_V3.pptx
PSQT_CO2_S11_Variance_V3.pptxHarshithSai17
 
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 Variablesnszakir
 
Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheetJoachim Gwoke
 
Theory of probability and probability distribution
Theory of probability and probability distributionTheory of probability and probability distribution
Theory of probability and probability distributionpolscjp
 
Chap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributionsChap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributionsJudianto Nugroho
 
QT1 - 06 - Normal Distribution
QT1 - 06 - Normal DistributionQT1 - 06 - Normal Distribution
QT1 - 06 - Normal DistributionPrithwis Mukerjee
 
QT1 - 06 - Normal Distribution
QT1 - 06 - Normal DistributionQT1 - 06 - Normal Distribution
QT1 - 06 - Normal DistributionPrithwis Mukerjee
 
Introduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksIntroduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksFederico Cerutti
 
Statistics Applied to Biomedical Sciences
Statistics Applied to Biomedical SciencesStatistics Applied to Biomedical Sciences
Statistics Applied to Biomedical SciencesLuca Massarelli
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Chapter 8 Of Rock Engineering
Chapter 8 Of  Rock  EngineeringChapter 8 Of  Rock  Engineering
Chapter 8 Of Rock EngineeringNgo Hung Long
 

Similar a Probability distributionv1 (20)

random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.ppt
 
Appendix 2 Probability And Statistics
Appendix 2  Probability And StatisticsAppendix 2  Probability And Statistics
Appendix 2 Probability And Statistics
 
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
 
Continuous random variables and probability distribution
Continuous random variables and probability distributionContinuous random variables and probability distribution
Continuous random variables and probability distribution
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
DirichletProcessNotes
DirichletProcessNotesDirichletProcessNotes
DirichletProcessNotes
 
PSQT_CO2_S11_Variance_V3.pptx
PSQT_CO2_S11_Variance_V3.pptxPSQT_CO2_S11_Variance_V3.pptx
PSQT_CO2_S11_Variance_V3.pptx
 
Prob distros
Prob distrosProb distros
Prob distros
 
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
 
Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheet
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Theory of probability and probability distribution
Theory of probability and probability distributionTheory of probability and probability distribution
Theory of probability and probability distribution
 
Chap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributionsChap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributions
 
QT1 - 06 - Normal Distribution
QT1 - 06 - Normal DistributionQT1 - 06 - Normal Distribution
QT1 - 06 - Normal Distribution
 
QT1 - 06 - Normal Distribution
QT1 - 06 - Normal DistributionQT1 - 06 - Normal Distribution
QT1 - 06 - Normal Distribution
 
Introduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksIntroduction to Evidential Neural Networks
Introduction to Evidential Neural Networks
 
Statistics Applied to Biomedical Sciences
Statistics Applied to Biomedical SciencesStatistics Applied to Biomedical Sciences
Statistics Applied to Biomedical Sciences
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Chapter 8 Of Rock Engineering
Chapter 8 Of  Rock  EngineeringChapter 8 Of  Rock  Engineering
Chapter 8 Of Rock Engineering
 

Más de Beatrice van Eden

Wits presentation 6_28072015
Wits presentation 6_28072015Wits presentation 6_28072015
Wits presentation 6_28072015Beatrice van Eden
 
Wits presentation 4_17062015
Wits presentation 4_17062015Wits presentation 4_17062015
Wits presentation 4_17062015Beatrice van Eden
 
Wits presentation 5_30062015
Wits presentation 5_30062015Wits presentation 5_30062015
Wits presentation 5_30062015Beatrice van Eden
 
Wits presentation 3_02062015
Wits presentation 3_02062015Wits presentation 3_02062015
Wits presentation 3_02062015Beatrice van Eden
 
Wits presentation 2_19052015
Wits presentation 2_19052015Wits presentation 2_19052015
Wits presentation 2_19052015Beatrice van Eden
 
Wits presentation 1_21042015
Wits presentation 1_21042015Wits presentation 1_21042015
Wits presentation 1_21042015Beatrice van Eden
 
CHAMP: a Bespoke Integrated System for Mobile Manipulation
CHAMP: a Bespoke Integrated System for Mobile ManipulationCHAMP: a Bespoke Integrated System for Mobile Manipulation
CHAMP: a Bespoke Integrated System for Mobile ManipulationBeatrice van Eden
 
Machine learning group - Practical examples
Machine learning group - Practical examplesMachine learning group - Practical examples
Machine learning group - Practical examplesBeatrice van Eden
 
SANAE 50 newsletter 2011 06
SANAE 50 newsletter 2011 06 SANAE 50 newsletter 2011 06
SANAE 50 newsletter 2011 06 Beatrice van Eden
 
Sanae50 newsletter apr2011_final_300dpi
Sanae50 newsletter apr2011_final_300dpiSanae50 newsletter apr2011_final_300dpi
Sanae50 newsletter apr2011_final_300dpiBeatrice van Eden
 
Sanae50 newsletter march2011_draft2_300dpi
Sanae50 newsletter march2011_draft2_300dpiSanae50 newsletter march2011_draft2_300dpi
Sanae50 newsletter march2011_draft2_300dpiBeatrice van Eden
 

Más de Beatrice van Eden (19)

Wits presentation 6_28072015
Wits presentation 6_28072015Wits presentation 6_28072015
Wits presentation 6_28072015
 
US learning
US learningUS learning
US learning
 
Wits presentation 4_17062015
Wits presentation 4_17062015Wits presentation 4_17062015
Wits presentation 4_17062015
 
Wits presentation 5_30062015
Wits presentation 5_30062015Wits presentation 5_30062015
Wits presentation 5_30062015
 
Wits presentation 3_02062015
Wits presentation 3_02062015Wits presentation 3_02062015
Wits presentation 3_02062015
 
Wits presentation 2_19052015
Wits presentation 2_19052015Wits presentation 2_19052015
Wits presentation 2_19052015
 
Wits presentation 1_21042015
Wits presentation 1_21042015Wits presentation 1_21042015
Wits presentation 1_21042015
 
CHAMP: a Bespoke Integrated System for Mobile Manipulation
CHAMP: a Bespoke Integrated System for Mobile ManipulationCHAMP: a Bespoke Integrated System for Mobile Manipulation
CHAMP: a Bespoke Integrated System for Mobile Manipulation
 
Machine learning group - Practical examples
Machine learning group - Practical examplesMachine learning group - Practical examples
Machine learning group - Practical examples
 
Kernal methods part2
Kernal methods part2Kernal methods part2
Kernal methods part2
 
SANAE 50 newsletter 2011 06
SANAE 50 newsletter 2011 06 SANAE 50 newsletter 2011 06
SANAE 50 newsletter 2011 06
 
Sanae 50 may newsletter
Sanae 50 may newsletterSanae 50 may newsletter
Sanae 50 may newsletter
 
Some more greetings
Some more greetingsSome more greetings
Some more greetings
 
Photo midwinter 2011
Photo midwinter 2011Photo midwinter 2011
Photo midwinter 2011
 
Mid winter artigas uruguay
Mid winter artigas uruguayMid winter artigas uruguay
Mid winter artigas uruguay
 
Mid winter final
Mid winter finalMid winter final
Mid winter final
 
Sanae50 newsletter apr2011_final_300dpi
Sanae50 newsletter apr2011_final_300dpiSanae50 newsletter apr2011_final_300dpi
Sanae50 newsletter apr2011_final_300dpi
 
Sanae50 newsletter march2011_draft2_300dpi
Sanae50 newsletter march2011_draft2_300dpiSanae50 newsletter march2011_draft2_300dpi
Sanae50 newsletter march2011_draft2_300dpi
 
Sanae50 newsletter feb2011
Sanae50 newsletter feb2011Sanae50 newsletter feb2011
Sanae50 newsletter feb2011
 

Último

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 

Último (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 

Probability distributionv1

  • 1. Beatrice van Eden Probability Distribution Part 1
  • 2. Topics  Probability Distribution  Probability Distribution Equations  Descriptive parameters for Probability Distributions  Probability Theorems  Binary Variables  The beta distribution  Multinomial Variables  The Dirichlet distribution
  • 3. Probability Distribution A function that describes all the possible values and likelihoods that a random variable can take within a given range. This range will be between the minimum and maximum possible values, but where the possible value is likely to be plotted on the probability distribution depends on a number of factors, including the distributions mean, standard deviation, skewness and kurtosis.
  • 4. Probability Distributions Equations The section on probability equations explains the equations that define probability distributions. Cumulative distribution function (cdf) Probability mass function (pmf) Probability density function (pdf)
  • 5. Probability Distributions Equations Cumulative distribution function (cdf) The (cumulative) distribution function, or probability distribution function, F(x) is the mathematical equation that describes the probability that a variable X is less that or equal to x, i.e. F(x) = P(X≤x) for all x where P(X≤x) means the probability of the event X≤x.
  • 6. Probability Distributions Equations Cumulative distribution function for the normal distributions. Probability density function for several normal distributions. The red line denotes the standard normal distribution.
  • 7. Probability Distributions Equations A cumulative distribution function has the following properties:  F(x) is always non-decreasing, i.e.  F(x) = 0 at x = -∞ or minimum F(x) = 1 at x = ∞ or maximum ( ) 0 d F x dx 
  • 8. Probability Distributions Equations Probability mass function (pmf) If a random variable X is discrete, i.e. it may take any of a specific set of n values xi, i = 1 to n, then: P(X=xi) = p(xi) p(x) is called the probability mass function
  • 9. Probability Distributions Equations  The graph of a probability mass function. All the values of this function must be non-negative and sum up to 1.  The probability mass function of a fair die. All the numbers on the die have an equal chance of appearing on top when the die stops rolling. 1 3 7 0.2 0.5 0.3 1 2 3 4 5 6 1/6 1/6 1/6 1/6 1/6 1/6
  • 10. Probability Distributions Equations Note that and F(xk) = 1 ( ) 1 n i i p x   1 ( ) k i i p x  
  • 11. Probability Distributions Equations Probability density function (pdf) If a random variable X is continuous, i.e. it may take any value within a defined range (or sometimes ranges), the probability of X having any precise value within that range is vanishingly small because a total probability of 1 must be distributed between an infinite number of values. In other words, there is no probability mass associated with any specific allowable value of X.
  • 12. Probability Distributions Equations Instead, we define a probability density function f(x) as: i.e. f(x) is the rate of change (the gradient) of the cumulative distribution function. Since F(x) is always non-decreasing, f(x) is always non-negative. ( ) ( ) d f x F x dx 
  • 13. Probability Distributions Equations For a continuous distribution we cannot define the probability of observing any exact value. However, we can determine the probability of lying between any two exact values (a, b): where b>a. ( ) ( ) ( )P a x b F b F a   
  • 14. Descriptive parameters for Probability Distributions The section on probability parameters explains the meaning of standard statistics like mean and variance within the context of probability distributions.
  • 15. Descriptive parameters for Probability Distributions Location Mode: is the x-value with the greatest probability p(x) for a discrete distribution, or the greatest probability density f(x) for a continuous distribution. Median: is the value that the variable has a 50% probability of exceeding, i.e. F(x50) = 0.5
  • 16. Descriptive parameters for Probability Distributions Mean : also known as the expected value, is given by: for discrete variables for continuous variables The mean is known as the first moment about zero. It can be considered to be the centre of gravity of the distribution. 1 n i i i x p    . ( ).x f x dx    
  • 17. Descriptive parameters for Probability Distributions Spread Standard Deviation: measures the amount of variation or dispersion from the average or mean. The standard deviation is the positive square root of the variance. The standard deviation has the same dimension as the data, and hence is comparable with deviations of the mean.
  • 18. Descriptive parameters for Probability Distributions Variance: measures how far a set of numbers is spread out. An equivalent measure is the square root of the variance, called the standard deviation. The variance is one of several descriptors of a probability distribution. In particular, the variance is one of the moments of a distribution.
  • 19. Descriptive parameters for Probability Distributions Shape Skewness: The skewness statistic is calculated from the following formulae: Discrete variable: Continuous variable: max 3 min 3 ( ) . ( ).x f x dx S      3 1 3 ( ) . n i i i x p S      
  • 20. Descriptive parameters for Probability Distributions Kurtosis: The kurtosis statistic is calculated from the following formulae: Discrete variable: Continuous variable: max 4 min 4 ( ) . ( ).x f x dx K      4 1 4 ( ) . n i i i x p K      
  • 21. Probability Theorems Probability theorems explains some fundamental probability theorems most often used in modelling risk, and some other mathematical concepts that help us manipulate and explore probabilistic problems.  The strong law of large numbers  Central limit theorem  Binomial Theorem  Bayes theorem
  • 22. Probability Theorems  The strong law of large numbers  The strong law of large numbers says that the larger the sample size (i.e. the greater the number of iterations), the closer their distribution (i.e. the risk analysis output) will be to the theoretical distribution (i.e. the exact distribution of the models output if it could be mathematically derived).
  • 23. Probability Theorems  Central Limit Theorem(CLT) The distribution of the sum of N i.i.d. random variables becomes increasingly Gaussian as N grows. Example: N uniform [0,1] random variables.
  • 24. Probability Theorems  Binomial Theorem a Formula for finding any power of a binomial without multiplying at length. Properties of binomial coefficient! !( )! n n x x n x        0 1 1 0 n i n n n x x n n n x x n x n n n a b a b n b n i                                                             
  • 25. Probability Theorems  Bayes theorem a theorem describing how the conditional probability of each of a set of possible causes for a given observed outcome can be computed from knowledge of the probability of each cause and the conditional probability of the outcome of each cause.
  • 26. Topics  Binary Variables  The beta distribution  Multinomial Variables  The Dirichlet distribution
  • 27. Binary Variables Binary variable Observations (i.e., dependent variables) that occur in one of two possible states, often labelled zero and one. E.g., “improved/not improved” and “completed task/failed to complete task.”  Coin flipping: heads=1, tails=0  Bernoulli Distribution ( 1| )p x          1 ( | ) (1 ) var 1 x x Bern x x x             
  • 28. Binary Variables N coin flips Binomial distribution ( | , )p m heads N    0 2 0 ( | , ) ( ) (1 ) ( | , ) var[ ] ( [ ]) ( | , ) (1 ) m N m m N m N m Bin m N N m mBin m N N m m m Bin m N N                       
  • 29. Beta distribution Beta is a continuous distribution defined on the interval of 0 and 1, i.e., parameterized by two positive parameters a and b. where T(*) is gamma function. beta is conjugate to the binomial and Bernoulli distributions  0,1                  11 2 | , 1 var 1 ba Beta a b a b a b a a b ab a b a b                     
  • 30. Beta distribution  Illustration of one step of sequential Bayesian inference. The prior is given by a beta distribution with parameters a = 2, b = 2, and the likelihood function, given by (2.9) with N = m = 1, corresponds to a single observation of x = 1, so that the posterior is given by a beta distribution with parameters a = 3, b = 2.
  • 32. Multinomial Distribution Multinomial distribution is a generalization of the binominal distribution. Different from the binominal distribution, where the RV assumes two outcomes, the RV for multi-nominal distribution can assume k (k>2) possible outcomes. Let N be the total number of independent trials, mi, i=1,2, ..k, be the number of times outcome i appears. Then, performing N independent trials, the probability that outcome 1 appears m1, outcome 2, appears m2, …,outcome k appears mk times is
  • 33. Multinomial Distribution         1 2 11 2 , ,...., | , ... var 1 cov K mK K K KK K K K K j K j K Mult N m m m N m m m m N m N m m N                         
  • 34. The Dirichlet Distribution The Dirichlet distribution is a continuous multivariate probability distributions parametrized by a vector of positive reals a. It is the multivariate generalization of the beta distribution. Conjugate prior for the multinomial distribution.       10 11 1 ( | ) ... 0 K K k kK K k k Dir                   

Notas del editor

  1. One role for the distributions discussed in this chapter is to model the probability distribution p(x) of a random variable x, given a finite set x1, . . . , xN of observations. This problem is known as density estimation. For the purposes of this chapter, we shall assume that the data points are independent and identically distributed.
  2. the cumulative distribution function (CDF), or just distribution function, describes the probability that a real-valued random variable X with a given probability distribution will be found to have a value less than or equal to x. In the case of a continuous distribution, it gives the area under the probability density function from minus infinity to x. Cumulative distribution functions are also used to specify the distribution of multivariate random variables.