[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Different records per patient
On 6/20/07, Ziad El-Khatib <email@example.com> wrote:
I have dataset in STATA format, where we met patients at 6 time
points. I want to:
- make new variable to define each time point as visit1, visit 2, visit 3
(some patients were met 3 times, some 6 times...)
- so i can select patients per visit etc..
Without knowing the current structure of your data there is little
help that anyone can provide.
Note the advice in the FAQ (linked at the bottom of each mail to the
list, and re-iterated several times recently on the list)....
"Say exactly what you typed and exactly what Stata typed (or did) in
response. N.B. exactly! If you can, reproduce the error with one of
Stata's provided datasets or a simple concocted dataset that you
include in your posting."
Thus in this instance a bare minimum amount of information would be
whether your data is in long or wide format (see -man reshape- if you
don't know what this means), and the names of the variables as they
"In mathematics you don't understand things. You just get used to
them." - Johann von Neumann
Email - firstname.lastname@example.org / email@example.com
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
* For searches and help try: