BookmarkSubscribe
Choose Language Hide Translation Bar
asvp
Community Trekker

Adding Regression estimates to data table

Hi all,

What changes do I need to make to the below JMP script to add "estimates"(Intercept and slope) to the data table?

Thanks,

ASVP

dt = open("rawdata.jmp");

obj = Fit Model(

    Y( :OUTPUT ),

    Effects( :INPUT ),

    Personality( Standard Least Squares ),

    Emphasis( Minimal Report ),

    By( :TYPE ),

    Run

);

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User ms
Super User

Adding Regression estimates to data table

When using the By() property the message <<make combined data table is convenient.

For your example the commands below should yield a new table with the parameter estimates and accociated statistics. 

robj = obj << report;

robj[1]["Parameter Estimates"][1] << make combined data table;

0 Kudos
2 REPLIES 2
ms
Super User ms
Super User

Adding Regression estimates to data table

When using the By() property the message <<make combined data table is convenient.

For your example the commands below should yield a new table with the parameter estimates and accociated statistics. 

robj = obj << report;

robj[1]["Parameter Estimates"][1] << make combined data table;

0 Kudos
asvp
Community Trekker

Adding Regression estimates to data table

Hi MS,

This is exactly what I was looking for, thanks for your help.

Regards,

ASVP

0 Kudos