Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: variable name


From   "Qiang (Danny) Chen" <[email protected]>
To   <[email protected]>
Subject   st: variable name
Date   Mon, 4 May 2009 11:39:49 -0400

Dear Stata users:

I have a simple question here. When I use xi (Interaction expansion), I got the following report. I am wondering if there is a way to keep the original snp names. For example:

_Irs1Xrs~1_1  ==> _Irs1234567_1Xrs7654321_1


Thanks! 

xi: logit case sex i.rs1234567*i.rs7654321, or

------------------------------------------------------------------------------
        case | Odds Ratio   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         sex |   .2390816   .0457164    -7.48   0.000     .1643547    .3477845
_Irs123456~1 |   .2017002   .2995979    -1.08   0.281      .010974    3.707226
_Irs123456~2 |   .1621226   .2412076    -1.22   0.221     .0087784    2.994125
_Irs765432~1 |   .6244084   .9455679    -0.31   0.756     .0320966    12.14728
_Irs765432~2 |   .2035963   .3072363    -1.05   0.292     .0105747    3.919879
_Irs1Xrs~1_1 |   2.363021   3.757366     0.54   0.589     .1047126    53.32569
_Irs1Xrs~1_2 |   7.389233   11.69742     1.26   0.206     .3319834    164.4683
_Irs1Xrs~2_1 |   2.471199   3.926579     0.57   0.569     .1097495    55.64331
_Irs1Xrs~2_2 |    6.57177   10.37793     1.19   0.233     .2975032    145.1687
------------------------------------------------------------------------------

Qiang (Danny) Chen, Ph.D.
NIMH, NIH



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index