Statalist The Stata Listserver


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

st: stsplit


From   "Lucy Shum" <[email protected]>
To   <[email protected]>
Subject   st: stsplit
Date   Thu, 18 Jan 2007 09:29:20 +1100

Hi,

How do I go about -stsplit- a record which represents one animal, with
multiple events recorded within this line? The time when these events
occurred are not in any logical order and hence I don't think I can command
the stsplit with -stsplit newvar, at(0, 320) per se. 

Here is one example:

 

How could I split the xmast event (number of episodes) into 2 rows? The
corresponding time is in dimm1, dimm2.

Input is much appreciated.

Lucy
 

<<attachment: winmail.dat>>




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