I often need to plot out the mean/sum of a continuous variable (Y) against the buckets of another continuous variable (X), by a third grouping variable (Z). Note that the big datasets are typically huge; it is impractical to scatter plot every point. That's why we need to group X into buckets and calculate bucket means first for the plots. We can do it by using proc rank on X first then calculate buckets for X and Y. But I am wondering if any SAS plot procs can do this automatically. Thanks.
... View more