Thanks ever so much MS! I see that it is a rather tought thing for a beginner to come up to. I have looked for information in Just one final question, if you will allow me. Is it posible to do that to include other variables?. So for two variables (in this case BMI and BP), I manage to generate the distribution report and normal fitting, but the "extension" of the quantiles is only appended for the first variable. I see that "mu" and "sigma" are given the values for the first variable and the second variable is not included. I don`t seem to find the appropriate information in the scripting guide. dt = Open ( "$SAMPLE_DATA/Diabetes.jmp" ) ; dist = dt << Distribution ( Stack( 1 ) , Column ( : BMI ) , Horizontal Layout( 1 ) , Vertical( 0 ) , Outlier Box Plot( 0 ) , Normal Quantile Plot( 1 ) , Fit Distribution( Normal( Goodness of Fit( 1 ) ) ) , CV( 1 ) , Minimum ( 1 ) , Maximum ( 1 ) , Interquartile Range( 1 ) ) , Column ( : BP ) , Horizontal Layout( 1 ) , Vertical( 0 ) , Outlier Box Plot( 0 ) , Normal Quantile Plot( 1 ) , Fit Distribution( Normal( Goodness of Fit( 1 ) ) ) , CV( 1 ) , Minimum ( 1 ) , Maximum ( 1 ) , Interquartile Range( 1 ) ) ; rdist = dist << report ; p = [ 0.99 0.95 0.90 0.75 0.5 0.25 0.10 0.05 0.01 ] ; {mu , sigma} = rdist[ Number Col Box ( "Estimate" )] << get ; q = Normal Quantile ( p , mu , sigma ) ; rdist[ Outline Box ( "Parameter Estimates" )] << append ( Table Box ( Number Col Box ( "Percentile" , p ) , Number Col Box ( "Quantile" , q ) ) ) ;
... View more