How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Density Estimation
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Lp Spaces and Test-Function Conventions
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- Density Separability and Convolution in Lᵖ
- Determinants of Matrices over a Commutative Ring
- Distributions Test Functions and Differentiation
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Estimators and Randomized Procedures
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Modes of Convergence Egorov and Lusin
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Schwartz Space and the Plancherel Theorem
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Smooth Approximation and Sobolev Extension
- Smooth Partitions of Unity and Exhaustions
- Statistical Experiments, Models and Identifiability
- Subspaces, Products, and Quotients
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Inverse and Implicit Function Theorems
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Maximal Function and Lebesgue Differentiation
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Derivatives and Sobolev Spaces
- Weak Laws and Series of Independent Random Variables
2 · Summary
For iid observations with a density on , this page defines the pointwise density target and the kernel density estimator. It proves the second-order pointwise bias, pointwise variance and a global mean integrated squared error upper bound with explicit regularity, moment and bandwidth hypotheses. The global rate uses an translation bound under ; the pointwise variance regime includes both and . Point targets refer to a selected density version, and no minimax lower bound is claimed.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Density targets and the kernel density estimator
Definition
Fix an integer . A density version on is a Borel function with Write for its probability law (The measure with density relative to ). Let be any set of such density versions. For sample size , the iid experiment has data space and sampling law at parameter (Statistical experiments, Parametric statistical models, Identical distribution and IID families, Independent random elements, The product sigma-algebra and its finite iterates, For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique). The pointwise target at is the estimand (Estimands on a statistical model).
A normalized kernel is a Borel function with and . It may be signed. For bandwidth and observations , the kernel density estimate is the indexed family For each fixed , this is intended as a real-valued estimator of ; the next local lemma supplies its measurability (Statistics and estimators).
Assuming , if is pointwise nonnegative the estimate is a probability density for every sample, as proved in A nonnegative normalized kernel estimate integrates to one ↗. For a signed kernel the estimate need not be nonnegative. Point evaluation depends on the selected density version: this definition does not assert that is identifiable from the law .
Each fixed-point KDE evaluation is a statistic
Statement
Fix , , , and a Borel normalized kernel . The evaluation map is measurable for the finite product Borel sigma-algebra. Hence it is a statistic on the iid density experiment.
Facts & Assumptions
Given: Fixed , , , and a Borel normalized kernel .
The sample space is the finite product Borel space and is Borel (Density targets and the kernel density estimator).
A statistic is a measurable map from the experiment's data space to its measurable target (Statistics and estimators, A measurable function between measurable spaces).
Compositions of measurable maps are measurable (Composition with a Borel measurable outer map preserves measurability).
Finite sums and scalar multiples of real measurable functions are measurable (Arithmetic and lattice operations preserve measurability whenever they are defined).
Proof
Each coordinate projection is measurable by the definition of the finite product sigma-algebra. The map is continuous, hence Borel; composing it with and then with gives a real measurable function on the sample space by [F1] and [F3].
By [F4], the finite sum of these functions and its scalar multiple are measurable. This is exactly , so [F2] makes it a statistic with target . Since the estimand also has target space , is an estimator of .
The KDE is jointly measurable in sample and evaluation point
Statement
For a Borel normalized kernel , and , the map is Borel measurable for the finite product Borel sigma-algebra.
Facts & Assumptions
Given: A Borel normalized kernel , , , and the finite product Borel data and evaluation spaces.
The sample space carries the finite product Borel sigma-algebra, and is Borel (Density targets and the kernel density estimator, The product sigma-algebra and its finite iterates).
Composition of measurable maps is measurable (Composition with a Borel measurable outer map preserves measurability).
Scalar multiples and finite sums of real measurable functions are measurable (Arithmetic and lattice operations preserve measurability whenever they are defined).
For positive integers , under the coordinate identification (The Borel product of R^m and R^n is the Borel sigma-algebra of R^{m+n}).
Proof
Induct on the number of factors using the finite product recursion in [F1] and the two-factor equality [F4]. Starting with , this identifies the specified -factor sigma-algebra with . For each , the affine map is continuous on this Euclidean space: inverse images of open sets are open, hence inverse images of Borel sets are Borel by closure under complements and countable unions. It is therefore measurable for the specified product sigma-algebra. Composing with the Borel map gives a measurable real function by [F2].
Applying [F3] to the finite sum of these functions and multiplying by the constant proves that is Borel measurable.
A nonnegative normalized kernel estimate integrates to one
Statement
Assume the Axiom of Countable Choice. If pointwise and , then for every sample and bandwidth , the function is nonnegative and has Lebesgue integral one.
Facts & Assumptions
Given: Countable Choice; a pointwise nonnegative Borel kernel of integral one; ; ; and a sample .
The Axiom of Countable Choice, written (The Axiom of Countable Choice ()).
The estimate is the finite sum and (Density targets and the kernel density estimator).
Under , a diffeomorphism obeys the change-of-variables formula for every nonnegative measurable integrand (A C^1 diffeomorphism satisfies the change-of-variables formula for nonnegative Lebesgue measurable functions).
The Lebesgue integral is linear on (The Lebesgue integral is linear on ).
Proof
Every summand is nonnegative because . For fixed , the map is a diffeomorphism of with . Applying [F2] to gives
Each scaled translate is in by step 1.1. Linearity [F3] therefore gives This proves the claim.
An integrable C² density with bounded Hessian is bounded
Statement
Let be a density version with all partial derivatives through order two existing and continuous, so . If its Hessian satisfies , then is bounded.
Facts & Assumptions
Given: , a pointwise nonnegative density version on , and a finite global Hessian bound .
The Axiom of Countable Choice, written (The Axiom of Countable Choice ()).
A density version is Borel, nonnegative and has integral one (Density targets and the kernel density estimator).
Assuming , every box with side lengths has Lebesgue measure (A box in with parameters is Lebesgue measurable of measure , whichever of its faces are included).
The nonnegative integral is monotone (Monotonicity and nonnegative homogeneity of the nonnegative integral).
The total-derivative chain rule differentiates a smooth function along an affine line (The chain rule for total derivatives: ).
Integration by parts and the second fundamental theorem evaluate the integral of a derivative on a compact interval (If are differentiable on with integrable, then , The second fundamental theorem: if is differentiable on with and is integrable, then ).
Proof
Set . For , write and . For , the chain rule [F4] gives and . Integration by parts and the second fundamental theorem [F5] give Since and , this yields so both the upper and lower Taylor bounds with this remainder hold. Taking and using yields ; hence .
If , put . For every with , the corresponding lower Taylor bound and step 1.1 give The cube lies in that ball and has measure by [A1] and [F2].
Monotonicity [F3] and now imply Thus for every with ; points where satisfy the same resulting finite bound. Therefore is bounded.
Second-order kernel convolution has an L² bias bound
Statement
Assume . Let be a density version in , and let be a normalized Borel kernel with , for every , and Define the convolution as an equivalence class. With one has, for every ,
Facts & Assumptions
Given: , , a density version , and a normalized Borel kernel with the displayed moment conditions.
The Axiom of Countable Choice, written (The Axiom of Countable Choice ()).
Under , consists of classes whose weak partial derivatives through order two are in (Integer-order Sobolev spaces and their norms).
Under , is dense in : for every there is a smooth compactly supported with (Compactly supported smooth functions are dense in W^{k,p}(R^n)).
Tonelli interchanges the integrals of nonnegative product-measurable functions on sigma-finite product spaces (Tonelli's theorem for nonnegative measurable functions on a sigma-finite product, The product measure of two sigma-finite measure spaces, For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique).
Under , a diffeomorphism satisfies the change-of-variables formula for integrable functions; translations therefore preserve norms (A C^1 diffeomorphism satisfies the change-of-variables formula for L^1 functions).
Holder's inequality with exponents gives when the square integrals are finite (Holder's inequality for integrals, including the endpoint cases).
The total-derivative chain rule differentiates a smooth function along an affine line (The chain rule for total derivatives: ).
Integration by parts and the second fundamental theorem evaluate for (If are differentiable on with integrable, then , The second fundamental theorem: if is differentiable on with and is integrable, then ).
Proof
First take . For each , set . The chain rule [F6] gives and . Integration by parts and the second fundamental theorem [F7] give The first moments are absolutely integrable since and with . Integrating against therefore cancels the constant and linear terms by and . Euclidean Cauchy–Schwarz gives . Apply Holder [F5] with the finite measure , whose total mass is , to obtain Tonelli [F3] and translation invariance from [F4] then give
For every Borel representative , the integrand is product-measurable. Holder [F5] and Tonelli [F3] show its defining integral exists absolutely for almost every and by Holder [F5], Tonelli [F3], and translation invariance [F4]. If two Borel representatives agree almost everywhere, translation invariance makes their translates agree almost everywhere for each ; Tonelli [F3] then makes their convolution integrals agree for almost every . Thus is well-defined as an equivalence class on the classes used here. Given , choose as in [F2]. The finite sum defining is at most , so step 1.1 and the operator bound just proved imply Letting proves the asserted bound.
Pointwise second-order bias of the KDE
Statement
Assume . Let be iid with a Borel probability density version on . Let be Borel with , , for each , and . Suppose has continuous second partial derivatives and a globally bounded continuous Hessian. At each fixed , as , Here means as .
Facts & Assumptions
Given: , , iid with density version , a normalized kernel with the stated integrability and moment conditions, fixed , and .
The Axiom of Countable Choice, written (The Axiom of Countable Choice ()).
The kernel estimate is ; the density version is nonnegative, Borel and integrates to one (Density targets and the kernel density estimator).
Each fixed- evaluation is a measurable real statistic (Each fixed-point KDE evaluation is a statistic).
A nonnegative density with bounded Hessian is bounded (An integrable C² density with bounded Hessian is bounded).
Iid random elements are mutually independent and have the same law (Identical distribution and IID families).
Expectation is integration against the law, and integration against is integration of the product with for nonnegative integrands (Change of variables for expectation, Integrating against a density agrees with integrating the product).
Under , the C diffeomorphism permits substitution for nonnegative integrands and for integrable signed integrands (A C^1 diffeomorphism satisfies the change-of-variables formula for nonnegative Lebesgue measurable functions, A C^1 diffeomorphism satisfies the change-of-variables formula for L^1 functions).
The Lebesgue integral is linear on (The Lebesgue integral is linear on ).
Dominated convergence applies to a pointwise convergent family with one integrable majorant (Dominated convergence).
The total-derivative chain rule differentiates a smooth function along an affine line, and integration by parts plus the second fundamental theorem evaluates the integral Taylor remainder (The chain rule for total derivatives: , If are differentiable on with integrable, then , The second fundamental theorem: if is differentiable on with and is integrable, then ).
Proof
By [F2], is a measurable real random variable. By [F3], is bounded. Applying [F5] to , then [F6] to , gives Thus every is integrable. Put and , . Both parts are nonnegative and their density integrals are finite, being bounded by the absolute integral just established. Apply [F5] separately to and , then subtract their finite integrals using [F7]: . This derives the signed density identity without applying the nonnegative density theorem directly to . Since the have the same law, the have the same expectation. Linearity [F7] and the signed substitution in [F6] therefore yield
For fixed , set on . By [F9], and . Integration by parts with and , then the second fundamental theorem, gives For , subtracting defines a remainder , where Continuity of the Hessian at gives for each fixed ; the global Hessian bound gives uniformly in . Set .
Substitute the expansion from step 1.2 into the convolution in step 1.1. The first moments are absolutely integrable because and with finite second absolute moment, so unit mass cancels and the zero first moments cancel the linear term. The remaining quadratic term is . Moreover, is integrable and dominates the scaled remainder. Applying [F8] as shows that the remainder divided by tends to zero. The second moments are absolutely finite by the same integrable moment condition.
Pointwise variance of the KDE
Statement
Assume . Let be iid with bounded continuous Borel density version on . Let be Borel, , and . For fixed , along bandwidths with and ,
Facts & Assumptions
Given: , iid with bounded continuous density version , a Borel kernel with unit integral, a fixed , and , .
The Axiom of Countable Choice, written (The Axiom of Countable Choice ()).
The fixed-point estimate is (Density targets and the kernel density estimator).
Its fixed-point evaluations are measurable (Each fixed-point KDE evaluation is a statistic).
The are independent and identically distributed random elements (Identical distribution and IID families).
Measurable functions of independent random elements remain independent (Measurable coordinatewise functions preserve independence).
Expectations of integrable products of independent real random variables factor (Expectations factor over finite products of independent random variables).
For a square-integrable real random variable, (Moments, variance, and covariance on a probability space).
Expectation is integration against the law, and a density law satisfies for nonnegative measurable (Change of variables for expectation, Integrating against a density agrees with integrating the product).
Under , nonnegative C substitutions obey the Lebesgue change-of-variables formula (A C^1 diffeomorphism satisfies the change-of-variables formula for nonnegative Lebesgue measurable functions).
Under , a C diffeomorphism obeys the change-of-variables formula for integrable functions (A C^1 diffeomorphism satisfies the change-of-variables formula for L^1 functions).
Dominated convergence applies under the integrable majorant (Dominated convergence).
Expectation is linear for finite sums of integrable variables (The Lebesgue integral is linear on ).
Proof
Put . By [F2] and [F7], and using the nonnegative substitution from [F8], Likewise , so each is integrable and square-integrable. The maps preserve independence by [F4]; identical laws of give identical laws of .
Let . For , [F5] applied to the independent integrable variables gives . Expanding the finite square and using expectation linearity [F11] therefore gives
Step 1.1 shows that is integrable. Put and decompose into its nonnegative parts. The density integrals of both parts are finite because by step 1.1. Apply the nonnegative density identity [F7] to each part and subtract using [F11], obtaining . Applying the signed substitution [F9] to this integrable product gives , so . Along any sequence , [F10] gives Thus the first term in step 2.1 is . The subtracted mean-square term is because . The additional condition places the expansion in the vanishing-variance regime. This proves the formula.
Global MISE upper bound for the KDE
Statement
Assume . Let be iid with a Borel density version . Let be Borel, , , for every , and . For every define Then In particular, gives , where means bounded by a finite constant times for all sufficiently large . This is an upper rate under the displayed hypotheses; it is not a minimax lower bound.
Facts & Assumptions
Given: , , iid observations with density version , a Borel kernel with the displayed integrability and moment conditions, and .
The Axiom of Countable Choice, written (The Axiom of Countable Choice ()).
The estimate is the finite sum , and is a selected Borel density version (Density targets and the kernel density estimator).
The estimator is jointly Borel in the sample and evaluation point (The KDE is jointly measurable in sample and evaluation point); arithmetic operations preserve measurability (Arithmetic and lattice operations preserve measurability whenever they are defined).
The convolution bias satisfies (Second-order kernel convolution has an L² bias bound).
Iid random elements are independent and identically distributed (Identical distribution and IID families).
Measurable functions preserve independence, and expectations of integrable products of independent real random variables factor (Measurable coordinatewise functions preserve independence, Expectations factor over finite products of independent random variables).
Tonelli interchanges nonnegative integrals on the product of a probability space and with Lebesgue measure; the factors are sigma-finite (Tonelli's theorem for nonnegative measurable functions on a sigma-finite product, The product measure of two sigma-finite measure spaces, For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique).
For nonnegative measurable integrands, expectation under is integration against (Change of variables for expectation, Integrating against a density agrees with integrating the product).
Under , the C affine substitutions used below satisfy the nonnegative and change-of-variables formulas (A C^1 diffeomorphism satisfies the change-of-variables formula for nonnegative Lebesgue measurable functions, A C^1 diffeomorphism satisfies the change-of-variables formula for L^1 functions).
A nonnegative measurable function with finite integral is finite almost everywhere (A nonnegative measurable function with finite integral is finite almost everywhere).
For a square-integrable variable , (Moments, variance, and covariance on a probability space).
Expectation is linear on integrable variables (The Lebesgue integral is linear on ).
Proof
For fixed , [F2] makes Borel, and [F1] makes Borel as a function of . Arithmetic measurability in [F2] therefore makes the squared error product-measurable and nonnegative. Tonelli [F6] identifies MISE with the integral over of its expected pointwise squared error, even before finiteness has been established.
Write . By Tonelli and the substitution in [F8], Consequently, [F9] makes the summands integrable and square-integrable for almost every . For such , put and , . The nonnegative density formula [F7] applied to shows . Thus both parts have finite density integrals, and [F7] applied separately to them, followed by subtraction using [F11], gives . Signed substitution [F8] then identifies this integral with , and identical laws plus finite-sum linearity [F11] give .
At almost every from step 2.1, the variables are iid and square-integrable. Set . These are independent, integrable and square-integrable by [F5] and step 2.1; for , [F5] makes integrable and gives . Expanding the finite square in the variance definition [F10] and applying [F11] gives . Expanding one centered square using [F10]–[F11] gives . Integrating and using step 2.1 bounds the integrated variance by .
For almost every , step 2.1 identifies the bias with . The bound [F3] therefore gives
At almost every , expand . The centered term has expectation zero, so [F10]–[F11] give Integrate this nonnegative identity using step 1.1, then apply steps 3.1 and 3.2 to obtain the displayed MISE bound. For , both and equal , which proves the stated upper rate.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Whitney K. Newey, Nonparametric and Semiparametric Estimation, MIT OpenCourseWare 14.385, Fall 2007, PDF pp. 1–3
- Adrian Bowman and Ludger Evers, Nonparametric Smoothing, APTS 2013–14 course notes, §1.2, PDF pp. 6–7
- Whitney K. Newey, Nonparametric and Semiparametric Estimation, MIT OpenCourseWare 14.385, Fall 2007, Proposition 1, PDF p. 3
- Adrian Bowman and Ludger Evers, Nonparametric Smoothing, APTS 2013–14 course notes, §1.2.1, PDF p. 8
- Whitney K. Newey, Nonparametric and Semiparametric Estimation, MIT OpenCourseWare 14.385, Fall 2007, integrated MSE calculation, PDF pp. 5–7
- Whitney K. Newey, Nonparametric and Semiparametric Estimation, MIT OpenCourseWare 14.385, Fall 2007, Proposition 2, PDF p. 4
- Whitney K. Newey, Nonparametric and Semiparametric Estimation, MIT OpenCourseWare 14.385, Fall 2007, integrated MSE calculation and multivariate rate, PDF pp. 5–7