The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V20. Probability

Mathlib.Probability.Distributions.Pareto

15 declarations. Mathlib docs · Source

Pareto distributions over ℝ

Define the Pareto measure over the reals.

Main definitions

  • paretoPDFReal: the function t r x ↦ r * t ^ r * x ^ -(r + 1) for t ≤ x or 0 else, which is the probability density function of a Pareto distribution with scale t and shape r (when ht : 0 < t and hr : 0 < r).
  • paretoPDF: ℝ≥0∞-valued pdf, paretoPDF t r = ENNReal.ofReal (paretoPDFReal t r).
  • paretoMeasure: a Pareto measure on ℝ, parametrized by its scale t and shape r.

def ProbabilityTheory.paretoPDFReal E3 #

ℝ → ℝ → ℝ → ℝ

The pdf of the Pareto distribution depending on its scale t and rate r.

def ProbabilityTheory.paretoPDF E3 #

ℝ → ℝ → ℝ → ENNReal

The pdf of the Pareto distribution, as a function valued in ℝ≥0∞.

theorem ProbabilityTheory.paretoPDF_eq E0 #

∀ (t r x : ℝ), ProbabilityTheory.paretoPDF t r x = ENNReal.ofReal (if t ≤ x then r * t ^ r * x ^ (-(r + 1)) else 0)

theorem ProbabilityTheory.paretoPDF_of_lt E1 #

∀ {t r x : ℝ}, x < t → ProbabilityTheory.paretoPDF t r x = 0

theorem ProbabilityTheory.paretoPDF_of_le E1 #

∀ {t r x : ℝ}, t ≤ x → ProbabilityTheory.paretoPDF t r x = ENNReal.ofReal (r * t ^ r * x ^ (-(r + 1)))

theorem ProbabilityTheory.lintegral_paretoPDF_of_le E1 #

∀ {t r x : ℝ}, x ≤ t → ∫⁻ (y : ℝ) in Set.Iio x, ProbabilityTheory.paretoPDF t r y = 0

The Lebesgue integral of the Pareto pdf over reals ≤ t equals 0.

theorem ProbabilityTheory.measurable_paretoPDFReal E1 #

∀ (t r : ℝ), Measurable (ProbabilityTheory.paretoPDFReal t r)

The Pareto pdf is measurable.

theorem ProbabilityTheory.stronglyMeasurable_paretoPDFReal E1 #

∀ (t r : ℝ), MeasureTheory.StronglyMeasurable (ProbabilityTheory.paretoPDFReal t r)

The Pareto pdf is strongly measurable.

theorem ProbabilityTheory.paretoPDFReal_pos E1 #

∀ {t r x : ℝ}, 0 < t → 0 < r → t ≤ x → 0 < ProbabilityTheory.paretoPDFReal t r x

The Pareto pdf is positive for all reals >= t.

theorem ProbabilityTheory.paretoPDFReal_nonneg E1 #

∀ {t r : ℝ}, 0 ≤ t → 0 ≤ r → ∀ (x : ℝ), 0 ≤ ProbabilityTheory.paretoPDFReal t r x

The Pareto pdf is nonnegative.

theorem ProbabilityTheory.lintegral_paretoPDF_eq_one E0 #

∀ {t r : ℝ}, 0 < t → 0 < r → ∫⁻ (x : ℝ), ProbabilityTheory.paretoPDF t r x = 1

The pdf of the Pareto distribution integrates to 1.

def ProbabilityTheory.paretoMeasure E3 #

ℝ → ℝ → MeasureTheory.Measure ℝ

Measure defined by the Pareto distribution.

theorem ProbabilityTheory.isProbabilityMeasure_paretoMeasure E1 #

∀ {t r : ℝ}, 0 < t → 0 < r → MeasureTheory.IsProbabilityMeasure (ProbabilityTheory.paretoMeasure t r)

theorem ProbabilityTheory.cdf_paretoMeasure_eq_integral E1 #

∀ {t r : ℝ},
  0 < t →
    0 < r →
      ∀ (x : ℝ),
        ↑(ProbabilityTheory.cdf (ProbabilityTheory.paretoMeasure t r)) x =
          ∫ (x : ℝ) in Set.Iic x, ProbabilityTheory.paretoPDFReal t r x

CDF of the Pareto distribution equals the integral of the PDF.

theorem ProbabilityTheory.cdf_paretoMeasure_eq_lintegral E1 #

∀ {t r : ℝ},
  0 < t →
    0 < r →
      ∀ (x : ℝ),
        ↑(ProbabilityTheory.cdf (ProbabilityTheory.paretoMeasure t r)) x =
          (∫⁻ (x : ℝ) in Set.Iic x, ProbabilityTheory.paretoPDF t r x).toReal