*Paired data from lecture 2; ods graphics on; data mice plots; *Generates four default plots for paired design--summary, profiles, agreement and qq; input control treatment @@; * @@ allows us to enter more than two values on each line; datalines; 1.321 0.841 1.423 0.932 2.682 2.011 0.934 0.762 1.230 0.991 1.670 1.120 3.201 2.312 ; proc ttest h0=0 alpha=0.01 sides=u; * sides=L for Ha: mu_D<0 or sides=2 for two-sided; paired control*treatment; run; ods graphics;