Subscribe Bookmark RSS Feed

No R^2 Value for Linear Fit

robot

Community Trekker

Joined:

Feb 27, 2012

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

Community Trekker

Joined:

Feb 27, 2012

Solution

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

1 REPLY
robot

Community Trekker

Joined:

Feb 27, 2012

Solution

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