cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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.

Recommended Articles