Subscribe Bookmark RSS Feed

Adding Regression estimates to data table

asvp

Community Trekker

Joined:

Jun 23, 2011

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

);

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

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;

2 REPLIES
Solution

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;

asvp

Community Trekker

Joined:

Jun 23, 2011

Hi MS,

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

Regards,

ASVP