PC Review


Reply
Thread Tools Rate Thread

Constraining Constants w Regression

 
 
=?Utf-8?B?UmFicmFtcw==?=
Guest
Posts: n/a
 
      20th Aug 2007
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?V2lnaQ==?=
Guest
Posts: n/a
 
      20th Aug 2007
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

 
Reply With Quote
 
=?Utf-8?B?UmFicmFtcw==?=
Guest
Posts: n/a
 
      20th Aug 2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Constraining Drag & Drop Evan Stone Microsoft C# .NET 3 13th Sep 2005 09:33 PM
Constraining Drag & Drop Evan Stone Microsoft VB .NET 3 13th Sep 2005 09:33 PM
Restricting or constraining parameters Mark Broadbent Microsoft C# .NET 15 3rd Sep 2004 01:50 AM
integer constants used with string constants Eric Newton Microsoft Dot NET Framework 3 14th Jan 2004 05:05 AM
Constraining arrows to data Kurt Strominger Microsoft Powerpoint 0 24th Oct 2003 04:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:46 AM.