cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

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