dt = Open( "$SAMPLE_DATA/Big Class.jmp" ) ;
biv = dt << Bivariate( X( height ), Y( weight ), Fit Line );
•
|
Right-click a gray disclosure icon and select Edit > Show Tree Structure.
|
The parameter estimates are contained in NumberColBox(13). Continue with the script as follows:
colBox = Report( biv )[Number Col Box( 13 )];
beta = colBox << Get As Matrix;
[-127.145248610915, 3.711354893859555]
•
|
When a variable contains a reference to a table box, Get As Matrix() creates a matrix A that contains the values from all numeric columns in the table:
|
A = tableBox << Get As Matrix;
•
|
When a variable contains a reference to a numeric column in a report table, Get As Matrix() creates a matrix A as a column vector of values from that column.
|
A = colBox << Get As Matrix;