Can someone point out how I can take a known set of x-values and a known set of y-values and return a linear trend? Excel provides a TREND() function but I need to do this on a server-side object, preferably in VB.
Most books on Statistics will show how to calculate the line equation for linear trend (or regression) in the form 'y = mx + c'. Extrapolation of that data just needs you to supply the appropriate x value to the equation.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.