SlideShare a Scribd company logo
Lecture 2


Basics of probability in statistical
simulation and stochastic programming

Leonidas Sakalauskas
Institute of Mathematics and Informatics
Vilnius, Lithuania <sakal@ktl.mii.lt>

EURO Working Group on Continuous Optimization
Content
 Random variables and random
  functions
 Law of Large numbers

 Central Limit Theorem

 Computer simulation of random
  numbers
 Estimation of multivariate integrals
  by the Monte-Carlo method
Simple remark

   Probability theory displays the library
    of mathematical probabilistic models
   Statistics gives us the manual how to
    choose the probabilistic model
    coherent with collected data
   Statistical simulation (Monte-Carlo
    method) gives us knowledge how to
    simulate random environment by
    computer
Random variable

Random variable is described by

   Set of support SUPP(X )
   Probability measure

Probability measure is described
  by distribution function:

           F ( x) Pr ob( X   x)
Probabilistic measure

 Probabilistic
            measure has three
 components:
        Continuous;

        Discrete (integer);

        Singular.
Continuous r.v.

Continuous r.v. is described by
 probability density function     f (x)

Thus:
                 x
        F ( x)       f ( y )dy
Continuous variable
If probability measure is absolutely
   continuous, the expected value of random
   function:



     Ef ( X )       f ( x) p( x)dx
Discrete variable
Discrete r.v. is described by mass
  probabilities:


    x1 , x2 ,..., xn
     p1 , p2 ,..., pn
Discrete variable
If probability measure is discrete, the
expected value of random function is sum
or series:
                    n
         Ef ( X )         f ( xi ) p i
                    i 1
Singular variable


Singular r.v. probabilistic measure is
  concentrated on the set having zero
  Borel measure (say, Kantor set).
Law of Large Numbers (Chebyshev, Kolmogorov)

                            N
                            i   1
                                  zi
                  lim                  z,
                 N          N

here z1 , z2 ,..., z N are independent copies of r. v.   ,

                        z       E
What did we learn ?


        The integral           f ( x, z ) p( z )dz

    is approximated by the sampling average
                               N
                              i 1   i

                              N
if the sample size N is large, here       j
                                              f ( x, z j ),   j 1,..., N ,
 z1 , z 2 ,..., z N is the sample of copies of r.v. , distributed
 with the density p(z ) .
Central limit theorem (Gauss, Lindeberg, ...)



                         xN
                   lim P                    x          ( x),
                  N       / N

                                    x       y2
here                          1              2
                      ( x)              e        dy,
                              2
       N
             xi
                                        2
xN     i 1        ,          EX ,               D2 X      E(X   )2
        N
Beri-Essen theorem


                                        3
                               EX
sup FN ( x)      ( x)   0.41
                                3
  x                                 N


      where   FN ( x)   Pr ob x N   x
What did we learn ?

       According to the LLN:


                      N                                           N
         N                  ( xi       xN )   2                                       3
     1                                                                  xi       xN
 x        xi ,    2   i 1                         , EX   EX
                                                              3   i 1
     Ni 1                          N                                         N



Thus, apply CLT to evaluate the statistical error of
approximation and its validity.
Example

           Let some event occurred n times repeating
            N independent experiments.
          Then confidence interval of probability of
            event :
                   1.96   p (1 p)        1.96   p (1 p)
               p                    ,p
                          N                     N

   here        n (1,96 – 0,975 quantile of normal distribution,
          p      , confidence interval – 5% )
               N

If the Beri-Esseen condition is valid:     N p (1 p) 6            !!!
Statistical integrating …

                  b
              I       f ( x)dx   ???
                  a


            Main idea – to use the
            gaming of a large
            number of random
            events
Statistical integration


      Ef ( X )         f ( x) p( x)dx


          N
              f ( xi )
          i 1          ,   xi  p( )
            N
Statistical simulation and
     Monte-Carlo method

     F ( x)             f ( x, z ) p( z )dz    min
                                                    x




          N
                f ( x, z i )
          i 1
                               min ,   zi  p ( )
                N               x

(Stochastic Analytical Approximation (SAA),
Shapiro, (1985), etc)
Simulation of random variables

There is a lot of techniques and methods to
  simulate r.v.
Let r.v.    be uniformly distributed in the
  interval (0,1]

Then, the random variable U , where
              F (U )  ,

is distributed with the cumulative
distribution function F ( )
F (a)         x cos( x sin( a x) ) e x dx
           0

f ( x)   x cos( x sin( a x) )    N=100, 1000
Wrap-Up and conclusions

o the expectations of random functions,
defined by the multivariate integrals, can be
approximated by sampling averages
according to the LLN, if the sample size is
sufficiently large;

o the CLT can be applied to evaluate the
reliability and statistical error of this
approximation

More Related Content

What's hot (17)

PDF
Applied Statistics In Business
Ashish Nangla
 
PPTX
Discreet and continuous probability
nj1992
 
PDF
Data Science - Part IV - Regression Analysis & ANOVA
Derek Kane
 
PPTX
Continuous Random Variables
DataminingTools Inc
 
PPTX
Econometrics chapter 8
Sehrish Chaudary
 
PPTX
Chapter 12
Tara Kissel, M.Ed
 
PDF
Introduction to regression analysis 2
Sibashis Chakraborty
 
PPTX
Machine learning session4(linear regression)
Abhimanyu Dwivedi
 
PDF
Multiple linear regression
Avjinder (Avi) Kaler
 
PPT
Chapter 14
Tuul Tuul
 
PPTX
Continuous probability Business Statistics, Management
Debjit Das
 
PPTX
binomial distribution
Zarish Qaiser
 
PPTX
Continous random variable.
Shakeel Nouman
 
PPTX
Probability, Discrete Probability, Normal Probabilty
Faisal Hussain
 
PPTX
Discrete distributions: Binomial, Poisson & Hypergeometric distributions
ScholarsPoint1
 
PPT
Probability Distributions
rishi.indian
 
Applied Statistics In Business
Ashish Nangla
 
Discreet and continuous probability
nj1992
 
Data Science - Part IV - Regression Analysis & ANOVA
Derek Kane
 
Continuous Random Variables
DataminingTools Inc
 
Econometrics chapter 8
Sehrish Chaudary
 
Chapter 12
Tara Kissel, M.Ed
 
Introduction to regression analysis 2
Sibashis Chakraborty
 
Machine learning session4(linear regression)
Abhimanyu Dwivedi
 
Multiple linear regression
Avjinder (Avi) Kaler
 
Chapter 14
Tuul Tuul
 
Continuous probability Business Statistics, Management
Debjit Das
 
binomial distribution
Zarish Qaiser
 
Continous random variable.
Shakeel Nouman
 
Probability, Discrete Probability, Normal Probabilty
Faisal Hussain
 
Discrete distributions: Binomial, Poisson & Hypergeometric distributions
ScholarsPoint1
 
Probability Distributions
rishi.indian
 

Viewers also liked (18)

PDF
A multi agent based decision mechanism for incident reaction in telecommunica...
christophefeltus
 
PDF
A Model-Based Framework for Probabilistic Simulation of Legal Policies
Lionel Briand
 
PDF
Fundamentals of Statistical Signal Processing - Estimation Theory (Volume I)
CHIH-PEI WEN
 
ODT
Probability and random processes project based learning template.pdf
Vedant Srivastava
 
PPTX
Matlab Distributions
matlab Content
 
PPTX
Stats chapter 6
Richard Ferreria
 
PDF
Practical signal processing using matlab
Yogesh Angal
 
PDF
Earned Value Probabilistic Forecasting Using Monte Carlo Simulation
Ricardo Viana Vargas
 
PPTX
Monte carlo presentation for analysis of business growth
Asif Anik
 
PPTX
#NoEstimates project planning using Monte Carlo simulation
Dimitar Bakardzhiev
 
PDF
Wireless Channel Modeling - MATLAB Simulation Approach
Jayamohan Govindaraj
 
PDF
Simulation of A Communications System Using Matlab
Polytechnique Montreal
 
PDF
Inventory management
Ashfaq Umar
 
PDF
MATLAB and Simulink for Communications System Design (Design Conference 2013)
Analog Devices, Inc.
 
PPT
Chp. 2 simulation examples
Pravesh Negi
 
PPT
Simulation Powerpoint- Lecture Notes
Kesavartinii Bala Krisnain
 
PDF
Simulation of Wireless Communication Systems
Bernd-Peter Paris
 
A multi agent based decision mechanism for incident reaction in telecommunica...
christophefeltus
 
A Model-Based Framework for Probabilistic Simulation of Legal Policies
Lionel Briand
 
Fundamentals of Statistical Signal Processing - Estimation Theory (Volume I)
CHIH-PEI WEN
 
Probability and random processes project based learning template.pdf
Vedant Srivastava
 
Matlab Distributions
matlab Content
 
Stats chapter 6
Richard Ferreria
 
Practical signal processing using matlab
Yogesh Angal
 
Earned Value Probabilistic Forecasting Using Monte Carlo Simulation
Ricardo Viana Vargas
 
Monte carlo presentation for analysis of business growth
Asif Anik
 
#NoEstimates project planning using Monte Carlo simulation
Dimitar Bakardzhiev
 
Wireless Channel Modeling - MATLAB Simulation Approach
Jayamohan Govindaraj
 
Simulation of A Communications System Using Matlab
Polytechnique Montreal
 
Inventory management
Ashfaq Umar
 
MATLAB and Simulink for Communications System Design (Design Conference 2013)
Analog Devices, Inc.
 
Chp. 2 simulation examples
Pravesh Negi
 
Simulation Powerpoint- Lecture Notes
Kesavartinii Bala Krisnain
 
Simulation of Wireless Communication Systems
Bernd-Peter Paris
 
Ad

Similar to Basics of probability in statistical simulation and stochastic programming (20)

PDF
Engr 371 final exam april 2010
amnesiann
 
PDF
Engr 371 final exam april 1996
amnesiann
 
PDF
Intro probability 4
Phong Vo
 
PDF
Engr 371 final exam april 1999
amnesiann
 
PDF
Session 6
vivek_shaw
 
PDF
Engr 371 final exam august 1999
amnesiann
 
PDF
Probability and Statistics Cookbook
Chairat Nuchnuanrat
 
PPTX
Statistics Exam Help
Statistics Exam Help
 
PDF
Mcgill3
Arthur Charpentier
 
PDF
Notes - Probability, Statistics and Data Visualization.pdf
AmaanAnsari49
 
PPTX
Topic 6 stat probability theory
Sizwan Ahammed
 
PDF
Tele3113 wk1wed
Vin Voro
 
PPTX
Cs221 probability theory
darwinrlo
 
PPTX
Random process.pptx
Neetha K
 
PDF
Actuarial Science Reference Sheet
Daniel Nolan
 
PPTX
Probability and statistics - Discrete Random Variables and Probability Distri...
Asma CHERIF
 
PDF
Engr 371 final exam december 1997
amnesiann
 
PDF
Transformation of random variables
Tarun Gehlot
 
PDF
Introduction to Stochastic calculus
Ashwin Rao
 
PDF
Conditional Expectations Liner algebra
AZIZ ULLAH SURANI
 
Engr 371 final exam april 2010
amnesiann
 
Engr 371 final exam april 1996
amnesiann
 
Intro probability 4
Phong Vo
 
Engr 371 final exam april 1999
amnesiann
 
Session 6
vivek_shaw
 
Engr 371 final exam august 1999
amnesiann
 
Probability and Statistics Cookbook
Chairat Nuchnuanrat
 
Statistics Exam Help
Statistics Exam Help
 
Notes - Probability, Statistics and Data Visualization.pdf
AmaanAnsari49
 
Topic 6 stat probability theory
Sizwan Ahammed
 
Tele3113 wk1wed
Vin Voro
 
Cs221 probability theory
darwinrlo
 
Random process.pptx
Neetha K
 
Actuarial Science Reference Sheet
Daniel Nolan
 
Probability and statistics - Discrete Random Variables and Probability Distri...
Asma CHERIF
 
Engr 371 final exam december 1997
amnesiann
 
Transformation of random variables
Tarun Gehlot
 
Introduction to Stochastic calculus
Ashwin Rao
 
Conditional Expectations Liner algebra
AZIZ ULLAH SURANI
 
Ad

More from SSA KPI (20)

PDF
Germany presentation
SSA KPI
 
PDF
Grand challenges in energy
SSA KPI
 
PDF
Engineering role in sustainability
SSA KPI
 
PDF
Consensus and interaction on a long term strategy for sustainable development
SSA KPI
 
PDF
Competences in sustainability in engineering education
SSA KPI
 
PDF
Introducatio SD for enginers
SSA KPI
 
PPT
DAAD-10.11.2011
SSA KPI
 
PDF
Talking with money
SSA KPI
 
PDF
'Green' startup investment
SSA KPI
 
PDF
From Huygens odd sympathy to the energy Huygens' extraction from the sea waves
SSA KPI
 
PDF
Dynamics of dice games
SSA KPI
 
PPT
Energy Security Costs
SSA KPI
 
PPT
Naturally Occurring Radioactivity (NOR) in natural and anthropic environments
SSA KPI
 
PDF
Advanced energy technology for sustainable development. Part 5
SSA KPI
 
PDF
Advanced energy technology for sustainable development. Part 4
SSA KPI
 
PDF
Advanced energy technology for sustainable development. Part 3
SSA KPI
 
PDF
Advanced energy technology for sustainable development. Part 2
SSA KPI
 
PDF
Advanced energy technology for sustainable development. Part 1
SSA KPI
 
PPT
Fluorescent proteins in current biology
SSA KPI
 
PPTX
Neurotransmitter systems of the brain and their functions
SSA KPI
 
Germany presentation
SSA KPI
 
Grand challenges in energy
SSA KPI
 
Engineering role in sustainability
SSA KPI
 
Consensus and interaction on a long term strategy for sustainable development
SSA KPI
 
Competences in sustainability in engineering education
SSA KPI
 
Introducatio SD for enginers
SSA KPI
 
DAAD-10.11.2011
SSA KPI
 
Talking with money
SSA KPI
 
'Green' startup investment
SSA KPI
 
From Huygens odd sympathy to the energy Huygens' extraction from the sea waves
SSA KPI
 
Dynamics of dice games
SSA KPI
 
Energy Security Costs
SSA KPI
 
Naturally Occurring Radioactivity (NOR) in natural and anthropic environments
SSA KPI
 
Advanced energy technology for sustainable development. Part 5
SSA KPI
 
Advanced energy technology for sustainable development. Part 4
SSA KPI
 
Advanced energy technology for sustainable development. Part 3
SSA KPI
 
Advanced energy technology for sustainable development. Part 2
SSA KPI
 
Advanced energy technology for sustainable development. Part 1
SSA KPI
 
Fluorescent proteins in current biology
SSA KPI
 
Neurotransmitter systems of the brain and their functions
SSA KPI
 

Recently uploaded (20)

PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
community health nursing question paper 2.pdf
Prince kumar
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 

Basics of probability in statistical simulation and stochastic programming

  • 1. Lecture 2 Basics of probability in statistical simulation and stochastic programming Leonidas Sakalauskas Institute of Mathematics and Informatics Vilnius, Lithuania <[email protected]> EURO Working Group on Continuous Optimization
  • 2. Content  Random variables and random functions  Law of Large numbers  Central Limit Theorem  Computer simulation of random numbers  Estimation of multivariate integrals by the Monte-Carlo method
  • 3. Simple remark  Probability theory displays the library of mathematical probabilistic models  Statistics gives us the manual how to choose the probabilistic model coherent with collected data  Statistical simulation (Monte-Carlo method) gives us knowledge how to simulate random environment by computer
  • 4. Random variable Random variable is described by  Set of support SUPP(X )  Probability measure Probability measure is described by distribution function: F ( x) Pr ob( X x)
  • 5. Probabilistic measure  Probabilistic measure has three components:  Continuous;  Discrete (integer);  Singular.
  • 6. Continuous r.v. Continuous r.v. is described by probability density function f (x) Thus: x F ( x) f ( y )dy
  • 7. Continuous variable If probability measure is absolutely continuous, the expected value of random function: Ef ( X ) f ( x) p( x)dx
  • 8. Discrete variable Discrete r.v. is described by mass probabilities: x1 , x2 ,..., xn p1 , p2 ,..., pn
  • 9. Discrete variable If probability measure is discrete, the expected value of random function is sum or series: n Ef ( X ) f ( xi ) p i i 1
  • 10. Singular variable Singular r.v. probabilistic measure is concentrated on the set having zero Borel measure (say, Kantor set).
  • 11. Law of Large Numbers (Chebyshev, Kolmogorov) N i 1 zi lim z, N N here z1 , z2 ,..., z N are independent copies of r. v. , z E
  • 12. What did we learn ? The integral f ( x, z ) p( z )dz is approximated by the sampling average N i 1 i N if the sample size N is large, here j f ( x, z j ), j 1,..., N , z1 , z 2 ,..., z N is the sample of copies of r.v. , distributed with the density p(z ) .
  • 13. Central limit theorem (Gauss, Lindeberg, ...) xN lim P x ( x), N / N x y2 here 1 2 ( x) e dy, 2 N xi 2 xN i 1 , EX , D2 X E(X )2 N
  • 14. Beri-Essen theorem 3 EX sup FN ( x) ( x) 0.41 3 x N where FN ( x) Pr ob x N x
  • 15. What did we learn ? According to the LLN: N N N ( xi xN ) 2 3 1 xi xN x xi , 2 i 1 , EX EX 3 i 1 Ni 1 N N Thus, apply CLT to evaluate the statistical error of approximation and its validity.
  • 16. Example Let some event occurred n times repeating N independent experiments. Then confidence interval of probability of event : 1.96 p (1 p) 1.96 p (1 p) p ,p N N here n (1,96 – 0,975 quantile of normal distribution, p , confidence interval – 5% ) N If the Beri-Esseen condition is valid: N p (1 p) 6 !!!
  • 17. Statistical integrating … b I f ( x)dx ??? a Main idea – to use the gaming of a large number of random events
  • 18. Statistical integration Ef ( X ) f ( x) p( x)dx N f ( xi ) i 1 , xi  p( ) N
  • 19. Statistical simulation and Monte-Carlo method F ( x) f ( x, z ) p( z )dz min x N f ( x, z i ) i 1 min , zi  p ( ) N x (Stochastic Analytical Approximation (SAA), Shapiro, (1985), etc)
  • 20. Simulation of random variables There is a lot of techniques and methods to simulate r.v. Let r.v. be uniformly distributed in the interval (0,1] Then, the random variable U , where F (U ) , is distributed with the cumulative distribution function F ( )
  • 21. F (a) x cos( x sin( a x) ) e x dx 0 f ( x) x cos( x sin( a x) ) N=100, 1000
  • 22. Wrap-Up and conclusions o the expectations of random functions, defined by the multivariate integrals, can be approximated by sampling averages according to the LLN, if the sample size is sufficiently large; o the CLT can be applied to evaluate the reliability and statistical error of this approximation