Hi,
I would like to get t-test results for a data series. I am attempting to do this by creating a report for the Oneway platform and then make the t-test result into a combined data table. However, I seem unable to get the syntax correct. Note: when selecting the Display Box for t-test, I would like to use the subscript name rather than a number, because in my final script, the number may vary. Any suggestions? Is there a better way to do this?
Also, in general, I always seem to encounter similar difficulties when trying to extract data from display trees. Can anyone recommend some general tips or tricks for extracting data from display trees?
Thanks!
Example
Names Default To Here( 1 );
bigClass = Open( "$SAMPLE_DATA/Big Class.jmp" );
one = bigClass << Oneway(
Y( :height ),
X( :sex ),
By( :Age ),
All Graphs( 0 ),
Means and Std Dev( 1 ),
t Test( 1 ),
Plot Quantile by Actual( 1 ),
Line of Fit( 0 ),
Box Plots( 1 ),
Mean Lines( 1 ),
Mean Diamonds( 1 ),
Mean Error Bars( 1 ),
Std Dev Lines( 1 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 )
);
rone = one[1] << Report;
rone["t Test"] << Make Combined Data Table; //What is the correct syntax here?