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: reshape wide with 'repeated' observations
From
"Ojinnaka, Chinedum" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: reshape wide with 'repeated' observations
Date
Tue, 18 Feb 2014 17:05:39 +0000
Good morning,
I want to reshape a dataset from wide to long. The variable of interest is a measure that can be repeated multiple times with the same measurement (example provided in table below), thus, I received an error message saying that values of the variable are not unique within the studyid. Is there anything that can be done about this?
id date level
1 02202004 5.6
1 04202004 5.4
1 06202004 5.6
Thank you.
Chinedum 'Chi-Chi' Ojinnaka
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/