R2 values for reduced major axis regression in spss

Brand

New Member
#1
Good day!

I need to do reduced major axis regression in SPSS, and I am using the Constrained Non-Linear Regression procedure for this (my syntax looks something like this):

MODEL PROGRAM A=1 B=1.
COMPUTE PRED=A+B*X.
COMPUTE LOSS=((Y-PRED)**2)/ABS(B).
CNLR Y /LOSS=LOSS.

with Y as dependant variable and X as predictor.

I have figured out how to get 95% confidence intervals for the parameters determined, but I need to determine the R2 value as well. How do I do this?

Regards, and thank you in advance
Brand