IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s337701.html
 

CONTRAST: Stata module to calculate contrasts between factor levels

Author

Listed:
  • Patrick Royston

    (Royal Postgraduate Medical School)

Programming Language

Stata

Abstract

contrast calculates contrasts between factor levels or groups of continuous data. The command has two forms. the first form of contrast permits arbitrarily complex analysis of variance or analysis of covariance models, whereas the second form and contrasi (the immediate form) only support one-way analysis of variance models. In all cases the contrast coefficients are `standardized' inside the program by subtraction of their mean, so as to add up to zero. These standardized coefficients are displayed as __a in the output. The output includes a confidence interval for L, a significance test for the hypothesis L = 0, an overall analysis of variance F-test that the group (or fac1) means are equal and the residual standard deviation from the analysis of variance.

Suggested Citation

  • Patrick Royston, 1998. "CONTRAST: Stata module to calculate contrasts between factor levels," Statistical Software Components S337701, Boston College Department of Economics.
  • Handle: RePEc:boc:bocode:s337701
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/c/contrast.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/contrast.hlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/contrasi.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/contrasi.hlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/a/aov1cont.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/a/aov1cont.hlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/_/_jprcout.ado
    File Function: program code
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    Stata;

    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:boc:bocode:s337701. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: https://edirc.repec.org/data/debocus.html .

    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.