That works but I can't use it in matrix form for what I'm trying to do. My goal is to output the mean and Std deviation of a height by the female population in a variables. I then use those variables for a calculated reference line. By population changes constantly and having a reference line that is dynamic is handy. Here is my example.
DTData = Open( "$SAMPLE_DATA/Big Class.jmp" );
Summarize( sigma = Std Dev( :height ), avg = Mean( :height ) );
siglow = avg - sigma;
sighigh = avg + sigma;
Variability Chart(
Y( xx ),
X( :yyy, :zzz ),
Max Iter( 100 ),
Conv Limit( 0.00000001 ),
Number Integration Abscissas( 128 ),
Number Function Evals( 65536 ),
Analysis Type( Name( "Choose best analysis (EMS REML Bayesian)" ) ),
Connect Cell Means( 1 ),
Show Group Means( 1 ),
Std Dev Chart( 0 ),
Points Jittered( 1 ),
AIAG Labels( 0 ),
Dispatch(
{},
"2",
ScaleBox,
{Format( "Best" ), Add Ref Line(
Eval( siglow ),
dotted,
{178, 0, 0},
"Height Female -1 sigma"
), Add Ref Line( Eval( sighigh ), dotted, {178, 0, 0}, "Height Female +1 sigma" ),
Add Ref Line( Eval( avg ), solid, {255, 0, 0}, "mean height female" ),
Show Major Grid( 1 ), Show Minor Grid( 1 )}
),
Where( :what == "why" )
);