There are several different functions and methods available in R to compute statistics or, more generally, apply functions to groups of observations within a data set. The tapply() function is one…
In this video we return to the FEV Example and show how the OUTPUT statement, in conjunction with a Sum statement, can be used to compute and store posttest-pretest differences even when the posttest…
A common use of PROC MEANS is to produce statistics for each by group and write those results to an output dataset so that they can be analyzed further. This video considers an example of this sort…