EconPapers    
Economics at your fingertips  
 

Generating Factor Variables for Asymmetry, Non-independence and Skew-symmetry Models in Square Contingency Tables using SAS

H. Bayo Lawal and Richard A. Sundheim

Journal of Statistical Software, 2002, vol. 007, issue i08

Abstract: 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.

Date: 2002-09-03
References: View complete reference list from CitEc
Citations: View citations in EconPapers (3)

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v007i08/generate.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... MulSubSel_3_.sas.txt

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:007:i08

DOI: 10.18637/jss.v007.i08

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:007:i08