@ileshem ,
Col Mean() - if you want to use the column
Mean() - if you want to use the matrix or a separate variable
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Randomly( 0.3 );
dt1 = dt << Subset(Selected Rows( 1 ), selected columns( 0 ));
Res = Col Mean(dt1:age);
Show(Res);
Best
Uday