Professional Documents
Culture Documents
Linear Regression
Approximating the relationship between the dependent variable and independent variable by a
straight line.
Uses a two-dimensional graph with sales measured along the vertical axis and time measured
along the horizontal axis.
After plotting the sales data, this method finds a line passing through the midst of the data as
closely as possible.
The extension of the line into future months provides the forecast of sales in these future
months.
linear regression line – the line that approximates the relationship between the dependent and
independent variable when using casual forecasting.
independent variable - a quantity that drives the value of the independent variable in casual
forecasting. it is called explanatory variable
dependent variable – the quantity of interest when doing a casual forecasting (eto yung
hinahanap or ifoforecast) or predictor variable
o a is the intercept
o b is the slope
o x is independent variable
R square – the closer to 1, the better the regression line fits the data.
to check if results are reliable, look at Significance F,if this value is less than 0.05, you’re OK. if
Significance F is greater than .05 better stop using the set of independent variables . Delete a
variable with a high P-value (greater than 0.05).
Intercept function arguments are the range of dependent and independent variable
Slope function – arguments are the range of dependent variable and independent variable
to get the slope value of slope, you have to use the range values of depenent and independent
variable
to get the intercept , again you need to use the range values of dependent and independent
variable
Then to solve or get the forecasted value you have to apply the formula y=a+bx. substitute the
values.
Another way is using the Analysis tool pak.
o go to Data tab
o in input Y range, you have to select the range of your dependent variable, (if you will
column
o apply the formula y=a+bx, if you have multiple independent variables, use this formula,
y=a+b1x1+b2x2…bnxn, where b1 is the coefficient of 1 independent variable, b 2 is the
coefficient of the second independent variable.
o
o
A method that uses the last value of a time series as the forecast of the next value
The last-value forecasting method ignores all data points in a time series except the last one.
*copy the formula up to the last given value of actual or true value.
*ISNUMBER() – is a function that checks whether a value is a number and returns a true or false
*ABS – a function in excel that returns the absolute value of a number without its sign.
*in the formula bar add the input the new legend