/*=====================================================================*/ /* probability and quantile functions for standard normal distribution */ /*=====================================================================*/ data one; pleft = cdf('normal', 1.04); pright = 1 - cdf('normal', 1.04); z0 = probit(0.95); proc print data = one; run; /*=======================================================*/ /* probability and quantile functions for t distribution */ /*=======================================================*/ data two; pleft = cdf('t', 3.747, 4); pright = 1 - cdf('t', 3.747, 4); t0 = tinv(0.95, 5); proc print data = two; run; /*=======================================================*/ /* probability and quantile functions for F distribution */ /*=======================================================*/ data three; pright = 1 - cdf('F', 1.54, 12, 10); f0 = finv(0.95, 10, 30); proc print data = three; run; /*=================================================================*/ /* probability and quantile functions for chi-squared distribution */ /*=================================================================*/ data four; pright = 1 - cdf('chisquare', 19.68, 11); c0 = cinv(0.95, 10); proc print data = four; run;