View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
flow guy flow guy is offline
external usenet poster
 
Posts: 2
Default using linest with very small numbers



"Harlan Grove" wrote:

flow guy wrote...
....
The data I use looks something like this

....
It is X and Y values and X values raised to different powers. This data is
anylized in to produce coefficeints for curve fits up to the 6th order. This
spread sheet worked well in office 2000, but is producing zeros for
coefficienets for the larger order fits.


As I said, rescale. I multiplied your C Factor values by 1E5 (100,000),
your Test^2 (C Factor squared) by 1E10, your Test^3 (C Factor cubed) by
1E15, etc. Then I called LINEST on your K Factor values as Y and the
rescaled C Factor and Test^# values as X getting

LINEST(Y,X,1,1):
-0.0001934 0.0008567 -0.0002688 -0.0039330 0.0071510 -0.0041250
0.0703100
0.0005494 0.0037450 0.0098640 0.0126100 0.0080140 0.0023030
0.0002191
0.8634398 6.595E-05 #N/A_____ #N/A____ #N/A_____ #N/A____ #N/A
13.6945294 13______ #N/A_____ #N/A____ #N/A_____ #N/A____ #N/A
3.5740E-07 5.655E-08 #N/A_____ #N/A____ #N/A_____ #N/A____ #N/A

The top line are the coefficient estimators and the constant term.
Multiply the first six, the coefficient terms in reverse order, by
1E30, 1E25, 1E20, 1E15, 1E10 and 1E5, respectively. The restulting
values are the coefficients applicable to the original C Factor and
Test^# values.



Thanks Harlan, but changing our spreadsheets is not realistic. We have been
using this same routine since office '97. The real problem seems to be with
our new version of office '03. We are only using sp2. Someone in our group
found the answer at http://support.microsoft.com/default.aspx/kb/887964/ It
is easier for us to switch back to 2000 or do the regestry hack than it is to
download sp3 (corporate stuff). It is just very disconcerting to open an old
workbook and find it giving different answers than it did a day ago.