*Copyright @ www.mycsg.in;


Numeric Functions to Analyze Variables in SAS

Function Definition
N The N function counts the number of numeric variables with non-missing values in a list of variables. This is useful for determining how many values are available for analysis.
NMISS The NMISS function counts the number of numeric variables with missing values in a list of variables. This helps in identifying incomplete data.
SUM The SUM function calculates the sum of non-missing numeric values in a list of variables. Missing values are ignored.
MEAN The MEAN function calculates the average of non-missing numeric values in a list of variables. The denominator is the count of non-missing values.
MIN The MIN function returns the smallest non-missing value from a list of numeric variables.
MAX The MAX function returns the largest non-missing value from a list of numeric variables.

Create sample data

Examples for N Function

Examples for NMISS Function

Examples for SUM Function

Examples for MEAN Function

Examples for MIN Function

Examples for MAX Function

%convert_sas_to_html_format_002;