cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
robot
Level VI

No R^2 Value for Linear Fit

Hi,

I have a data set with 2 rows of data.  If I run Fit Special and constrain intercept = 0, no R^2 value is reported.  If I have 2 data points and only 1 degree of freedom (slope), should I get an R^2 value, or am I missing something?

 

I am using JMP12.2.  Thanks!

 

dt = New Table( "Data",
	Add Rows( 2 ),
	New Column( "x", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [1, 2] ) ),
	New Column( "y", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [1.1, 2.1] ) )
);
dt << Bivariate( Y( :y ), X( :x ), Fit Special( Intercept( 0 ) ) );

 

1 ACCEPTED SOLUTION

Accepted Solutions
robot
Level VI

Re: No R^2 Value for Linear Fit

1 REPLY 1
robot
Level VI

Re: No R^2 Value for Linear Fit

Nevermind.  I found my answer here: http://freakonometrics.hypotheses.org/2343.