IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v007i08.html
   My bibliography  Save this article

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

Author

Listed:
  • Lawal, H. Bayo
  • Sundheim, Richard A.

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.

Suggested Citation

  • Lawal, H. Bayo & Sundheim, Richard A., 2002. "Generating Factor Variables for Asymmetry, Non-independence and Skew-symmetry Models in Square Contingency Tables using SAS," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 7(i08).
  • Handle: RePEc:jss:jstsof:v:007:i08
    DOI: http://hdl.handle.net/10.18637/jss.v007.i08
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v007i08/generate.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v007i08/MulSubSel_3_.sas.txt
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v007.i08?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. 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.
    2. Agresti, Alan, 1983. "A simple diagonals-parameter symmetry and quasi-symmetry model," Statistics & Probability Letters, Elsevier, vol. 1(6), pages 313-316, October.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Bayo Lawal, 2008. "On fitting the conditional difference asymmetry models to square contingency tables with nominal categories," Quality & Quantity: International Journal of Methodology, Springer, vol. 42(5), pages 605-612, October.
    2. H. Lawal, 2004. "Review of Non-Independence, Asymmetry, Skew-Symmetry and Point-Symmetry Models in the Analysis of Social Mobility Data," Quality & Quantity: International Journal of Methodology, Springer, vol. 38(3), pages 259-289, June.
    3. Bayo Lawal & Richard Sundheim, 2014. "Double symmetry model and its decompositions in square contingency tables having ordered categories," Quality & Quantity: International Journal of Methodology, Springer, vol. 48(4), pages 1995-2005, July.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. H. Lawal, 2004. "Review of Non-Independence, Asymmetry, Skew-Symmetry and Point-Symmetry Models in the Analysis of Social Mobility Data," Quality & Quantity: International Journal of Methodology, Springer, vol. 38(3), pages 259-289, June.
    2. H. Bayo Lawal, 2003. "The Structure of the Log Odds-Ratios in Non-Independence and Symmetry Diagonal Models for Square Contingency Tables," Quality & Quantity: International Journal of Methodology, Springer, vol. 37(2), pages 111-134, May.
    3. Anna Klimova & Tamás Rudas, 2012. "Coordinate-free analysis of trends in British social mobility," Journal of Applied Statistics, Taylor & Francis Journals, vol. 39(8), pages 1681-1691, January.
    4. Kouji Tahata, 2012. "Quasi-asymmetry model for square tables with nominal categories," Journal of Applied Statistics, Taylor & Francis Journals, vol. 39(4), pages 723-729, August.
    5. repec:jss:jstsof:07:i08 is not listed on IDEAS
    6. Sadao Tomizawa & Nobuko Miyamoto & Kouji Yamamoto, 2006. "Decomposition for polynomial cumulative symmetry model in square contingency tables with ordered categories," Metron - International Journal of Statistics, Dipartimento di Statistica, Probabilità e Statistiche Applicate - University of Rome, vol. 0(3), pages 303-314.
    7. Kateri, Maria & Agresti, Alan, 2007. "A class of ordinal quasi-symmetry models for square contingency tables," Statistics & Probability Letters, Elsevier, vol. 77(6), pages 598-603, March.
    8. Klimova, Anna & Rudas, Tamás, 2022. "Hierarchical Aitchison–Silvey models for incomplete binary sample spaces," Journal of Multivariate Analysis, Elsevier, vol. 187(C).
    9. Rolf Aaberge & Li-chun Zhang, 2005. "A class of exact UMP unbiased tests for conditional symmetry in small-sample square contingency tables," Journal of Applied Statistics, Taylor & Francis Journals, vol. 32(4), pages 333-340.
    10. Yamamoto, Kouji & Murakami, Hidetoshi, 2014. "Model based on skew normal distribution for square contingency tables with ordinal categories," Computational Statistics & Data Analysis, Elsevier, vol. 78(C), pages 135-140.
    11. Alan Agresti, 1995. "Logit Models and Related Quasi-Symmetric Log-Linear Models for Comparing Responses to Similar Items in a Survey," Sociological Methods & Research, , vol. 24(1), pages 68-95, August.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:007:i08. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.