Generating Factor Variables for Asymmetry, Non-independence and Skew-symmetry Models in Square Contingency Tables using SAS
In this paper, a SAS program (macro) is written to generate factor and regression variables required for implementing asymmetry, non-independence, non-symmetry + independence models as well as skew-symmetry models in discussed in square a x a contingency tables having nominal or ordinal categories. While several authors have developed similar factor variables for use with GLIM, we have extended this to the non-independence and the non-symmetry+independence models. The former includes both the fixed and variable distance models as well as the quasi-ordinal symmetry model. Further, our implementation of the asymmetry model in terms of the required factor variable is different from those defined for implementation of same in GLIM. Most of the models described in this paper however assume ordinal categories for the contingency table. The SAS macro developed can be applied to any square table of dimension a. We apply the models discussed in this paper to the 5 x 5 Danish mobility data that have been widely analyzed in various literatures.
References listed on IDEAS
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:
- Agresti, Alan, 1983. "A simple diagonals-parameter symmetry and quasi-symmetry model," Statistics & Probability Letters, Elsevier, vol. 1(6), pages 313-316, October.
- H. Lawal & G. Upton, 1990. "Alternative interaction structures in square contingency tables having ordered classificatory variables," Quality & Quantity: International Journal of Methodology, Springer, vol. 24(2), pages 107-127, May.
When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:07:i08. See general information about how to correct material in RePEc.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum)
If references are entirely missing, you can add them using this form.