void page7() { String t = "Conclusion"; textFont(myboldfont, 18); text(t, 30, 194); textFont(myfont, 18); if (p<0.05) { t = "Since the p-value < 0.05, we reject Ho. Therefore, we can conclude that the average " + aStudy.obj + " is " + aStudy.relation + " " + nf(aStudy.muo, 1, 2) + " " + aStudy.unit +"."; } else { t = "Since the p-value > 0.05, we don't have sufficient evidence to reject Ho. Therefore, we can not conclude that the average " + aStudy.obj + " is " + aStudy.relation + " " + nf(aStudy.muo, 1, 2) + " " + aStudy.unit+"."; } drawStrings(t, 80, 244, 25); bg.setVisible(false); bl.setVisible(false); bd.setVisible(false); }