void page6() { String t = "Step 5 - Conclusion"; textFont(myboldfont, 18); text(t, 30, 170); textFont(myfont, 18); if (pvalue<0.05) { t = "Since the p-value < 0.05, we reject Ho. Therefore, we can conclude that the population proportion that " + aStudy.obj2 + " is " + aStudy.relation + " " + + int(100*aStudy.p) + "%."; } else { t = "Since the p-value > 0.05, we don't have sufficient evidence to reject Ho. Therefore, we can not conclude that the population proportion that " + aStudy.obj2 + " is " + aStudy.relation + " " + + int(100*aStudy.p) + "%."; } drawStrings(t, 30, 200, 25); t = "THE END. Click the right arrow for a new problem"; text(t, 150, 450); }