Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: AW: outreg2 for pgmhaz8

From   "Martin Weiss" <>
To   <>
Subject   st: AW: outreg2 for pgmhaz8
Date   Sat, 29 May 2010 20:06:09 +0200


You may be able to rebuild the first result from scratch here. Let me show
you how using the example from the help file:

sysuse cancer, clear
ge id = _n
recode drug 1=0 2/3=1
expand studytime
bysort id: ge t = _n // 'survival time', t, is # periods at risk per subject
bysort id: ge dead = died & _n==_N // event indicator
// duration dependence: log(time)
ge logt = ln(t)
pgmhaz8 drug age logt, id(id) seq(t) d(dead) nolog

//rebuild first regression
glm dead drug age logt, f(b) l(c) level(95) nolog

outreg2 using myfile, ctitle(PGM hazard model without gamma frailty) replace


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Giuliana De
Gesendet: Samstag, 29. Mai 2010 19:42
Betreff: st: outreg2 for pgmhaz8

Dear All,
we have estimated a discrete time hazard model using pgmhaz8.
We wish to report the clololog estimates without gamma frailty using  
outreg2. Unfortunately, outreg2 reports only the latest regression  
output (i.e. the model with gamma frailty). Does anybody know how to  
do it?
Thank you very much.

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index