Documentation

Mathlib.Probability.Distributions.Cauchy

Cauchy Distribution over ℝ #

Define the Cauchy distribution with location parameter x₀ and scale parameter γ.

Note that we use "location" and "scale" to refer to these parameters in theorem names.

Main definition #

noncomputable def ProbabilityTheory.cauchyPDFReal (x₀ : ) (γ : NNReal) (x : ) :

The pdf of the cauchy distribution depending on its location x₀ and scale γ parameters.

Equations
Instances For
    theorem ProbabilityTheory.cauchyPDFReal_def (x₀ : ) (γ : NNReal) (x : ) :
    cauchyPDFReal x₀ γ x = Real.pi⁻¹ * γ * ((x - x₀) ^ 2 + γ ^ 2)⁻¹
    theorem ProbabilityTheory.cauchyPDFReal_def' (x₀ : ) (γ : NNReal) (x : ) :
    cauchyPDFReal x₀ γ x = Real.pi⁻¹ * γ⁻¹ * (1 + ((x - x₀) / γ) ^ 2)⁻¹
    noncomputable def ProbabilityTheory.cauchyPDF (x₀ : ) (γ : NNReal) (x : ) :

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

    Equations
    Instances For
      @[simp]
      theorem ProbabilityTheory.cauchyPDF_def (x₀ : ) (γ : NNReal) (x : ) :
      cauchyPDF x₀ γ x = ENNReal.ofReal (cauchyPDFReal x₀ γ x)
      theorem ProbabilityTheory.cauchyPDF_pos (x₀ : ) {γ : NNReal} ( : γ 0) (x : ) :
      0 < cauchyPDFReal x₀ γ x

      cauchyPDFReal is positive for γ > 0.

      theorem ProbabilityTheory.integral_cauchyPDFReal_eq_one (x₀ : ) {γ : NNReal} ( : γ 0) :
      (x : ), cauchyPDFReal x₀ γ x = 1
      @[simp]
      theorem ProbabilityTheory.lintegral_cauchyPDF_eq_one (x₀ : ) {γ : NNReal} ( : γ 0) :
      ∫⁻ (x : ), cauchyPDF x₀ γ x = 1

      The pdf of the cauchy distribution integrates to 1.

      A Cauchy distribution on with location parameter x₀ and scale parameter γ.

      Equations
      Instances For