Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi - I'm trying to use LINEST to create an automated, rolling multiple
regression. In otherwords, rather than use the Analysis Toolpak over and over again to run a regression with one more incremental set of data, I'd like to accomplish the same thing using LINEST. Then using the output of this, use the coefficients to created trended data. Unfortunately, there is one oddity with LINEST. It returns the values in reverse order. Let's say you had a regression of data in 4 columns, A through D. If you used the Analysis tookpak, it would give the coefficients in the following order: Intercept, Coefficient Column A, Coefficient Column B, etc. But when you use LINEST it gives you the list in the exact opposite order. The difficulty here is that to create a trend forecast using those coefficients, you either need to reverse the order of the coefficents or your raw data. I've seen several suggestions on how to reverse an array across multiple cells - but that won't work for what I need to accomplish. Eventually, what I'd like to be able to do is something like SUMPRODUCT(LINEST($A$1:$A$100,$c$1:$H$100),$B101:$ H101) In column B, I'd store the value "1" so the intercept is always multiplied by 1. Like I said however, LINEST reverses everything, so what I really need is: SUMPRODUCT( reverse of (LINEST(......)),$B101:$H101) Any thoughts? Thanks in advance. Marston Gould |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
what is reversed conditional formatting? | Excel Worksheet Functions | |||
Values reversed with secondary series. | Charts and Charting in Excel | |||
Chart data reversed. | Charts and Charting in Excel | |||
columns reversed | Excel Worksheet Functions | |||
reversed columns | Excel Discussion (Misc queries) |