Hello,
I am running a linear regression on some data I have, with the model passing through the origin - ie. no constant.
I have plotted the data as scatterplots in Excel and added a trend line with a 0 intercept (a justifiable approach in the ecological research I am doing).
I have also run regression on the data in Stata and Excel using the noconst function to run the regression with a 0 intercept.
The r2 values that Stata and Excel give for the linear regression analysis are always much higher than those that appear when I "show r2 value" on the Excel graph. Considering the data, it is the lower graph r2 values that look more appropriate.
Would anyone be able to help with a reason for why these values are different, suggest which ones are the correct value or have another solution that will allow me to run the regression and gain correct r2 and significance values?
Usually I would avoid Excel entirely for such analysis other than having a very quick look at the data, but, this time I feel it may have flagged up an important issue.
Any help would be much appreciated,
Many thanks
I am running a linear regression on some data I have, with the model passing through the origin - ie. no constant.
I have plotted the data as scatterplots in Excel and added a trend line with a 0 intercept (a justifiable approach in the ecological research I am doing).
I have also run regression on the data in Stata and Excel using the noconst function to run the regression with a 0 intercept.
The r2 values that Stata and Excel give for the linear regression analysis are always much higher than those that appear when I "show r2 value" on the Excel graph. Considering the data, it is the lower graph r2 values that look more appropriate.
Would anyone be able to help with a reason for why these values are different, suggest which ones are the correct value or have another solution that will allow me to run the regression and gain correct r2 and significance values?
Usually I would avoid Excel entirely for such analysis other than having a very quick look at the data, but, this time I feel it may have flagged up an important issue.
Any help would be much appreciated,
Many thanks
Comment