Statalist


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

Re: st: Database design for analysis


From   "Sergiy Radyakin" <[email protected]>
To   [email protected]
Subject   Re: st: Database design for analysis
Date   Tue, 12 Feb 2008 10:28:35 -0500

On 2/12/08, Ziad El-Khatib <[email protected]> wrote:
> Dear STATA-lister,
> I am preparing database in EpiData then to move it into STATA. I will
> be reviewing patients' records over different visits time.
> Would it better to design it as relational database if later on I can
> rearrange observations* in rows using STATA.
> or
> better to enter every observation* as new records?

I would suggest having two files: patients and visits, and have
patientid in each of them.

Best regards, Sergiy


>
>
>
> *New observation = new visit for the same patient
>
>
>
> Thank you in advance and best regards
> ziad
> *
> *   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/
>
*
*   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