Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Help for Stset


From   [email protected]
To   [email protected]
Subject   st: Help for Stset
Date   Sat, 27 Mar 2004 15:28:33 +0100

Dear All,

I have to apply the conditional risk set model (time from the previous event)
explained in the FAQ by Mario Cleves. Unfortunately, I do not know how to
(st)set by dataset in order to generate as origin a  variable "time from
the previous event". I need to transform my dataset from:

Country _t0 _t1 Event
  1           0    1    0
  1            1   2    1
   1          2    3    0
   1          3    4    1
   1          4    5    0

in

Country  _t0   _t1 Event
1              0     1     0
1              1     2      1
1              0     1      0
1              1     2      1
1              0     1      0


Please do you have any suggestion?
Thanks
Giorgio





__________________________________________________________________
ADSL Senza Canone 640Kbps:
attivala entro il 31 marzo e avrai GRATIS il costo di adesione,
quello di attivazione e il modem per tutto il 2004.
E per i primi 3 mesi navighi a 1,5 euro l'ora! Affrettati!
http://point.tiscali.it/adsl/prodotti/senzacanone/




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