The following script performs multiple t-tests on multiple Y columns using the Oneway platform.
As called in this script, the t-test assumes equal variance but I would like to force this script to perform this t-test assuming unequal variance.
Could you help figure out how to do that?
dt = Open ("File");
m = [];
For(i=8,i<=N Col (dt),i++,
ow = Oneway( Y( Column( i ) ), X( :Disease ), t Test( 1 ), invisible );
owr = Report (ow);
m = m || owr["t Test"][Number Col Box( 4 )][1];
);
New Table( "t-tests", New Column( "p", numeric, set values( m ) ) );