874
874
res=calc_ttest(dv,bm);
875
875
// not a permutation test, save everything
876
876
if (permcount<2) {
877
tmap.SetValue(i,j,k,res.first);
879
pmap.SetValue(i,j,k,res.first);
880
zmap.SetValue(i,j,k,res.second);
877
tmap.SetValue(i,j,k,res.t);
879
pmap.SetValue(i,j,k,res.p);
880
zmap.SetValue(i,j,k,res.z);
882
882
// perm test with welch's, convert to z
883
883
else if (mystat==id_welchs) {
885
zmap.SetValue(i,j,k,res.second);
885
zmap.SetValue(i,j,k,res.z);
887
887
// perm test with regular t-test, save t value
888
888
else if (mystat==id_ttest) {
889
tmap.SetValue(i,j,k,res.first);
889
tmap.SetValue(i,j,k,res.t);