hi, thanks very much for the equation. its exactly what i was looking for! thanks :)

anthony

[EMAIL PROTECTED] (Jon Cryer) wrote in message 
news:<[EMAIL PROTECTED]>...
> Anthony:
> 
> You can't do it "after the fact." If you want the intercept to be 5 (say), 
> subtract 5 from all
> of your response (y) values. Then regress these new response values on your 
> predictor (explanatory)
> variable(s) but using the no intercept (or no constant) option in your 
> regression software.
> 
> In the case of a single predictor variable, the formula for the least 
> squares slope is just
> slope = Sum[(y-5)*x}/Sum[x^2} where I am assuming a fixed intercept of 5.
> 
> By the way, if you are using Excel you are out of luck. I am told that 
> Excel is not programmed
> to do least squares with no intercept.
> 
> Hope this helps.
> 
> Jon Cryer
>
.
.
=================================================================
Instructions for joining and leaving this list, remarks about the
problem of INAPPROPRIATE MESSAGES, and archives are available at:
.                  http://jse.stat.ncsu.edu/                    .
=================================================================

Reply via email to