IDEAS home Printed from
MyIDEAS: Login to save this article or follow this journal

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

  • H. Bayo Lawal
  • Richard A. Sundheim
Registered author(s):

    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.

    If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

    File URL:
    File Function: link to download full text
    Download Restriction: no

    Article provided by American Statistical Association in its journal Journal of Statistical Software.

    Volume (Year): 07 ()
    Issue (Month): i08 ()

    in new window

    Handle: RePEc:jss:jstsof:07:i08
    Contact details of provider: Web page:

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

    as in new window
    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)

    This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.

    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 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 references are entirely missing, you can add them using this form.

    If the full references list an item that is present in RePEc, but the system did not link 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 profile, as there may be some citations waiting for confirmation.

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

    This information is provided to you by IDEAS at the Research Division of the Federal Reserve Bank of St. Louis using RePEc data.