cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

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