Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: RE: RE: Hazard ratios from results into a table


From   "D.W.Richards" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: RE: Hazard ratios from results into a table
Date   Wed, 3 Aug 2011 15:50:17 +0100

Thanks Elan, 

Did exactly what I was hoping! Thanks for your help.

Dan

-----Original Message-----
From: Cohen, Elan [mailto:[email protected]] 
Sent: 03 August 2011 14:39
To: '[email protected]'
Subject: st: RE: Hazard ratios from results into a table

Daniel,

See -help statsby-.

HTH,

- Elan


> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of D.W.Richards
> Sent: Wednesday, August 03, 2011 07:24
> To: [email protected]
> Subject: st: Hazard ratios from results into a table
> 
> I posted a thread yesterday but didnt any response, so I have re-phrased it
> to make it clearer.
> 
> I am using survival analysis to obtain a hazard ratio for each investor based
> on data about their transactions in the stock market.  The code I have been
> using is:
> 
> bys investorid: stcox var1
> 
> This produces a hazard ratio for each investor but the output is very long
> and difficult to use for further analysis.  To transfer each hazard ratio
> from the output, I am currently cutting and pasting the hazard ratio into an
> excel sheet.  Then putting this information back into stata for further
> analysis.
> 
> Does anyone know of a better way to get these results from the stata results
> into a table form?  It would only need to contain hazard ratio and perhaps Z-
> stat if possible.
> 
> Kind regards,
> 
> Daniel Richards
> 
> --
> The Open University is incorporated by Royal Charter (RC 000391), an exempt
> charity in England & Wales and a charity registered in Scotland (SC 038302).
> 
> 
> *
> *   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/


*
*   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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index