Excel 2003 calculation issue with Regression

Executioner

Board Regular
Joined
Sep 26, 2005
Messages
166
I have a spreadsheet that I use to perform a regression analysis to the 6th polynomial. Only the x range are replaced and the regression recalculated, but under 2003, the values are not correct, as the intercept goes negative and does not calculate my values correctly. The values in the B column are the only values that get updated each time, and the regression is over-written each time to get a new set of values.

Here is the basic set of data going to the 6 power.

Under Excel 97, I get these results:
56685 on XP using Excel97.xls
ABCDEFGHI
9SUMMARYOUTPUT
10RegressionStatistics
11MultipleR1
12RSquare1
13AdjustedRSquare-4.65661E-10
14StandardError2.69374E-15
15Observations5
16ANOVA
17dfSSMSFSignificanceF
18Regression6225000375005.16796E+33#NUM!
19Residual42949672943.11654E-207.25625E-30
20Total4294967300225000
21
22CoefficientsStandardErrortStatP-valueLower95%Upper95%Lower95.0%Upper95.0%
23Intercept132.52128694.46611E-09296726367900132.5212869132.5212869132.5213132.5213
24XVariable1-0.123174825.34344E-11-23051606880-0.12317482-0.12317482-0.12317-0.12317
25XVariable20.0034065012.39766E-131420759756500.0034065010.0034065010.0034070.003407
26XVariable3-4.1965E-064.99583E-16-84000040100-4.1965E-06-4.1965E-06-4.2E-06-4.2E-06
27XVariable48.90358E-104.26524E-19208747582808.90358E-108.90358E-108.9E-108.9E-10
28XVariable52.15926E-12065535#NUM!2.15926E-122.15926E-122.16E-122.16E-12
29XVariable6-1.27073E-15065535#NUM!-1.27073E-15-1.27073E-15-1.3E-15-1.3E-15
REGRESSTION


Under Excel 2000, the values are correct:
56685 on XP using Excel2000.xls
ABCDEFGHI
12RegressionStatistics
13MultipleR1
14RSquare1
15AdjustedRSquare-4.65661E-10
16StandardError2.69374E-15
17Observations5
18
19ANOVA
20dfSSMSFSignificanceF
21Regression6225000375005.16796E+33#NUM!
22Residual42949672943.11654E-207.25625E-30
23Total4294967300225000
24
25CoefficientsStandardErrortStatP-valueLower95%Upper95%Lower95.0%Upper95.0%
26Intercept132.52128694.46611E-09296726367900132.5212869132.5212869132.5213132.5213
27XVariable1-0.123174825.34344E-11-23051606880-0.12317482-0.12317482-0.12317-0.12317
28XVariable20.0034065012.39766E-131420759756500.0034065010.0034065010.0034070.003407
29XVariable3-4.1965E-064.99583E-16-84000040100-4.1965E-06-4.1965E-06-4.2E-06-4.2E-06
30XVariable48.90358E-104.26524E-19208747582808.90358E-108.90358E-108.9E-108.9E-10
31XVariable52.15926E-12065535#NUM!2.15926E-122.15926E-122.16E-122.16E-12
32XVariable6-1.27073E-15065535#NUM!-1.27073E-15-1.27073E-15-1.3E-15-1.3E-15
REGRESSTION


Now under Excel 2003, I get this:Note the negative intercept value...
56685 on XP using Excel2003.xls
ABCDEFGHI
10SUMMARYOUTPUT
11
12RegressionStatistics
13MultipleR1
14RSquare1
15AdjustedRSquare-4.65661E-10
16StandardError0
17Observations5
18
19ANOVA
20dfSSMSFSignificanceF
21Regression622500037500#NUM!#NUM!
22Residual429496729500
23Total4294967301225000
24
25CoefficientsStandardErrortStatP-valueLower95%Upper95%Lower95.0%Upper95.0%
26Intercept-1374.204791065535#NUM!-1374.204791-1374.204791-1374.2-1374.2
27XVariable10065535#NUM!0000
28XVariable20065535#NUM!0000
29XVariable31.11102E-05065535#NUM!1.11102E-051.11102E-051.11E-051.11E-05
30XVariable4-2.87488E-08065535#NUM!-2.87488E-08-2.87488E-08-2.9E-08-2.9E-08
31XVariable52.88772E-11065535#NUM!2.88772E-112.88772E-112.89E-112.89E-11
32XVariable60065535#NUM!0000
REGRESSTION


I even tried Excel 2007 and that version works, but the intercept is a different value, and the end results in the calculation for temperature are just a tad different then 97 and 2000.
56685 using Excel2007 saved as 2003 format.xls
ABCDEFGHI
12RegressionStatistics
13MultipleR1
14RSquare1
15AdjustedRSquare-4.65661E-10
16StandardError0
17Observations5
18
19ANOVA
20dfSSMSFSignificanceF
21Regression622500037500#NUM!#NUM!
22Residual429496729500
23Total4294967301225000
24
25CoefficientsStandardErrortStatP-valueLower95%Upper95%Lower95.0%Upper95.0%
26Intercept170.7034746065535#NUM!170.7034746170.7034746170.7035170.7035
27XVariable10065535#NUM!0000
28XVariable20065535#NUM!0000
29XVariable31.11102E-05065535#NUM!1.11102E-051.11102E-051.11E-051.11E-05
30XVariable4-2.87488E-08065535#NUM!-2.87488E-08-2.87488E-08-2.9E-08-2.9E-08
31XVariable52.88772E-11065535#NUM!2.88772E-112.88772E-112.89E-112.89E-11
32XVariable6-1.04522E-14065535#NUM!-1.04522E-14-1.04522E-14-1E-14-1E-14
REGRESSTION


Even though the intercept is a different value, its better than the 2003 version. What would cause such a large disparity between 2003 and the others? Finally, I use this to calculate what the setting needs to be on the controller knob to obtain the correct temperature:
56685 on XP using Excel2000.xls
DEFG
36SETTINGTEMPDEGC
37300300
38325325
39349350
40374375
41399400
42425425
43450450
44476475
45501500
46527525
47552550
48577575
49603600
50628625
51653650
52678675
53703700
54729725
55754750
56779775
57805800
58830825
59855850
60881875
61906900
REGRESSTION
 
Last edited:

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
In 2003 and 2007 Microsoft made several changes to Excel's statistics module. You may want to search msdn, google or the excel newsgroups for more on the subject. Look for posts by people like Harlan Grove, Jerry Lewis, and possibly Ian Smith.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,874
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top