Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: outreg2, stcox and falsely reported p-levels


From   "Anders Gaarsdal Holst" <[email protected]>
To   [email protected]
Subject   st: outreg2, stcox and falsely reported p-levels
Date   Wed, 5 Mar 2008 10:39:40 +0100

Dear Stata-list,

I'm trying to use outreg2 to output a table with the results from a
stcox regression:

My stcox command produces the following output:
------------------------------------------------------------------------------
          _t | Haz. Ratio   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         kon |   1.106943   .0807076     1.39   0.163     .9595415    1.276987
     _Ibmi_2 |   1.493003   .1192517     5.02   0.000      1.27665     1.74602
     _Ibmi_3 |    2.00375   .2025352     6.88   0.000     1.643636    2.442763
     _Ibmi_4 |   2.559645    .380929     6.32   0.000     1.912067    3.426545
     _Itob_2 |   1.080184   .1113466     0.75   0.454     .8825821    1.322028
     _Itob_3 |   1.337429   .1366217     2.85   0.004     1.094758    1.633891
     _Itob_4 |   1.361345   .1463528     2.87   0.004     1.102704    1.680651
     _Itob_5 |   1.550113   .2268824     2.99   0.003     1.163529     2.06514
 _Ifys_fri_1 |   .9226896   .1066162    -0.70   0.486     .7356984    1.157208
 _Ifys_fri_2 |   .8152261    .083243    -2.00   0.045     .6673622    .9958515
 _Ifys_fri_3 |   .6988283   .0816993    -3.07   0.002     .5557217    .8787869
 _Ifys_fri_4 |   .9412778   .1861619    -0.31   0.760     .6388087    1.386963
_Ibt_dia_k~2 |   1.088439   .1062781     0.87   0.385     .8988566    1.318007
_Ibt_dia_k~3 |   .9621864   .0979706    -0.38   0.705     .7881142    1.174706
_Ibt_dia_k~4 |   1.223441   .1185431     2.08   0.037      1.01183    1.479308
  _Ikaltid_5 |   1.296536   .1959828     1.72   0.086     .9640908    1.743617
 _Ikaltid_10 |   1.099699   .1701348     0.61   0.539     .8120524    1.489236
 _Ikaltid_15 |   1.076339   .1681263     0.47   0.638     .7924825    1.461869
 _Ikaltid_20 |   1.330774   .2085548     1.82   0.068     .9788285    1.809264
 _Ikaltid_25 |   1.683913   .2569454     3.42   0.001     1.248637    2.270926
 _Ikaltid_30 |   1.511587   .2802437     2.23   0.026     1.051049    2.173919
------------------------------------------------------------------------------

Then I try to output it using:
outreg2 using "obus_out.rtf", eform replace word ci

Wich results in the following output:

COEFFICIENT	_t
	
kon	1.107***
	(0.96 - 1.28)
_Ibmi_2	1.493***
	(1.28 - 1.75)
_Ibmi_3	2.004***
	(1.64 - 2.44)
_Ibmi_4	2.560***
	(1.91 - 3.43)
_Itob_2	1.080***
	(0.88 - 1.32)
_Itob_3	1.337***
	(1.09 - 1.63)
_Itob_4	1.361***
	(1.10 - 1.68)
_Itob_5	1.550***
	(1.16 - 2.07)
_Ifys_fri_1	0.923***
	(0.74 - 1.16)
_Ifys_fri_2	0.815***
	(0.67 - 1.00)
_Ifys_fri_3	0.699***
	(0.56 - 0.88)
_Ifys_fri_4	0.941***
	(0.64 - 1.39)
_Ibt_dia_kv_2	1.088***
	(0.90 - 1.32)
_Ibt_dia_kv_3	0.962***
	(0.79 - 1.17)
_Ibt_dia_kv_4	1.223***
	(1.01 - 1.48)
_Ikaltid_5	1.297***
	(0.96 - 1.74)
_Ikaltid_10	1.100***
	(0.81 - 1.49)
_Ikaltid_15	1.076***
	(0.79 - 1.46)
_Ikaltid_20	1.331***
	(0.98 - 1.81)
_Ikaltid_25	1.684***
	(1.25 - 2.27)
_Ikaltid_30	1.512***
	(1.05 - 2.17)
Observations	108662
R-squared	.
95% confidence intervals in parentheses
*** p<0.01, ** p<0.05, * p<0.1


As you can see outreg2 reports all the covariates to be highly
significant, although this is not the case. What do I do wrong here?

Regards,
Anders Holst, Copenhagen
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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