Linear Regression by set Slope (not intercept)
Since you did not proofread your note, your question is less than clear.
If you want to force a regression through an intercept of 1 (as you note
says), then subtract 1 from all y-values and force the intercept through 0.
If you want to force a regression to have a slope of 1 (as your subject
implies), then use AVERAGE(yData-xData) for the intercept. This is an array
formula that must be array entered (Ctrl-Shift-Enter).
Jerry
"Ben" wrote:
Hi Guys
is there a way in excel to get the linear regression function to
specify a function based on a set intercept (say =1), instead of a set
intercept.
I believe this ability should have been included in excel from day 1.
|