Extracting slope from Fit SpecialI have two variables X & Y that I fitted a line with the y - intercept constrained to 0.
I need the slope value from this line for a subsequent calculation.
Is there anyway to save this slope value in a column so that I can use it for the subsequent calculation.
Bivariate(
Y( :Y ),
X( :X ),
Fit Special( Intercept( 0 ),
Data TableScriptingRe: Extracting slope from Fit SpecialIf you are just trying to find the coefficients while working interactively you can look in the 'Parameter Estimates' table inside the Bivariate fit platform. If you want to pull this out with a script, there are a few options, one is to turn that Parameter Estimates table into a data table and get it from there:

Names Default To Here( 1 );
//Sample data
dt = Open("$Sample_data/iris.jmp");
//Fit line
bv = dt << Bivariate(
Y( :Sepal length ),
X( :Sepal width ),
Fit Special( Intercept( 0 ), {Line Color( {212, 73, 88} )} )
);
Wait( 0 );
//Save estimates to a table
dtEstimates = Report( bv )[Outline Box( "Bivariate Fit of Sepal length By Sepal width" )][
Outline Box( "Linear Fit" )][Outline Box( "Parameter Estimates" )][Table Box( 1 )]
<< Make Into Data Table;
// Pull estimate out of data table
dtEstimates:Estimate[dtEstimates << Get Rows Where(:Term == "Sepal width")][1];
// Clean up
// Report( bv ) << Close Window;
// dtEstimates << Close Window;