LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Constraining Constants w Regression

Wigi,

Thanks for your help, although I'm not sure this is the correct approach.
After attempting to regress the same time series, this time with the constant
set to zero, and adding the constant I wanted afterward and keeping the
coefficients the same (if I understand you correctly), does not result in the
calculation of regression coefficients which fit the curve. Setting the
constant equal to zero makes the slope (coefficient) too big, and after
adding the intercept, my regression line lies almost entirely above my data
series, instead of fitting nicely on top of it.

"Wigi" wrote:

Hi

Calculating the latter regression coefficients, is equivalent to calculating
them with the set constant term subtracted from both sides of the equation.
Hence, you force the intercept = 0.

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Rabrams" wrote:

It seems Excel presents two options for working with regression constants in
Excel:

-Excel sets the constant

-Constant = zero


Does anyone know of a way to constrain the constant and get Excel to
calculate a slope?

For example, what would the slope of this array be, given the constant = 1000?

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flagging constants [email protected] Excel Worksheet Functions 2 April 3rd 06 07:42 PM
Manifest Constants in VBA Bill Martin Excel Discussion (Misc queries) 4 September 20th 05 04:27 AM
vba constants for excel diver Excel Discussion (Misc queries) 2 August 25th 05 07:51 PM
More than 2 constants in Index Ashley Excel Worksheet Functions 1 February 11th 05 06:56 AM
constants Confused Excel Discussion (Misc queries) 3 December 2nd 04 05:05 PM


All times are GMT +1. The time now is 12:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"