This sample combines macro programming with PROC FREQ and DATA Step logic to count the number of missing and non-missing values for every variable in a data set. The results are stored in a data set.
This sample illustrates one method of counting the number of missing and non-missing values for each variable in a data set. Two methods for structuring the resulting data set are shown.
E. Reshetnyak, H. Cham, and J. Hughes. Multivariate behavioral research, 51 (6):
871-876(August 2016)Anàlisi de dades; Marginal structural models; Introductori.