FORECAST

FORECAST estimates a future value according to existing values using simple linear regression

Synopsis

FORECAST(x,known_ys,known_xs)

Arguments

x: x-value whose matching y-value should be forecast

known_ys: known y-values

known_xs: known x-values

Description

This function estimates a future value according to existing values using simple linear regression.

Note

If known_xs or known_ys contains no data entries or different number of data entries, this function returns a #N/A error. If the variance of the known_xs is zero, this function returns a #DIV/0 error.

Microsoft Excel Compatibility

This function is Excel compatible.

See also

INTERCEPT, TREND.