* FairCoin3 Example; * Perform a one-sample t-test for testing whether the proportion of heads is 0.5; options linesize=70 nodate pageno=1; data flips; input flip count; datalines; 0 29 1 21 ; proc ttest H0=0.5 alpha=0.05; freq count; var flip; run; quit;