af2a44c6_l__Variance_Estimation__Task_3_SUDAAN_proc_descript_procedure_Explanation
[Statements] Output atlev1=numstrat atlev2=numpsu mean=mean semean=semean NSUM=N deffmean / filetype=SAS filename=test1 replace; [Explanation] 
Use the output statement to request output of results to a SAS data file (filetype=SAS) called test1 (filename=test1). Use a replace statement to replace this file each time this program is run and updated with the latest results. Use an atlev1 option to create the SAS data variable, numstrat, with the value obtained from counting the number of strata in each subdomain requested with at least one valid observation. Use an atlev2 option to create a SAS variable, numpsu, with the value obtained from counting the number of PSU's in each subdomain requested with at least one valid observation. Use the mean option to output the mean to the SAS data set. In this example, the mean is the percent of individuals at each level with high blood pressure. Use the semean option to output the standard error of the mean estimated above to the SAS dataset. Use the nsum option to create the variable N in the SAS dataset which gives the number of observations in each level in each subdomain requested in the table statement. Use the deffmean option to output the design effect for each subdomain requested.
Continuous NHANES Web Tutorial: Variance Estimation: Task 3
Explanation