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: Reshaping question


From   Anders Gaarsdal Holst <[email protected]>
To   [email protected]
Subject   st: Reshaping question
Date   Fri, 19 Feb 2010 16:01:32 +0100

Dear Statalist,

I have a multiple observations per (person) id dataset and a boolean
variable of interest "antibio". I would like to reshape this into a a
single observation per id dataset with a boolean variable indicating
whether the id has one or more observation with antiobio==1.

This is probably an easy task, but I cannot seem to find the right command.

Sincere regards,
Anders Gaarsdal Holst
MD, Research Fellow
Department of Cardiology, B2142
University Hospital Rigshospitalet
Blegdamsvej 9
2100 Copenhagen

Phone: +45 35450639
Email: [email protected]
*
*   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