courloilognormale.py

Created by raph-couvert

Created on April 04, 2025

1000 Bytes


++++++++++++++++++++++++++++++++

Loi Log-Normale

Définition :  
Y suit une loi log-normale de paramètres (μ, σ2)  
 ln(Y) suit une loi normale N(μ, σ2)

Donc :  
 Y = e^X avec X ~ N(μ, σ2)  
  X = ln(Y)

1. Densité de la loi log-normale :

 f_Y(y) = {
   (1 / (y * σ * (2π))) * exp( - (ln y - μ)2 / (2σ2))  si y > 0  
   0                                       sinon  
 }

Support : y  R+*

2. Espérance de Y :

 E(Y) = exp(μ + σ2 / 2)

3. Variance de Y :

 Var(Y) = [exp(σ2) - 1] * exp(2μ + σ2)

Remarques :
- Distribution asymétrique, uniquement définie sur R+
- Elle est utilisée en modélisation de données strictement positives (revenus, temps, etc.)

++++++++++++++++++++++++++++++++

Exemple :

Soit Y ~ log-N(μ=1, σ2=2)  
Donc σ = 2

Alors :

E(Y) = exp(1 + 2/2) = exp(2)   
Var(Y) = [exp(2) - 1] * exp(2 + 2)  
    = (e2 - 1) * e4 

Donc :

 E(Y)  7.389  
 Var(Y)  (7.389 - 1) * 54.598  6.389 * 54.598  348.6 

++++++++++++++++++++++++++++++++

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.