FORECAST function - The function returns a value along a linear trend in Excel
The following article introduces you to the FORECAST function - one of the functions in the statistical function group is very popular in Excel.
Description: The function performs a calculation or prediction of a future value by using current values using linear regression. In Excel 2016 this function is replaced by FORECAST.LINEAR function .
Syntax: FORECAST (x, known_y's, known_x's)
Inside:
- x: Data point to predict a value for it, is a required parameter.
- known_y's: Dependent array of an array or range of data.
- known_x's: Independent array of array or range of data .
Attention:
- If x is not a number -> the function returns the #VALUE! Error value .
- If known_y's or known_x's are empty or contain a different number of data points -> the function returns the # N / A error value
- If known_x's = 0 -> variance, the function returns the DIV / 0 error value !
- FORECAST transform equation is: A + BX where:
(a = bar y - bbar x)
(b = frac {{sum {(x - bar x) (y - bar y)}}}} {{sum {{{(x - bar x)} ^ 2}}}})
And x, y are the average samples of AVERAGE (known_x's) and AVERAGE (known y's).
For example:
Find the predicted value of y and the x value is 25 and 52, respectively:
- Predict the value of y to know the value of x is 25. In the cell to calculate enter the formula : = FORECAST (25, C6: C10, D6: D10)
- Press Enter -> Predict the value of y is:
- Similarly, copy for the case that the value of x is 52 results in:
- Where the number of data points of the two different x and y arrays is different -> the function returns the # N / A error value
Here the value array of x is known only from C6 -> C8 (there are 3 data points) while that of y from C6 -> C10 (there are 5 data points).
Above are instructions and some specific examples when using FORECAST function in Excel.
Good luck!
You should read it
- SLOPE function - The function returns the slope of a linear regression line through data points in Excel
- PEARSON function - The function returns the Pearson product moment correlation coefficient in Excel
- How to use the IF function in Excel
- How to use the IFS function in Excel 2016
- CHISQ.TEST function - The function returns the independence test in Excel
- OR function in Excel, how to use the OR function, and examples
- GAMMA function - The function returns the gamma function value in Excel
- POISSON.DIST function - The function returns the Poisson distribution in Excel
May be interested
- GAMMA function - The function returns the gamma function value in Excelgamma: the function returns the gamma function. support functions from excel 2013 onwards. syntax: gamma (number)
- POISSON.DIST function - The function returns the Poisson distribution in Excelpoisson.dist function: the function returns the poisson distribution, the application function to predict the number of events in a specific time. support functions from excel 2013 onwards. syntax: poisson.dist (x, mean, cumulative)
- QUARTILE.EXC function - The function returns the quartile of a dataset without values 0 and 1 in Excelquartile.exc function: the function returns the quartile of the data set, with percentile values from 0 to 1 excluding 0 and 1. the support function is from excel 2010 onwards. syntax: quartile.exc (array, quart)
- PHI function - The function returns the value of the density function for a normal distribution in Excelphi function: the function returns the value of the density function for a standard normal distribution. support functions from excel 2013 onwards. syntax: phi (x)
- BETA.DIST function - The function returns the Beta distribution in Excelbeta.dist function: the function returns the beta distribution to study the variability of a number of things through a sample. support functions from excel 2010 onwards. syntax: beta.dist (x, alpha, beta, cumulative, [a], [b])
- How to use the IFS function in Excel 2016the ifs function in excel is a logical function introduced in excel 2016. this function is a function that replaces the nested if function and is much easier to use. the ifs function checks one or more conditions and returns a value that meets the first true condition.
- FTEST function - The function returns the result of an F-Test in Excelthe following article details how to use ftest - the function returns the result of an f-test. in statistical probability, the determination of the correctness and the deviation between two data samples is a regular and extremely important job.
- GAMMA.INV function - The function returns the inverse of the gamma distribution in Excelgamma.inv: the function returns the inverse of the gamma distribution, using this function to study their distribution variables that may be symmetrical. support functions from excel 2010 onwards. syntax: gamma.inv (probability, alpha, beta)
- How to use ADDRESS function in Excelthe address function in excel takes the number of rows and column numbers as arguments and returns the reference of the standard cell (cell address). for example, if you go to row 4 and column 3, the function returns c4.
- FISHER function - The function returns the Fissher transformation at x in Excelfisher function: the function returns the fissher transformation at x. this transformation creates a normal distribution function, using this function to test a hypothesis based on a correlation coefficient. syntax: fisher (x)