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.
Regression Estimation
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Complete Metrizability, Čech-Completeness, and Baire Category
- Completeness, Completion, and Uniform Continuity
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- 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
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Estimators and Randomized Procedures
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Infinite Product Measures and Kolmogorov Extension
- Lebesgue-Stieltjes Measures and Distribution Functions
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Loss, Risk and Decision Theory
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Modes of Convergence Egorov and Lusin
- Modes of Convergence for Random Variables
- 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
- 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
- Roots, Rational Powers, and Classical Inequalities
- 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
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Standard-Borel Real Codings and Determining Classes
- Statistical Experiments, Models and Identifiability
- Subspaces, Products, and Quotients
- Suprema and Infima
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- 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 Laws and Series of Independent Random Variables
2 · Summary
This page fixes a pointwise version of the regression function before imposing smoothness, then defines local-constant and local-polynomial estimators and pointwise squared-error risk. Its fixed interior-point bias formulas admit compact kernels with local smoothness, general noncompact kernels with explicit sufficient global bounds, and bounded rapid-tail kernels such as the Gaussian with local smoothness and a finite response second moment. These are sufficient localization conditions, not necessary conditions. The population local-linear fit and its empirical conditional response-law mean remove the design-gradient term; Nadaraya–Watson retains it. The page also proves conditional variance limits for both estimators and an unconditional Nadaraya–Watson variance expansion under the stated extra moment bounds. The local-linear result does not assert an unconditional expectation or variance: the companion counterexample has a nonsingular near-collision design with infinite positive and negative expectation parts. A separate companion calculation exhibits first-order boundary bias.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Regression target and chosen version
Definition
Assume the Axiom of Choice. Let be real random variables on a probability space, with , and choose a regular conditional law of given . On define , and put off . By Conditional expectation as a measurable function of the conditioning variable, is Borel measurable and is a version of . A regression target is the resulting -almost-sure equivalence class; a chosen regression-function version is the particular Borel function selected by the specified conditional law.
Pointwise smoothness is an additional hypothesis on the chosen version. It is not implied by existence of conditional expectation, and statements about at a specified point use that selected version.
Source notes
Newey, “Nonparametric Regression,” PDF p. 8; Tibshirani, §1.1, PDF p. 1.
Local-linear moment matrix converges to a positive-definite limit
Statement
Let be iid real random variables with density continuous and positive at a fixed point . Let be finite-valued Borel, nonnegative, symmetric, with and . Assume compact kernel support, a globally bounded density , or a bounded rapid-tail kernel satisfying . For with , set and Then and . More generally, the proof establishes for any integrable Borel function , if is bounded globally or has compact support. Boundedness or square integrability of is unnecessary.
Facts & Assumptions
Given: The sampling, density, kernel and bandwidth hypotheses in the statement.
IID means a common law and mutual independence. Identical distribution and IID families.
Density integration uses . The measure with density relative to .
A square-integrable variable has variance . Moments, variance, and covariance on a probability space.
Convergence in probability is convergence of each fixed-error event probability to zero. Convergence in probability.
Proof
For the general assertion truncate to . The expectation of is by uniform density convergence on its fixed compact support. Its variance is at most . The elementary bound follows by integrating . Thus the truncated average converges in probability.
The expectation of the absolute difference between the full and truncated averages is at most , using the global density bound or its bound on the shrinking image of the compact support of . This tends to zero as . Markov's bound, obtained from for , makes this difference uniformly small in probability. Also . First choosing large and then large proves the general assertion.
For the rapid-tail case and , , restrict first to , where the density is bounded. The same truncation proof works there. The expected absolute contribution of the remaining observations is at most , where . Thus the same scalar limits hold for these three moments without a global density bound.
Apply steps 1.1–3.1 to for , all integrable by the finite second moment. Symmetry gives . The entries of therefore have the displayed limits. Its determinant tends in probability to , since it is a polynomial in the entries. A zero determinant lies outside a fixed neighborhood of this positive limit, so its probability tends to zero.
Nadaraya–Watson estimator
Definition
Assume AC as in Regression target and chosen version. Fix a sample size , a prediction point , a bandwidth , a finite-valued nonnegative Borel function , and a fixed fallback . For data , put The Nadaraya–Watson estimator of the pointwise target is For fixed , this is a Borel statistic on with its product Borel sigma-algebra: each weight, product, and finite sum is Borel; the positive-denominator set is Borel, and division is continuous there. In any statistical experiment on this sample space whose pointwise regression estimand is , with the selected version from Regression target and chosen version, it is an estimator of in the sense of Statistics and estimators. The fallback is part of the definition. Kernel regularity and bandwidth assumptions used for bias or variance results are stated in those results.
Pointwise squared-error risk for regression
Definition
Assume AC as used to select the regression version. Fix a statistical experiment indexed by , a point , a real regression target , and a real-valued estimator of that target, meaning a measurable statistic with target space as in Statistics and estimators. At this point, use the squared-error loss Its pointwise squared-error risk is the possibly infinite quantity This is the deterministic-rule specialization of the risk in Loss functions and risk: the action space is with its Borel sigma-algebra, the action is , and the loss section is measurable because it is continuous in . The integral is nonnegative, so it is defined without a finite-moment assumption.
Source notes
Martin, §5.1, PDF pp. 100–102; Hoff, §§4.1–4.2, PDF pp. 7–8.
Local-polynomial estimator
Definition
Assume AC as in Regression target and chosen version. Fix , a point , bandwidth , degree , a finite-valued nonnegative Borel function , and fallback . Set , , let be the matrix whose th row is , let , and put . If is nonsingular, define If is singular, define . For fixed and Borel , this is a real statistic on with its product Borel sigma-algebra: the matrix entries are Borel, the nonsingular-matrix set is Borel, matrix inversion is continuous there, and the fixed fallback gives the other branch. In any statistical experiment on this sample space whose pointwise regression estimand is , with the selected version from Regression target and chosen version, it estimates in the sense of Statistics and estimators. The case is the local-linear estimator. No claim that is nonsingular for a given sample is implicit in this definition.
Source notes
Newey, “Locally Linear Regression,” PDF pp. 1–4; Tibshirani, §3.1, PDF p. 6.
Pointwise risk is variance plus squared bias
Statement
Assume AC as used to select the regression target version. Fix a model parameter and point . Let be a real estimator of the finite target with . Define its bias by . Its pointwise squared-error risk from Pointwise squared-error risk for regression satisfies
Facts & Assumptions
Given: The target, estimator, finite second moment, and AC hypothesis in the statement.
Pointwise squared-error risk is . Pointwise squared-error risk for regression.
For square-integrable , . Moments, variance, and covariance on a probability space.
AC is used only through the selected real version of in Regression target and chosen version; the algebra below is choice-free.
Proof
Write . Squaring and taking expectations gives , because .
By [F1] the left side of step 1.1 is the pointwise risk, and by [F2] its first term on the right is the variance. This is the asserted identity.
Pointwise population bias of the Nadaraya–Watson smoother
Statement
Assume AC for the chosen regression version Regression target and chosen version. Let have Lebesgue density , with at a fixed interior point , and let be near . Let be a finite-valued Borel, nonnegative, symmetric kernel with , and . Assume either that has compact support, or that and their first two derivatives are bounded and continuous on . In these first two alternatives, no continuity or boundedness of is required. The global alternative supplies tail control for noncompact kernels; local smoothness alone does not supply it. A further localization alternative, including the Gaussian kernel, is that , is bounded, and Under this rapid-tail alternative only the stated local smoothness of is needed; no global boundedness of or of its derivatives is assumed. For sufficiently small , the population smoother corresponding to Nadaraya–Watson estimator is well defined by and
Facts & Assumptions
Given: The selected regression version, density, kernel, and either localization or global domination hypotheses in the statement. Integrals are Lebesgue integrals.
The chosen Borel regression version represents the conditional mean almost surely. Regression target and chosen version.
The Nadaraya–Watson estimator normalizes its nonnegative weights, with a fixed zero-denominator fallback. Nadaraya–Watson estimator.
A density defines the law . The measure with density relative to .
For -almost every , , and conditional integration gives by the triangle inequality. Conditional expectation as a measurable function of the conditioning variable
Proof
Put . For , twice applying the fundamental theorem of calculus gives . Thus . On compact kernel support the remainder tends uniformly to zero. Under the global alternative it is uniformly bounded and tends to zero for each fixed : split the remainder integral at , use uniform continuity near on that fixed set, and bound the remaining part by as . In the rapid-tail alternative [F4] gives . Put . For , and . On use the local Taylor remainder; its normalized integral is bounded by times the modulus of continuity of at . The omitted constant, linear and quadratic Taylor tails are because . First let , then . In every alternative the integrated remainder is . Symmetry and the finite second moment give , so . All integrals are finite by localization or the global bounds.
Apply step 1.1 to numerator and denominator . The latter tends to . Taking their quotient and subtracting gives , as asserted.
Pointwise population bias of local-linear regression
Statement
Assume AC for the chosen regression version Regression target and chosen version. Let have density , with at a fixed interior point , and let be near . Let be a finite-valued Borel, nonnegative symmetric kernel with , and . Assume either compact kernel support, or that and their first two derivatives are bounded and continuous on . A further localization alternative, including the Gaussian kernel, is that , is bounded, and Under this rapid-tail alternative only the stated local smoothness of is needed; no global boundedness of or of its derivatives is assumed. Set For sufficiently small , and the population local-linear intercept, in the coordinates of Local-polynomial estimator, is Then This requires no fourth kernel moment.
Facts & Assumptions
Given: The density, selected version, kernel moments and localization or global domination hypotheses in the statement.
The local-polynomial fit returns the intercept of the weighted normal equations on a nonsingular design. Local-polynomial estimator.
The selected regression function is a Borel conditional-mean version. Regression target and chosen version.
A density supplies its integration law . The measure with density relative to .
For -almost every , , and conditional integration gives by the triangle inequality. Conditional expectation as a measurable function of the conditioning variable
Proof
Write . Taylor's integral formula bounds and gives pointwise. It also gives and for each nonzero . These bounds hold on compact kernel support for small , or globally under the alternative assumptions. With , splitting at a fixed and controlling the tails by proves and . The same split yields , ; symmetry and the first-order expansion of give . In the rapid-tail alternative [F4] gives . Write and split at . The far parts of are respectively , since and . The far parts of are : expand and use with . On the near region the preceding local bounds and the integrable apply; letting after gives the same remainder limits. These estimates also make every stated integral finite.
The determinant tends to . Since for , the affine terms in the intercept cancel exactly and . Step 1.1 makes and gives the asserted coefficient after division by the positive limiting determinant.
Conditional-on-design bias of the empirical local-linear estimator
Statement
Assume AC for the chosen regression version. Let be iid with density , with at a fixed interior point , and let be near . Let be finite-valued Borel, nonnegative and symmetric, with , and . Assume either compact kernel support, or that and their first two derivatives are bounded and continuous globally. A further localization alternative, including the Gaussian kernel, is that , is bounded, and Under this rapid-tail alternative only the stated local smoothness of is needed; no global boundedness of or of its derivatives is assumed. Let with . For almost every realized design, integrate the degree-one fit of Local-polynomial estimator against the independent response laws ; call the resulting finite response-law mean , with the same fixed fallback on singular designs. Then Here means in probability. This is a conditional response-law mean statement; it neither assumes nor asserts that the estimator has an unconditional Lebesgue expectation.
Facts & Assumptions
Given: The selected conditional response laws and the sampling, smoothness, kernel, tail control, bandwidth and fallback hypotheses in the statement.
A nonsingular local-polynomial fit solves the weighted normal equations. Local-polynomial estimator.
The normalized local-linear moment matrix converges in probability to . Its scalar truncation extension for an arbitrary integrable Borel function requires globally bounded or compact support of ; under the rapid-tail alternative, its localization argument establishes the three matrix moments , . Local-linear moment matrix converges to a positive-definite limit.
The selected Borel function gives the mean under for almost every predictor. Regression target and chosen version.
Convergence in probability is convergence of the fixed-error event probabilities to zero. Convergence in probability.
For -almost every , , and conditional integration gives by the triangle inequality. Conditional expectation as a measurable function of the conditioning variable
Proof
Put , , and . Then , by [F2]. Symmetry and the first-order density expansion give ; the tail is controlled by under the global alternative. Also , using localization or the global density bound. In the rapid-tail alternative its local part has this bound, and the far contribution to is at most , hence no larger than . Since , in probability by the variance bound, so .
Set . Taylor's integral formula gives and . The truncation proof of [F2] applies to this varying integrand: on any fixed set where and are bounded it converges uniformly, its average has variance , and the absolute tail expectation is at most . Hence in probability. Furthermore and pointwise. Splitting the integral as before gives . Markov's bound yields . Under the rapid-tail alternative [F5] gives ; first apply these arguments on . For the far part put and expand . Its expected absolute contributions to and are bounded by . The same tail estimate gives the stated expectation expansion for . Thus all limits hold without global smoothness.
On a nonsingular design, [F1] and [F3] give , since the constant and slope terms cancel exactly in the intercept. Steps 1.1–2.1 give , and the denominator tends to . Division gives the claimed coefficient. The singular-design event has probability tending to zero by [F2]; even after scaling by the probability of any nonzero fallback contribution is at most that event probability, so it does not change convergence in probability. This argument integrates the response law separately for each design and never interchanges an undefined unconditional signed expectation.
Conditional asymptotic variance of Nadaraya–Watson and local-linear estimators
Statement
Assume AC for the chosen regression version. Let be independent and identically distributed with density continuous and positive at an interior point . For the chosen conditional law in Regression target and chosen version, set where finite. Conditional on the predictor vector, assume the responses are independent, have means , and have variances , where is finite and continuous at . Let be finite-valued Borel, nonnegative, symmetric, with , and . Assume compact kernel support, globally bounded , or the rapid-tail alternative: , bounded , and . In this last alternative the stated local continuity is sufficient. For the local-linear conclusion also assume ; this extra squared moment is automatic for compactly supported kernels. The Nadaraya–Watson conclusion requires only . For with , use the fixed fallbacks in Nadaraya–Watson estimator and Local-polynomial estimator. Then, with variance taken conditionally on , and the same limit holds with replaced by the degree-one local-linear estimator. This is a conditional-variance statement for both estimators. If additionally is continuous at and bounded globally (only bounded near is required for compact ), or if the rapid-tail alternative holds and is continuous at , with additionally in this rapid-tail unconditional clause, then the Nadaraya–Watson estimator is square-integrable for large and No unconditional local-linear variance is asserted: near-singular designs can make even its finite-sample expectation undefined.
Facts & Assumptions
Given: The conditional sampling, density, kernel, tail control, bandwidth, and fallback hypotheses in the statement.
The Nadaraya–Watson estimate is a normalized nonnegative weighted average when its denominator is positive. Nadaraya–Watson estimator.
The local-polynomial estimate is the intercept from weighted least squares when the moment matrix is nonsingular, with a fixed fallback otherwise. Local-polynomial estimator.
The normalized degree-one moment matrix converges to , and its singularity probability tends to zero. Local-linear moment matrix converges to a positive-definite limit.
Variance is the expectation of squared deviation from the mean for a square-integrable variable. Moments, variance, and covariance on a probability space.
Convergence in probability has its usual event-probability definition. Convergence in probability.
Independent and identically distributed variables have a common law and are mutually independent. Identical distribution and IID families.
In the rapid-tail alternative, conditional integration gives . For -almost every , and , so and . Also . Conditional expectation as a measurable function of the conditioning variable
AC is inherited through the chosen regression version; conditional response independence is stated explicitly so every conditional covariance used below is zero.
Proof
By [F3], in probability. Put . The scalar generalization proved in [F3] applies also to a continuous multiplier : on fixed truncated support this multiplier converges uniformly to and is bounded, and the tail expectation is bounded by . Thus, for the entry tends to . In the rapid-tail alternative, local truncation remains valid. For the expected absolute far contribution to is bounded by , since [F7] gives . Also follows from boundedness and the rapid tail. For the local-linear conclusion, permits , , by the same truncation argument. All entries then converge to ; symmetry makes the off-diagonal limit zero. Terms with are interpreted as zero. Every active response-law variance is finite almost surely; these are variances under the specified conditional response laws, without an assumption of unconditional square integrability.
On the event , [F1], conditional response independence, and [F4] give . Writing and makes the scaled variance , which converges to . The zero-denominator event has probability tending to zero by [F3]'s entry, so the same convergence holds with the fallback.
On a nonsingular local-linear design matrix, weighted least squares gives conditional variance , where . The limit matrix is diagonal with entries and , so its inverse has first diagonal entry ; the limit of is . Matrix inversion is continuous at this invertible limit, because its entries are quotients of entries of the adjugate by the nonzero determinant. Thus the scaled conditional variance converges to . By [F3] the singular-design event has probability tending to zero, and the fallback does not change convergence in probability.
For the extra Nadaraya–Watson clause, choose with of positive measure, possible since . Its predictor count is binomial with success probability . On , , whereas Markov's bound applied to gives . The truncation argument of step 1.1 also proves in : the bounded truncated average converges in , while the expected absolute tail is uniformly small. On , is bounded and converges in probability to . It follows that the expectation of the scaled conditional variance on has the stated limit: separate into its constant limit and an error, and use bounded convergence in probability for the reciprocal factor. On , the conditional variance is at most the active-region bound on , since the weights are nonnegative and sum to one, or the fallback is deterministic. Hence its scaled expectation is in those alternatives. Under rapid tails, the conditional variance is at most ; the count among the other observations is independent of and is below on . Its binomial lower-tail bound gives . Thus the contribution to the expected scaled conditional variance is at most . Under the stated condition, eventually, so this polynomial factor times the exponential tends to zero.
Let be the response-law mean of the Nadaraya–Watson fit, including its fallback, and let . The kernel integrals and localization or global bounds imply . Put and . Then and : after change of variables, continuity at handles a fixed compact -set and the integrable tail is dominated by bounded . On , , so its expected square is . On , and are bounded in the compact/global alternatives. Under rapid tails, [F7] gives ; the far part of the second-moment integral is , and the leave-one-out binomial argument in step 3.1 gives . Its expected squared bad-event contribution is therefore negligible in all stated cases, and . Bounded active-region means and variances, or the bound under rapid tails, make the Nadaraya–Watson fit square-integrable. Expanding its centered square and integrating first under the response laws gives total variance equal to the expected conditional variance plus . Step 3.1 therefore proves the unconditional Nadaraya–Watson expansion.
Finite-sample mean bias of the Nadaraya–Watson estimator
Statement
Assume AC for the chosen regression version. Let be iid with density , and, conditional on the predictors, let the responses be independent with the selected conditional laws , means and variances . At a fixed interior point , suppose , are near , and is finite and continuous at . Let be finite-valued Borel, nonnegative, symmetric, positive on some neighborhood of zero, with , and . Assume either compact kernel support, or that and their first two derivatives are bounded and continuous globally and is finite and bounded globally. A further localization alternative, including the Gaussian kernel, is that , is bounded, and Under this rapid-tail alternative only the stated local smoothness of is needed; no global boundedness of or of its derivatives is assumed. For with , and any fixed finite fallback, the estimator in Nadaraya–Watson estimator is integrable for all sufficiently large and The compact/global alternatives require no boundedness or continuity of .
Facts & Assumptions
Given: The explicit sampling, version, kernel, localization or global bounds, bandwidth, and fallback assumptions in the statement.
The chosen version represents the response mean. Regression target and chosen version.
The estimator is a normalized nonnegative weighted average or the fixed fallback. Nadaraya–Watson estimator.
The population bias expansion holds under precisely these smoothness and localization alternatives. Pointwise population bias of the Nadaraya–Watson smoother.
IID provides independence and a common law. Identical distribution and IID families.
Density integration uses . The measure with density relative to .
Under the rapid-tail alternative, conditional integration gives . Thus by conditional Cauchy–Schwarz and . Conditional expectation as a measurable function of the conditioning variable
Proof
Write , , , , , , and . In the compact/global alternatives, and are bounded on the active kernel region for small ; thus is uniformly bounded there. The weighted response average has integrable absolute value, since it is bounded by . Conditioning on the predictors gives mean bias . Change of variables gives , and [F3] gives . Bounded on the active region yields , and , by and the appropriate density bound. Under the rapid-tail alternative, [F6] gives and , so integrability follows from the latter. The bounds and still hold: inside a fixed smooth neighborhood are bounded; outside it and . For , independence gives , and .
Positivity near zero implies there are and a Borel set of positive measure on which : the positive neighborhood is the countable union of its level sets . Hence . The count is binomial. On , . With , Markov's bound applied to gives . In particular is contained in .
On , . Since , Cauchy–Schwarz bounds by . The second term has absolute expectation at most . On , in the compact/global alternatives. In the rapid-tail alternative [F6] makes square-integrable, and the squared response-law mean is at most . For each , the event forces the count among the other observations below ; independence and the same binomial bound give . Thus Cauchy–Schwarz bounds its first-moment bad-event contribution by . The fallback and the omitted also contribute . Consequently . Here by , and and eventually make the exponential term . Substituting [F3] proves the claim.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Whitney K. Newey, Nonparametric and Semiparametric Estimation, MIT course notes
- Ryan Tibshirani, Nonparametric Regression: Nearest Neighbors and Kernels
- Whitney K. Newey, Locally Linear Regression, MIT course notes
- Ryan Martin, Lecture Notes on Advanced Statistical Theory, §5.1
- Peter Hoff, Statistical Decision Problems, §§4.1–4.2