Difference between revisions of "Manuals/calci/FORECAST"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
2. The values of x and y are empty or contain a different number of data points. | 2. The values of x and y are empty or contain a different number of data points. | ||
3. The variance of x is zero. | 3. The variance of x is zero. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 05:27, 14 January 2014
FORECAST(n,y,x)
- is the data point .
- is the dependent array of data.
- is the independent array of data.
Description
- This function gives the predicted value of the dependent variable for the specific value, x, of the independent variable by using a least squares linear regression to predict y values from x values.
- In is the data point to predict a value. is the dependent array of data to predict the -value and is the independent array of data to predict the -value.
- The formula for is
- where and .
- Here and are the sample means of x and y.
- This function will give the result as error when
1. Any one of the value is nonnumeric. 2. The values of x and y are empty or contain a different number of data points. 3. The variance of x is zero.