Linear Regression & Error Term Definition, Example, and How To Calculate With Formula
Linear Regression & Error Term Definition, Example, and How To Calculate With Formula
asp
Full Bio
The error term is also known as the residual, disturbance, or remainder term, and is variously
represented in models by the letters e, ε, or u.
Key Takeaways
An error term appears in a statistical model, like a regression model, to indicate the uncertainty in
the model.
The error term is a residual variable that accounts for a lack of perfect goodness of fit.
Heteroskedastic refers to a condition in which the variance of the residual term, or error term, in
a regression model varies widely.
An error term represents the margin of error within a statistical model; it refers to the sum of the
deviations within the regression line, which provides an explanation for the difference between the
theoretical value of the model and the actual observed results. The regression line is used as a
point of analysis when attempting to determine the correlation between one independent variable
and one dependent variable.
An error term essentially means that the model is not completely accurate and results in differing
results during real-world applications. For example, assume there is a multiple linear regression
function that takes the following form:
1 of 3 31/5/2023, 4:30 pm
Error Term: Definition, Example, and How to Calculate With Formula https://www.investopedia.com/terms/e/errorterm.asp
� = �� + �� + �
where:
�, � = Constant parameters
�, � = Independent variables
� = Error term
When the actual Y differs from the expected or predicted Y in the model during an empirical test,
then the error term does not equal 0, which means there are other factors that influence Y.
Within a linear regression model tracking a stock’s price over time, the error term is the difference
between the expected price at a particular time and the price that was actually observed. In
instances where the price is exactly what was anticipated at a particular time, the price will fall on
the trend line and the error term will be zero.
Points that do not fall directly on the trend line exhibit the fact that the dependent variable, in this
case, the price, is influenced by more than just the independent variable, representing the passage
of time. The error term stands for any influence being exerted on the price variable, such as
changes in market sentiment.
The two data points with the greatest distance from the trend line should be an equal distance from
the trend line, representing the largest margin of error.
Linear regression is a form of analysis that relates to current trends experienced by a particular
security or index by providing a relationship between a dependent and independent variables, such
as the price of a security and the passage of time, resulting in a trend line that can be used as a
predictive model.
A linear regression exhibits less delay than that experienced with a moving average, as the line is fit
to the data points instead of based on the averages within the data. This allows the line to change
more quickly and dramatically than a line based on numerical averaging of the available data
points.
Although the error term and residual are often used synonymously, there is an important formal
difference. An error term is generally unobservable and a residual is observable and calculable,
making it much easier to quantify and visualize. In effect, while an error term represents the way
observed data differs from the actual population, a residual represents the way observed data
2 of 3 31/5/2023, 4:30 pm
Error Term: Definition, Example, and How to Calculate With Formula https://www.investopedia.com/terms/e/errorterm.asp
3 of 3 31/5/2023, 4:30 pm