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.
The pdf of the cauchy distribution depending on its location x₀ and scale γ parameters.
Instances For
@[simp]
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)⁻¹
The pdf of the gamma distribution, as a function valued in ℝ≥0∞.
Instances For
@[simp]
theorem
ProbabilityTheory.cauchyPDF_def
(x₀ : ℝ)
(γ : NNReal)
(x : ℝ)
:
cauchyPDF x₀ γ x = ENNReal.ofReal (cauchyPDFReal x₀ γ x)
theorem
ProbabilityTheory.measurable_cauchyPDFReal
(x₀ : ℝ)
(γ : NNReal)
:
Measurable (cauchyPDFReal x₀ γ)
cauchyPDFReal is positive for γ > 0.
theorem
ProbabilityTheory.integral_cauchyPDFReal_eq_one
(x₀ : ℝ)
{γ : NNReal}
(hγ : γ ≠ 0)
:
∫ (x : ℝ), cauchyPDFReal x₀ γ x = 1
@[simp]
The pdf of the cauchy distribution integrates to 1.
A Cauchy distribution on ℝ with location parameter x₀ and scale parameter γ.
Instances For
theorem
ProbabilityTheory.cauchyMeasure_of_scale_ne_zero
(x₀ : ℝ)
{γ : NNReal}
(hγ : γ ≠ 0)
:
cauchyMeasure x₀ γ = MeasureTheory.volume.withDensity (cauchyPDF x₀ γ)
@[simp]
theorem
ProbabilityTheory.cauchyMeasure_zero_scale
(x₀ : ℝ)
:
cauchyMeasure x₀ 0 = MeasureTheory.Measure.dirac x₀