cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
rainwang
Level I

How to get the bivariate regression results without plot the chart

I have one data table with column X and Y, fit Y by X.

I only what to get the fit results like the coefficent and the intercept without drawing a chart.

who knows how to do it?

11391_pastedImage_0.png

5 REPLIES 5
txnelson
Super User

Re: How to get the bivariate regression results without plot the chart

Use the Fit Model platform, rather than the Fit Y by X, and using the options under the Red Triangle, you will be able to unselect all of the unwanted components, including the plot

11394_pastedImage_0.png

11395_pastedImage_1.png

Jim
rainwang
Level I

Re: How to get the bivariate regression results without plot the chart

Hi, Jim

Thank you! it is helpful!

Re: How to get the bivariate regression results without plot the chart

Another option to separate the parameter estimates from the report is to right click anywhere in the Parameter Estimates and select "Make into Data Table"

XanGregg
Staff

Re: How to get the bivariate regression results without plot the chart

Another option is to launch the analysis in "invisible" mode and then query the report for the values you want to extract using display box subscripting:

biv = Bivariate( Y( :weight ), X( :height ), Fit Polynomial(2), Invisible);

rep = Report(biv);

//all = rep["Parameter Estimates"][TableBox(1)] <<Get As Matrix;

pe = rep["Parameter Estimates"][Number Col Box("Estimate")] <<Get As Matrix;

biv << Close();

show(pe);

rainwang
Level I

Re: How to get the bivariate regression results without plot the chart

It's cool. It is what I want, thank you so much!

Recommended Articles