TPATTERN Subcommand (MVA command)

The TPATTERN subcommand displays a tabulated patterns table, which lists the frequency of each missing value pattern. The variables in the variables list form the columns. Each pattern of missing values forms a row, and the frequency of the pattern is displayed.

  • An X is used to indicate a missing value.
  • The rows are sorted to minimize the differences between missing patterns of consecutive cases.
  • The columns are sorted according to missing patterns of the variables.

The following keywords are available:

NOSORT. Suppress the sorting of the columns. The order of the variables in the variables list is used. If ALL was used in the variables list, the order is that of the data file.

DESCRIBE=varlist. Display values of variables for each pattern. Categories for each named categorical variable form columns in which the number of each pattern of missing values is tabulated. For quantitative variables, the mean value is listed for the cases having the pattern.

PERCENT=n . Omit patterns that describe less than 1% of the cases. You can specify a percentage from 0 to 100. The default is 1, indicating the omission of any pattern representing less than 1% of the total cases. If you specify 0, all patterns are displayed.

Example

MVA VARIABLES=populatn density urban religion lifeexpf region
  /CATEGORICAL=region
  /TPATTERN NOSORT DESCRIBE=populatn region.
  • Missing value patterns are tabulated. Each row displays a missing value pattern and the number of cases having that pattern.
  • DESCRIBE causes the mean value of populatn to be listed for each pattern. For the categories in region, the frequency distribution is given for the cases having the pattern in each row.