Calibration residual 2026-11-05
A calibration residual is the difference between a measured response and the response predicted by a fitted analytical calibration function at the corresponding reference input. With observed signals , reference concentrations and fitted function , choose the conventionA calibration residual is an observable diagnostic of a fit; it is not the unobserved measurement error relative to a true response. Plotting regression residuals against reference input, fitted response and measurement order can reveal different model failures.[ref]
NIST and SEMATECH e-Handbook of Statistical Methods. Section4.4.4, model validation; §4.4.4.2, residual scatter and functional-form caveat
For an original example in chosen consistent concentration and signal units, take reference inputs and responses . Ordinary least squares givesThe calibration residuals sum to zero, as expected for an ordinary least squares fit with an intercept, but they are not individually zero. The sum of their squares is ; with three observations and two fitted coefficients, the residual estimate of noise standard deviation is signal units. One residual degree of freedom provides a weak estimate, rather than strong evidence for the assumed noise law.
A curved residual pattern suggests a missing response term, while changing scatter can suggest nonconstant noise variance. These diagnoses interact: an incorrect response curve itself can create apparent changes in scatter. Replicate standards and measurements across the intended range help distinguish them.[ref]
NIST and SEMATECH e-Handbook of Statistical Methods. Section4.4.4.2, thermocouple and polymer-relaxation examples
A small residual scatter alone does not establish accurate reference concentrations, transferable sample conditions or trustworthy extrapolation. Coefficient of determination Created 2026-10-06 Updated 2026-10-14
In an ordinary least squares regression with an intercept and a nonconstant response, . It measures the fitted proportion of sample variation relative to an intercept-only baseline. It increases when regressors are added, even if those regressors are unhelpful for prediction. A high value does not establish the assumptions of a normal linear model or rule out a systematic regression residual pattern.
For the five-point example in linear regression, the total centered sum of squares is and the residual sum of squares is , so . This summarizes the fitted reduction in squared error. It does not record the order or shape of the regression residuals, which are worth examining in a residual-versus-fitted plot.
Here is a fully constructed illustration. Use and the same fitted line for both datasets. Add respectively the residual vectorsBoth sum to zero, both have zero inner product with , and both have squared norm . Their ordinary least squares fit is therefore exactly the same line, with the same . But the first residual is , a systematic quadratic shape, while the second changes direction across the predictor values. These examples show directly which information the scalar discards; neither constructed pattern proves a random-error model.
Consistency of least squares Created 2026-09-24 Updated 2026-11-05
For fixed coefficient dimension and , the ordinary least squares error satisfiesConsequently convergence in probability of to a positive-definite matrix , together with in probability, proves statistical consistency by continuity of matrix inversion.
For independent and identically distributed random-design pairs, finite second moments and imply these limits by the law of large numbers, provided is nonsingular. Conditional mean zero, , is a familiar sufficient exogeneity condition. For a deterministic design matrix, the vanishing normalized design-error product must instead be justified from its errors and weights.
Finite moments and a nonsingular design alone are insufficient. In an intercept-only model with errors identically one, the estimated intercept is always . The missing zero-expected value condition changes the limiting target.
Exogeneity 2026-11-05
In linear regression, a common mean-exogeneity condition is : after conditioning on the design matrix, the regression error has zero conditional expectation. For a full-column-rank design, ordinary least squares satisfies , so this condition gives without requiring constant error variance.
A weaker condition, , states an unconditional moment restriction and is not identical to zero conditional mean. If an omitted variable contributes to the regression error and is correlated with a predictor, either condition can fail. Exogeneity must therefore be stated relative to a specified model and information set; it does not by itself turn an associational regression into a causal effect.
Fitted-residual orthogonality 2026-10-06
For a full-rank ordinary least squares design matrix, the hat matrix and residual projection satisfy . Hence fitted values and regression residuals are perpendicular as observed vectors. Under isotropic errors their cross-covariance matrix is zero, and under a normal linear model the two vectors are independent.
Fitted values Created 2026-09-24 Updated 2026-10-14
Fitted values are the predictions at the predictor values used to fit a regression model. In linear regression with an explicit regression intercept,Here is the slope design matrix, and is the regression residual vector. The fitted values estimate the regression function at the observed predictors; they need not equal the observed responses, which may also contain random errors. Prediction at a new predictor vector uses with the same centering and scaling used in fitting. A prediction interval addresses uncertainty in a new response rather than just displaying this point prediction.
For the five constructed observations in linear regression, ordinary least squares gives fitted values . The ridge regression fit at instead gives . Both fitted vectors have sample mean because the regression intercept is unpenalized; their regression residuals differ and their residual sums of squares are and , respectively.
For ordinary least squares, the fitted values are the orthogonal projection of onto the column space of the complete design matrix, including its regression intercept column. They remain unique even in rank-deficient ordinary least squares, although the regression coefficients can be nonunique. The regression residuals are then orthogonal to every column.[ref]
Regression 1: Different perspectives. slides 6–10: fitted values, hat matrix, projection and orthogonal residuals
With centered slopes, ridge regression instead satisfies , so the regression residuals need not be orthogonal to the slope columns. Their sum is still zero because the regression intercept remains free.For fixed predictors and scales and a fixed positive penalty, ridge regression gives a linear smoother,For with at least one nonzero slope direction, this matrix is not an orthogonal projection matrix: applying it twice shrinks that direction again. Its effective degrees of freedom are , where are the positive singular values of ; the extra counts the free regression intercept. If the penalty is selected using , the resulting fitting rule need not be a linear smoother, since its chosen also depends on .
Franck-Hertz repeated-loss collection model Created 2026-10-18 Updated 2026-10-20
Define a signed offset so that the accelerating region adds kinetic energy . This convention concerns this gap; collector contact fields belong in the effective . An electron emitted with initial kinetic energy and undergoing identical excitation losses reaches the grid withEach loss excites a fresh chemical atom initially in its ground state. These are repeated payments of the same excitation cost. The index counts events along an electron trajectory, not the ordinal number of an atomic excited state. The outgoing energy also does not locate the last collision: after an early collision an electron can regain enough kinetic energy to cross the barrier.
At fixed , let be the normalized initial-energy probability density function within the ensemble of electrons reaching the grid, and the conditional probabilities for losses within that ensemble. Then the ideal collection law isTake and exclude paths with insufficient kinetic energy for a loss at its actual collision position. The weights contain collision positions and rates, mean free paths and angular acceptance. This equation is a bookkeeping model, not a derivation of those weights. Multiplying all incident particles by one constant transmission is an additional approximation; real transmission and can vary with .
One analytical extreme assumes , one-dimensional motion and an immediate loss whenever the kinetic energy reaches . With , and , the number of losses and remaining kinetic energy areHere is the floor function. Collection switches off for an interval of width after each reset, then recovers; the pattern repeats every . For , and , an applied gives , and rejection, whereas gives , and collection. With the dips disappear in this idealization. With no collisions, there is only a single collection onset. Both limits expose the separate roles of loss and filtering.
To draw a smooth illustrative curve, extend this periodic rule mathematically to all and convolve it with a chosen normal distribution of voltage jitter, of standard deviation :Here is the standard normal cumulative distribution function. Each summand is the smoothed indicator of the accepted interval . The result satisfies and has period . For the figure choose and plot only well beyond the startup region. This is a chosen phenomenological curve, not a Boltzmann equation transport prediction or a fit to measured electric current. Its symmetric troughs center on , rather than the reset voltages . Finite excitation rates, several loss channels, space charge, initial angular and energy spreads, and real electrode geometry can change the trough shape and phase; a single convolution does not solve these effects.
Illustrative repeated-loss collection and an independent synthetic spacing fit
. Left: the chosen Gaussian-smoothed threshold model, with , , and . Right: separately chosen synthetic trough positions, their ordinary least squares fit and residuals. The points are not extracted from the left curve or a historical trace. Source. Details. Franck-Hertz spacing fit and contact offset 2026-10-18
Fit the positions of successive, consistently defined troughs by linear regression, . A constant intercept absorbs the contact potential difference, collection phase and initial energy effects; estimates the repeated loss expressed as a voltage. Subtracting successive positions cancels . A line fit uses every position and leaves residuals that can reveal curvature or a misidentified trough. It still assumes that the phase is constant over the fitted range and that all troughs belong to the same loss channel.
For an original numerical example, choose and synthetic positions . Their successive spacings are . The ordinary least squares formulas giveThe fitted residuals are , with zero sum and zero index-weighted sum. Their residual sum of squares is . If independent, equal-variance, zero-mean errors describe these positions, the residual variance estimate is and the slope standard error is . Thus the inferred model loss is with conditional standard error . These errors summarize only the chosen position scatter; a voltage-scale error or a drifting collection phase is not included. Adjacent spacings share a position error and are therefore correlated even when position errors are independent.
The offset has a sharper identifiability limitation. Even if a constant-phase model were exact, an initial beam kinetic energy shifts the troughs by . For the symmetric illustrative curve, . The transformation , leaves every trough position unchanged. Measuring alone therefore cannot determine the contact potential difference. Relabeling also changes by without changing . An independent offset calibration and a justified collection model are needed before turning a first trough into an excitation threshold. Varying tests this model's predicted half-voltage shift of the trough centers; it is a diagnostic prediction of this chosen curve, not a universal correction for experimental minima.
Gauss-Markov theorem Created 2026-09-24 Updated 2026-11-05
Let with a fixed full column rank design matrix, and . Then ordinary least squares is a best linear unbiased estimator: every response-linear unbiased estimator has at least as much variance in every coefficient direction. A normal distribution is unnecessary.[ref]
The Truth about Linear Regression by Cosma Rohilla Shalizi. Chapter 21, section 21.3, printed pp. 363–365
For a proof put . A competing estimator is unbiased for every exactly when . Write ; then , so the cross terms vanish andThis positive semidefinite matrix inequality proves the simultaneous directional comparison. The scope is linear unbiased estimators, not all conceivable estimators: a biased ridge regression estimate may improve mean squared error for some signals. With correlated or unequal-variance errors, the corresponding known-covariance result uses generalized least squares.
Joint distribution of least-squares and variance estimators Created 2026-10-05 Updated 2026-10-06
With a full-column-rank design and isotropic normal errors, ordinary least squares gives , independent of the residual squared length. Orthogonal design and residual projections of the multivariate normal distribution are independent, and . The maximum likelihood variance estimate is , not the unbiased estimate .
Linear regression Created 2026-09-24 Updated 2026-10-14
Linear regression models a response's conditional expectation as a linear combination of specified predictors. In matrix form,where the design matrix describes the observations, contains the regression coefficients, and contains the errors. The fitted values estimate the response means. The model is linear in its regression coefficients; its columns may include powers, interactions, or other transformed predictors, so polynomial regression can fit curved relationships using the same machinery.
For a concrete example, take five constructed observationsAn ordinary least squares fit with an intercept gives the line . Its regression residuals are and its residual sum of squares is . A one-unit increase in the predictor corresponds to a one-unit increase in the fitted response. This is a description of this fitted association; interpreting a change as a causal effect requires the assumptions of a causal inference problem.
A five-point least-squares fit separates the fitted trend from residual deviations
. Details. The geometric reason for the fit is simple. The possible mean vectors form the column space of . Ordinary least squares chooses the orthogonal projection of the data vector onto that vector subspace, so the remaining regression residual is orthogonal to every permitted fitted direction. The least-squares normal equations express this orthogonality as . The data's explained component and unexplained component are therefore separated by the same geometry used in a Hilbert space.
The optimization definition makes sense for any observed data. Quantifying the uncertainty of the regression coefficients needs additional assumptions about the sampling and errors. With fixed of full column rank and mean-zero errors with covariance matrix , ordinary least squares is unbiased and has covariance ; the Gauss-Markov theorem compares it with other linear unbiased estimators. A normal linear model additionally makes Student t-distribution intervals and tests exact in finite samples. Model adequacy and predictive assessment remain relevant even when these calculations are available.
Two historical settings help explain the subject's appeal. Adrien-Marie Legendre's Nouvelles méthodes pour la détermination des orbites des comètes (1805) includes an appendix on the method of least squares: observations give more equations than unknowns, and squared errors provide a criterion for reconciling them. Its astronomical setting shows the motivation for combining imperfect measurements. [ref]
https://www.e-rara.ch/zut/content/titleinfo/10838079. Legendre, Nouvelles méthodes pour la détermination des orbites des comètes, 1805, appendix pp. 72–80
Francis Galton's Regression Towards Mediocrity in Hereditary Stature (1886) examines the association between parental and offspring heights and the tendency of group averages toward the population average. This is a historical use of the regression name; the modern linear model is a general statistical formulation. [ref]https://zenodo.org/records/1449548. Galton, Regression Towards Mediocrity in Hereditary Stature, 1886, original article
Maximum likelihood estimation Created 2026-09-24 Updated 2026-10-14
Maximum likelihood estimation is a method of statistical estimation: within a specified statistical model, choose the statistical parameter values that maximize the likelihood function of the observed data. For a parameter set and observations , its exact requirement isThe equality requires an attained, finite maximum; a supremum approached only at an excluded boundary is not enough. The resulting rule is a maximum-likelihood estimator. The likelihood function uses a probability mass function for discrete data and a probability density function for continuous data. See MIT 18.05, Reading 10b, sections 3 and 3.2.
The direction of the comparison is the interesting part: hold the observations fixed and vary the statistical parameter. Ten independent Bernoulli trials with eight successes and two failures give the maximum-likelihood estimate , as derived in log-likelihood. This chooses the member of the statistical model that assigns the greatest mass to that outcome. It does not assert an posterior probability that this parameter value is true. Bayesian statistics combines the same likelihood function with a prior distribution to obtain a posterior distribution; maximum a posteriori estimation maximizes that posterior mass or density instead.
The method turns many fitting tasks into one maximization problem. In the normal distribution model with known variance, it recovers the sample mean and ordinary least squares, while binomial regression and Poisson regression use different sampling assumptions to build their own likelihood functions. The log-likelihood turns independent contributions into a sum, exposing score equations and observed information. A peak's location gives an estimate; its shape records how much the observed data distinguish nearby parameter values.
Existence, uniqueness, bias, and statistical consistency are separate questions. Normal mean and variance maximum-likelihood estimators include a variance estimate with bias, likelihood supremum at an excluded boundary gives nonexistence, and the Neyman-Scott incidental parameter problem gives inconsistency. The usual asymptotic normality of a maximum likelihood estimator requires assumptions: a consistent estimator at an interior true parameter in a fixed finite-dimensional model with identifiability, sufficient smoothness and control of log-likelihood derivatives, and finite nonsingular Fisher information. A common parameter-independent support of a probability distribution is part of a standard sufficient framework; see Rigollet, MIT 18.650, Maximum Likelihood Estimation, slides 22-23. This is a description of the regular setting, not a complete theorem's hypotheses. The exact endpoint limit for a shifted exponential distribution shows why changing support can produce a different rate and a nonnormal limit. These properties do not follow just from maximizing a function.
In his 1922 paper in the Royal Society's Philosophical Transactions A, R. A. Fisher explicitly distinguished likelihood from probability and described choosing the parameter values with greatest likelihood. Section 6 also discusses comparing likelihoods after giving the maximum value one, the convention used in the figures here. See Fisher, On the Mathematical Foundations of Theoretical Statistics, section 6, pp. 326-328, DOI 10.1098/rsta.1922.0009.
Maximum-likelihood estimator Created 2026-09-24 Updated 2026-10-14
A maximum-likelihood estimator is an estimator whose value maximizes the likelihood function for each sample where a finite maximizer exists. Before observation, is a random variable (the choice of maximizer must be a measurable function); after observation, is the numerical maximum-likelihood estimate. A formula must specify the allowed parameter set, including whether its endpoints belong to it.
For ten independent Bernoulli trials, write . On the closed parameter interval , the binomial proportion maximum-likelihood estimator is . Eight successes give the estimate . If , the likelihood is and has its unique maximum at ; if , it is and has its unique maximum at . On the open interval these two samples have no maximum-likelihood estimate: the supremum is one, but it is not attained. This is the same issue as likelihood supremum at an excluded boundary.
A complete continuous example uses independent and identically distributed random variables with unknown mean and known standard deviation one. Their likelihood function and log-likelihood areThe sum of squared deviations separates asbecause . The first term is fixed in , so the unique maximum-likelihood estimator is the sample mean . This also proves the equivalence with ordinary least squares for this model. With the constructed observations , the sample mean is one and the residual sum of squares is ten; henceAt or , the log-likelihood is two below its peak, so the likelihood ratio to the fitted value is . The absolute likelihood at the peak is , a joint density value, not the probability of observing exactly those four real numbers.
The following figure compares that sample with a constructed sixteen-observation sample consisting of four repetitions of the displayed four values, modeled as sixteen independent draws. Both fits have sample mean one, butThus the observed information is four times as large for as for . The distance from the peak at relative height decreases from one to : the width scales as . This is a comparison of two stipulated samples; merely copying recorded observations would not create new independent evidence.
Even uniqueness needs checking. If the Bernoulli distribution success parameter is written with , eight successes give two maximum-likelihood estimates, , because both give the same probability distribution. The problem is a failure of identifiability. The special cases below show other ways an MLE can have bias or fail the usual asymptotic normality.
Normal distribution Created 2026-09-24 Updated 2026-10-14
The normal distribution is a probability distribution on the real line with mean and positive standard deviation . Its probability density function isIn the notation , the second parameter is the variance , not the standard deviation . The probability density function is symmetric about , highest there, and integrates to one. These formulas and the parameter convention are given in MIT 18.05, Reading 5c, §5: normal distributions.
The normal distribution is a location-scale family: if is a standard normal random variable, then . Changing moves the center; changing stretches the horizontal distances from it. The reciprocal factor lowers the probability density function as the curve widens, preserving total area. This is why one standard normal distribution suffices to calculate probabilities for the whole family. [ref].
The height is a probability density function value, not . For , the probability is an area, and for every individual . If is measured in some unit, and use that unit, uses its square, and uses its reciprocal; the integral is a dimensionless quantity. A change of measurement unit therefore changes the height without changing the probability. The area interpretation is developed in MIT 18.05, Reading 5b: continuous random variables.
The usefulness of the normal distribution goes beyond its simple shape. Under the central limit theorem, sums of independent and identically distributed random variables with finite positive variance, after centering and scaling, approach the standard normal distribution. Thus approximations by a normal distribution can arise even when the individual random variables have quite different probability distributions. The hypotheses matter: a model of measurement error still needs evidence that this approximation is appropriate. [ref]
https://ocw.mit.edu/courses/18-05-introduction-to-probability-and-statistics-spring-2022/mit18_05_s22_class06-prep-b.pdf. MIT 18.05, Reading 6b, §5: standardization and the central limit theorem
. Exact closure under a linear combination of independent normal random variables provides another reason the family is convenient.Historically, the curve appeared in a different problem from fitting measurements. In the 1756 edition of The Doctrine of Chances, Abraham de Moivre reproduces work he dates to 12 November 1733 on approximating sums of binomial distribution probabilities for equally likely success and failure; page 245 already gives the one-sided central area as . [ref]
https://archive.org/details/doctrineofchance00moiv/page/243/mode/2up. De Moivre, The Doctrine of Chances, 1756, pp. 242–246
. In his 1809 Theoria motus, Carl Friedrich Gauss derived a normal distribution for measurement error from a condition on the arithmetic mean, then connected maximizing its likelihood to minimizing the sum of squared errors under that model, the principle behind ordinary least squares. These are distinct contributions: approximating binomial distribution probabilities and justifying an estimation rule. [ref]https://archive.org/details/theoryofmotionof00gausrich/page/258/mode/2up. Gauss, Theoria motus, 1809, §§177–179; Davis's 1857 English translation, pp. 258–260
.For a short normalization check, substitute in the integral of . The Gaussian integral gives , so the total area is one. The standard normal density is an even function, giving ; integration by parts gives . Then linearity of expectation and the variance scaling rule applied to yield mean and variance .
Ordinary least squares estimators Created 2026-09-24 Updated 2026-10-14
For a linear regression design matrix with full column rank, the ordinary least squares coefficient vector is . In a normal linear model with error covariance matrix , it is an unbiased estimator with covariance matrix . Replacing by the residual variance estimate gives the reported coefficient standard errors.
Partial regression 2026-10-06
Partial regression first projects a response and a selected predictor orthogonally off the remaining design columns. Regressing the residualized response on the residualized predictor yields its coefficient in the full ordinary least squares fit.
The supplied coefficient and slope-test fields support a negative linear age association: about media-diversity points per year, or per decade. However, the reported and intercept uncertainty are inconsistent with other fields. They cannot all be combined into a single verified regression interpretation.
The descriptive summaries give 1784 observed ages and diversity scores, with no missing values. Age ranges from 18 to 89 years, with mean 43.035 and sample standard deviation 16.862 years. Diversity ranges from 0 to 48, with mean 19.592 and sample standard deviation 10.240 points. The scale combines online and offline consumption sources; the output does not say that one point equals one source, so that unit should not be invented. Comparing the numerical standard deviations across these different units does not establish which variable is more variable substantively.
A simple linear regression posits , where Y is diversity and x is age. Ordinary least squares fits that conditional mean by minimizing the residual sum of squares. If the coefficient estimates are trusted, the fitted line isIt predicts about 23.259 diversity points at age 18 and 12.861 at age 89. At the mean age it predicts , agreeing with the rounded outcome mean. This is the mean-fitting identity expected of least squares with an intercept. It does not validate every other output field. Individual scores can deviate substantially from these fitted means, and a cross-sectional age contrast is not an estimate of each person's change as they age.
The intercept of about 25.895 is the fitted mean at age zero. Zero lies outside the observed age range, so that direct interpretation is an extrapolation. Its test is not a test of whether age predicts diversity. The source's intercept row is internally inconsistent: , not the displayed 4.13. At 1782 residual statistical degrees of freedom, these imply two-sided p-values of about and , respectively, neither of which is the printed 0.00012. These differences exceed the displayed rounding precision, although each isolated p-value would still indicate a nonzero intercept at conventional levels. More importantly, its printed standard error is incompatible with the supplied predictor summary and residual error scale, as checked below.
The slope row is much more internally coherent: , agreeing with the displayed . There are residual statistical degrees of freedom, matching the output. Under the specified linear-model assumptions, this slope test strongly rejects ; its calculated two-sided p-value is about , consistent with the displayed upper bound . The F test with 1 and 1782 degrees of freedom, , has about the same tail probability and tests the same zero-slope hypothesis. The significance stars merely encode thresholds; these are not independent pieces of evidence.[ref]
Summarizing Linear Model Fits in the R documentation. Value: coefficient estimate, standard-error, t/p columns and F statistic
Conditional on the printed slope and its standard error, a 95% confidence interval is approximatelyThat interval is a conditional reading of the coherent slope fields, not a raw-data refit. A p-value is not the probability of a causal age effect, and the confidence interval relies on the sampling and error model. Even a well-estimated observational association does not isolate age from other measured or unmeasured determinants of media use.
The printed coefficient of determination, , would mean that the fitted line accounts for 15.816% of the sample's centred diversity sum of squares, relative to an intercept-only fit. It would not mean that age causes 15.816% of diversity or correctly predicts that proportion of respondents. But the simple-regression output identities requireHere the supplied implies , not 110, whereas implies . The printed slope and the two standard deviations independently give correlation , whose square is about 0.05816. These mutually compatible fields suggest an explained fraction around 5.8% if they are trusted, rather than the printed 15.816%. No unique replacement value is claimed.
The adjusted coefficient of determination is also inconsistent. Using the printed and sample size gives , which cannot round to the printed 0.15763. Its conceptual purpose is to penalize the unadjusted fit measure for estimating the extra predictor, not to supply a separate effect estimate or significance test. It cannot repair the more substantial F– conflict.
The residual standard error of 9.94 points estimates unexplained response spread, not uncertainty in the slope and not a guaranteed error bound for every prediction. It approximately agrees with the smaller implied : . The printed would instead imply residual standard error about 9.398. Rounding on those fields cannot bridge the difference. Thus uncertainty and fit must be read in internally compatible groups rather than mixed indiscriminately.
In a simple ordinary least-squares model, andWith the printed and predictor summary, these give slope standard error about 0.0139605, agreeing with the displayed 0.01396, but intercept standard error about 0.64524, not 6.30222. This is a further diagnostic inconsistency, not authority to guess where a decimal point should have been. The Student t test for a simple-regression intercept explains the relevant variance formula.
The residual quantiles extend from about to , with median about and central quartiles about and . An intercept fit has zero residual mean, not necessarily zero residual median. These five quantiles do not establish a normal error distribution, constant conditional spread or absence of influential observations. A residual-versus-fitted plot could assess curvature and changing spread, and a normal probability plot could assess error shape; neither can be reconstructed from the supplied summary. An individual prediction interval includes residual variation and is wider than a confidence interval for a mean response.
Conventional t and F calibration assumes an appropriate linear mean, independent mean-zero errors conditional on age, and homoscedasticity; normal errors give the usual exact finite-sample theory. The bounded response scale and observational design call for assessing those assumptions rather than treating significance as model validation. The coherent coefficient/slope/F fields support a negative association with considerable unexplained individual variation. The printed explanatory-fit and intercept-uncertainty fields require correction before a single definitive numerical summary of the entire model is justified.
The fitted age slope is very small and negative, about efficacy points per year, with no conventional evidence against a zero linear slope: , . The model explains only about 0.0367% of the observed efficacy variation. These results concern a linear association, not proof of no possible age relationship or a causal effect of ageing.
The descriptive statistics report 2466 observed ages and efficacy scores, with no missing values for either variable. Age ranges from 14 to 97 years, with sample mean 52.689 years and sample standard deviation 19.064 years. Efficacy ranges from 0 to 16, with sample mean 9.348 and sample standard deviation 3.176 scale points. The standard deviations use different units and should not be compared as though their numerical ratio measured relative substantive variability. The efficacy mean retains the conflict with Question 1's group summaries; that conflict is not resolved by this separate regression output.
A simple linear regression models , where is efficacy and is age in years. Ordinary least squares chooses the coefficients to minimize the residual sum of squares. From the printed coefficients the fitted line isHolding to this model, ten additional years correspond to fitted scale points. For example, the fitted mean is about 9.453 at age 20 and 9.261 at age 80, a difference of about points. These are fitted means, not exact predictions of individual scores. The line does not imply that every person's efficacy falls at that rate, nor that cross-sectional age differences identify within-person changes over time.
The intercept is the predicted mean at age zero, about 9.517. Since zero is outside the observed 14–97 age range, its direct interpretation requires extrapolation. The printed standard error of 0.188043 and yield the extremely small displayed p-value for a zero intercept. That test does not test whether age is a useful predictor. Recentring age at its observed sample mean would put the intercept near , the fitted mean at a substantively relevant reference age. This agrees with the rounded overall efficacy mean.
The age standard error is 0.003356 points per year. The coefficient divided by this standard error gives , agreeing with the printed t value. Estimating an intercept and one regression slope from 2466 observations leaves residual statistical degrees of freedom. Under a correctly specified normal linear model, the Student t-distribution provides the stated two-sided p-value. At 5%, or 1%, it does not reject . The p-value is not a 34.2% probability that age has no effect, and nonrejection does not establish a practically negligible effect size.[ref]
Summarizing Linear Model Fits in the R documentation. Value: coefficient estimate, standard error, two-sided t and p columns; residual degrees of freedom
A 95% confidence interval calculated from the printed estimate and standard error is approximatelyor about points per decade. It includes zero and gives the scale of slopes compatible with these summaries and assumptions. Assessing a practically negligible effect would require an explicit substantive tolerance and an appropriate equivalence test, not simply the fact that . A nonlinear association could also coexist with a near-zero overall linear slope.
The coefficient of determination is , meaning that the fitted line explains about of the sample's centred efficacy sum of squares compared with an intercept-only fit. This is not 36.7%, a fraction of people whose efficacy is predicted correctly, or the proportion of efficacy caused by age. The adjusted coefficient of determination, approximately , is slightly negative because its penalty for estimating the extra coefficient exceeds the tiny improvement in fit. It need not be constrained to be nonnegative and does not mean a negative amount of explained variation.
The overall on 1 and 2464 statistical degrees of freedom, with , tests the same zero-slope hypothesis as the age t test because there is only one predictor. The simple-regression output identities give and ; the printed numbers agree allowing their displayed precision. The signed Pearson correlation coefficient is consequently about . These are related summaries of the same weak linear association, not independent corroborating tests.
The residual standard error of 3.177 points estimates the typical unexplained error scale under the fitted model. It is close to the efficacy sample standard deviation, as expected when the line explains almost none of the variation. It is not a standard error of the slope or a guarantee that each individual's prediction error lies within 3.177 points. The residual summary spans roughly to , with sample median about 0.573 and central quartiles about and . An ordinary least-squares fit with an intercept has zero mean residual, not necessarily zero median residual. These few quantiles cannot establish normality, constant conditional spread, absence of outliers or linearity. The apparent last-decimal discrepancies among rounded error scales and other summary fields do not force an additional contradiction: their rounding intervals admit compatible regression summaries.
The conventional uncertainty calculations assume independent, mean-zero errors conditional on age, an appropriate linear mean, and homoscedasticity; normal errors give the usual exact finite-sample t and F calibration. Large samples can relax some distributional requirements but do not remove confounding, selection bias or dependence. A residual-versus-fitted plot could reveal curvature or changing spread, and a normal probability plot could assess error shape; neither plot can be reconstructed from the printed residual quantiles. A prediction interval for an individual includes residual variation and is wider than a confidence interval for the mean response. The supplied output supports a very weak, imprecisely signed linear association with little predictive gain from age alone, while leaving nonlinear, causal and design-based questions unresolved.
Read conditionally, the fitted slope says that a one-point higher skill score is associated with about 0.209 more household devices in the fitted conditional expectation. The printed summary also claims a significant slope and about 28.93% explained sample variation. Those claims cannot be assembled into one valid fitted model: several regression identities fail, so a single verified coefficient-and-uncertainty report is unavailable.
The response is a device count, while the predictor is a skill score. A simple linear regression models , where is the device count and the skill score. Ordinary least squares chooses the intercept and regression slope to minimize the residual sum of squares. The regression slope describes a conditional association, not the causal effect of training or acquiring a device.
The descriptive statistics put the device count between and , with sample mean about and sample standard deviation about among records. Skill scores range from to , with sample mean about and sample standard deviation about among records. Two missing skill values account for the stated two deleted records; because device counts have no missing values, the regression complete-case sample has observations. Estimating two regression coefficients leaves residual statistical degrees of freedom, matching that part of the output. The units of the two standard deviations differ, so comparing with does not establish that skill is more variable in a substantive sense.
If the coefficient estimates are trusted, the fitted values follow . The intercept predicts about devices at a skill score of zero; zero is within the stated score range, but precision and the number of observations near zero are not shown. A five-point increase in score corresponds to about additional fitted devices and a ten-point increase to about . At a score of ten the fitted value is about , and at 24 it is about . Expected counts may be fractional even though individual counts are integers. These are conditional interpretations of the coefficient fields, not reconstructed raw observations or validated individual predictions.
A coefficient's standard error estimates its sampling uncertainty, whereas the residual standard error describes unexplained response variation. For the intercept, , agreeing with the printed and rounded . Conditional on the model assumptions, this would reject a zero intercept at conventional significance levels. The intercept test is not a test of whether skills predict devices. For the slope, the printed would reject at 5% but not 1%; it does not assign a probability to the null hypothesis or measure the usefulness of prediction. The significance stars simply encode thresholds and add no independent evidence.[ref]
Summarizing Linear Model Fits in the R documentation. Value: coefficient, standard-error, two-sided t and p columns; sigma, residual degrees of freedom and F statistic
The slope row fails its own arithmetic check:At statistical degrees of freedom the ratio gives a two-sided p-value about , while the printed gives about ; neither is . Thus the choice of which source field is trusted changes the apparent strength of evidence, including the 1% decision. A 95% confidence interval built conditionally from the printed estimate and standard error would be about , but it is not a verified interval from a coherent fitted model. In fact, using the printed residual standard error , the complete predictor sample size and predictor standard deviation gives a slope standard error near , not .
The printed coefficient of determination would mean that the fitted line explains of the complete-case sample's centred device-count sum of squares relative to an intercept-only fit; remains unexplained by that comparison. It is not the percentage of devices caused by skill, the fraction of correctly predicted households, or a measure of future predictive accuracy. The adjusted coefficient of determination is consistent with that and the given sample size, allowing rounding. The small adjustment reflects fitting one slope among many cases; it does not validate the model.
For a one-predictor ordinary least squares fit with an intercept and the usual common-variance standard errors, the simple-regression output identities requireHere the printed slope t gives , the printed F field says , and the printed instead implies . These cannot all hold. Moreover, on and statistical degrees of freedom has p-value about , not . Reading the printed F p-value alone would give a 1% significant test of the zero-slope model, but its reported calibration is incompatible with its statistic. No significance label resolves these identities.
There is also a contradiction that does not depend on tail probabilities. Ordinary least squares with an intercept makes the arithmetic mean of fitted values equal the arithmetic mean of observed responses on the analysed records. The printed coefficients and predictor mean give . Deleting two device counts anywhere in the printed range , and allowing the reported overall mean to be rounded, would leave the complete-case device mean between approximately and . The mean bounds after deleting bounded observations therefore rule out reconciling with the response summary merely by citing those two missing predictor values. This is not the mistaken assumption that full-sample and complete-case sample means must always be identical.
If its own field were trusted, residual standard error estimates the unexplained response standard deviation, in device-count units. It is neither the standard error of the slope nor a guarantee that every prediction is accurate to devices. The residual five-number summary has extremes near and and median near , with central quartiles near and . The roughly central median does not establish normally distributed errors, homoscedasticity, independence or a linear conditional expectation. A residual-versus-fitted plot could check curvature and spread; a normal probability plot could assess an error-shape approximation. Neither diagnostic can be recovered from five residual quantiles alone. Individual prediction intervals include response variation as well as coefficient uncertainty and are wider than confidence intervals for the conditional expectation.
For conventional finite-sample t and F calibration, a normal linear model assumes independent mean-zero normal errors of common variance with an appropriate predictor specification. Mean-zero errors conditional on skill and adequate sampling remain essential even when large-sample approximations relax normality. A bounded count response can have nonconstant conditional variance, so residual diagnostics and a scientifically suitable response model matter; count data do not become normally distributed just because the sample is large. Poisson regression is one possible alternative to investigate, but its own conditional mean–variance assumptions and the bounded device range require assessment, not automatic substitution. Complete-case selection can also bias the fitted association if it depends on the response in a relevant way. The only safe summary is conditional: the printed slope is positive, but the numerical effect, its standard error, t/F evidence and explanatory fit require a corrected, coherent output before a single definitive regression claim is made.
The ordinary least squares fit estimates the conditional mean of the continuous safety response as a linear function of the income coding:The regression coefficient for income is positive. Since larger response values mean greater safety, one additional coded income unit corresponds to an estimated increase of safety-scale units in the fitted mean. Following the question's stated units, a unit is a £10,000 income step. The observed coding also uses income bands with open end categories, so this is a linear trend per coded band step; it is not evidence of a known constant effect for every extra pound, especially within the open top band. The output's abbreviated variable label does not override the stated units.
The intercept is the fitted mean at income code zero. It is estimated as , but zero is outside the observed income codes, so that value is an extrapolated model baseline, not an observed estimate for a particular income category. Its small p-value tests a zero intercept; it is not the main test of the income association.
For the income coefficient, the standard error is . The reported test statistic and two-sided test giveproviding strong evidence against the null hypothesis of zero linear slope under the stated model assumptions. A Student t confidence interval, using residual statistical degrees of freedom, isThis is an interval for the population linear coefficient under the model, not an interval containing of individual safety scores. The large-sample estimate is precise enough to detect a positive association, but that does not establish substantial individual predictive power.
The coefficient of determination is : the fitted line accounts for about of the in-sample variation about the response sample mean. The adjusted coefficient of determination is about . Thus income alone explains very little of the observed variation, despite the small slope p-value. The residual standard error of response units describes substantial scatter about the fitted line. This is an estimated residual standard deviation, rather than the standard error of the slope or a complete individual prediction interval.
The overall F-test has on statistical degrees of freedom and . With one predictor and an intercept, it tests the same zero-slope hypothesis as the coefficient Student's t-test; , up to rounding. It is not an additional independent confirmation. In this simple linear regression, the Pearson correlation coefficient has the slope's sign and magnitude , another description of the weak linear association.
The regression uses complete observations and estimates two coefficients, giving residual statistical degrees of freedom. The deletion of observations is complete-case analysis; extending its conclusions to the full target population requires suitable assumptions about the missing-data mechanism. Classical reported standard errors also rely on an adequate linear conditional mean, independent errors and homoscedasticity; a normal linear model gives the finite-sample Student t-distribution and F-test calibration, while large-sample approximations can justify similar tests under weaker distributional assumptions. The printed summary alone does not establish these assumptions. Regression diagnostics and, where appropriate, heteroskedasticity-consistent standard errors address different parts of that assessment.
Finally, this unadjusted observational study estimates an association. Other covariates, such as age or experience status, may be related to both income and reported safety. Without additional design or causal identification assumptions, the positive fitted slope does not establish that increasing income would cause an increase in safety.




