Mathlib.Probability.Distributions.Cauchy
19 declarations. Mathlib docs · Source
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
cauchyPDFReal: the functionx₀ γ x ↦ π⁻¹ * γ * ((x - x₀) ^ 2 + γ ^ 2)⁻¹, which is the probability density function of a Cauchy distribution with location parameterx₀and scale parameterγ(whenγ ≠ 0).cauchyPDF:ℝ≥0∞-valued pdf,cauchyPDF μ v x = ENNReal.ofReal (cauchyPDFReal μ v x).cauchyMeasure: a Cauchy measure onℝ, parametrized by a location parameterx₀ : ℝand a scale parameterγ : ℝ≥0. Ifγ = 0, this isdirac x₀, otherwise it is defined as the measure with densitycauchyPDF x₀ γwith respect to the Lebesgue measure.
def ProbabilityTheory.cauchyPDFReal E3 #
ℝ → NNReal → ℝ → ℝ
The pdf of the cauchy distribution depending on its location x₀ and scale γ parameters.
theorem ProbabilityTheory.cauchyPDFReal_scale_zero E0 #
∀ (x₀ : ℝ), ProbabilityTheory.cauchyPDFReal x₀ 0 = 0
theorem ProbabilityTheory.cauchyPDFReal_def E0 #
∀ (x₀ : ℝ) (γ : NNReal) (x : ℝ), ProbabilityTheory.cauchyPDFReal x₀ γ x = Real.pi⁻¹ * ↑γ * ((x - x₀) ^ 2 + ↑γ ^ 2)⁻¹
theorem ProbabilityTheory.cauchyPDFReal_def' E1 #
∀ (x₀ : ℝ) (γ : NNReal) (x : ℝ), ProbabilityTheory.cauchyPDFReal x₀ γ x = Real.pi⁻¹ * ↑γ⁻¹ * (1 + ((x - x₀) / ↑γ) ^ 2)⁻¹
def ProbabilityTheory.cauchyPDF E3 #
ℝ → NNReal → ℝ → ENNReal
The pdf of the gamma distribution, as a function valued in ℝ≥0∞.
theorem ProbabilityTheory.cauchyPDF_scale_zero E0 #
∀ (x₀ : ℝ), ProbabilityTheory.cauchyPDF x₀ 0 = 0
theorem ProbabilityTheory.cauchyPDF_def E0 #
∀ (x₀ : ℝ) (γ : NNReal) (x : ℝ),
ProbabilityTheory.cauchyPDF x₀ γ x = ENNReal.ofReal (ProbabilityTheory.cauchyPDFReal x₀ γ x)
theorem ProbabilityTheory.measurable_cauchyPDFReal E1 #
∀ (x₀ : ℝ) (γ : NNReal), Measurable (ProbabilityTheory.cauchyPDFReal x₀ γ)
theorem ProbabilityTheory.stronglyMeasurable_cauchyPDFReal E1 #
∀ (x₀ : ℝ) (γ : NNReal), MeasureTheory.StronglyMeasurable (ProbabilityTheory.cauchyPDFReal x₀ γ)
theorem ProbabilityTheory.measurable_cauchyPDF E1 #
∀ (x₀ : ℝ) (γ : NNReal), Measurable (ProbabilityTheory.cauchyPDF x₀ γ)
theorem ProbabilityTheory.stronglyMeasurable_cauchyPDF E1 #
∀ (x₀ : ℝ) (γ : NNReal), MeasureTheory.StronglyMeasurable (ProbabilityTheory.cauchyPDF x₀ γ)
theorem ProbabilityTheory.cauchyPDF_pos E1 #
∀ (x₀ : ℝ) {γ : NNReal}, γ ≠ 0 → ∀ (x : ℝ), 0 < ProbabilityTheory.cauchyPDFReal x₀ γ x
cauchyPDFReal is positive for γ > 0.
theorem ProbabilityTheory.integral_cauchyPDFReal_eq_one E1 #
∀ (x₀ : ℝ) {γ : NNReal}, γ ≠ 0 → ∫ (x : ℝ), ProbabilityTheory.cauchyPDFReal x₀ γ x = 1
theorem ProbabilityTheory.integrable_cauchyPDFReal E1 #
∀ (x₀ : ℝ) {γ : NNReal}, MeasureTheory.Integrable (ProbabilityTheory.cauchyPDFReal x₀ γ) MeasureTheory.volume
theorem ProbabilityTheory.lintegral_cauchyPDF_eq_one E0 #
∀ (x₀ : ℝ) {γ : NNReal}, γ ≠ 0 → ∫⁻ (x : ℝ), ProbabilityTheory.cauchyPDF x₀ γ x = 1
The pdf of the cauchy distribution integrates to 1.
def ProbabilityTheory.cauchyMeasure E3 #
ℝ → NNReal → MeasureTheory.Measure ℝ
A Cauchy distribution on ℝ with location parameter x₀ and scale parameter γ.
theorem ProbabilityTheory.cauchyMeasure_of_scale_ne_zero E1 #
∀ (x₀ : ℝ) {γ : NNReal},
γ ≠ 0 → ProbabilityTheory.cauchyMeasure x₀ γ = MeasureTheory.volume.withDensity (ProbabilityTheory.cauchyPDF x₀ γ)
theorem ProbabilityTheory.cauchyMeasure_zero_scale E0 #
∀ (x₀ : ℝ), ProbabilityTheory.cauchyMeasure x₀ 0 = MeasureTheory.Measure.dirac x₀
instance ProbabilityTheory.instIsProbabilityMeasure_cauchyMeasure E0 #
∀ (x₀ : ℝ) (γ : NNReal), MeasureTheory.IsProbabilityMeasure (ProbabilityTheory.cauchyMeasure x₀ γ)