If the numerator of your fraction is BuyingClients and if the denominator of your fraction is TotalClients, the following PROC FREQ syntax may get you what you want: proc freq data=herding; tables BuyingClients / Binomial (p=0.50) alpha=0.05; exact binomial; weight TotalClients; run; However, note that TotalClients EXCLUDES those with STVOL=0. If a sizable proportion of your clients do have STVOL=0, then even though the number of TotalClients exceeds the number of BuyingClients, your results may be inaccurate.
... View more