Subscribe Bookmark RSS Feed

How to get the bivariate regression results without plot the chart

rainwang

Community Trekker

Joined:

Apr 21, 2016

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
txnelson

Super User

Joined:

Jun 22, 2012

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

Community Trekker

Joined:

Apr 21, 2016

Hi, Jim

Thank you! it is helpful!

billw_jmp

Staff

Joined:

Jul 2, 2014

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

Joined:

Jun 23, 2011

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

Community Trekker

Joined:

Apr 21, 2016

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