Categorical and Discrete Data Analysis

STATISTICS IN THE TWO-WAY CONTINGENCY TABLE

ROUTINE DESCRIPTION
CTTWO Performs a chi-squared analysis of a 2 by 2 contingency table.
CTCHI Performs a chi-squared analysis of a two-way contingency table.
CTPRB Computes exact probabilities in a two-way contingency table.
CTEPR Computes Fisher's exact test probability and a hybrid approximation to the Fisher exact test probability for a contingency table using the network algorithm.
 

LOG-LINEAR MODELS

ROUTINE DESCRIPTION
PRPFT Performs iterative proportional fitting of a contingency table using a log-linear model.
CTLLN Computes model estimates and associated statistics for a hierarchical log-linear model.
CTPAR Computes model estimates and covariances in a fitted log-linear model.
CTASC Computes partial association statistics for log-linear models in a multidimensional contingency table.
CTSTP Builds hierarchical log-linear models using forward selection, backward selection, or stepwise selection.
 

RANDOMIZATION TESTS

ROUTINE DESCRIPTION
CTRAN Performs generalized Mantel-Haenszel tests in a stratified contingency table.
 

GENERALIZED CATEGORICAL MODELS

ROUTINE DESCRIPTION
CTGLM Analyzes categorical data using logistic, Probit, Poisson, and other generalized linear models.
 

WEIGHTED LEAST SQUARES ANALYSIS

ROUTINE DESCRIPTION
CTWLS Performs a generalized linear least-squares analysis of transformed probabilities in a two-dimensional contingency table.