[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: appending to a file
From
JOHN ANTONAKIS <[email protected]>
To
[email protected]
Subject
st: appending to a file
Date
Mon, 24 Nov 2008 17:45:06 +0100
I have two files. One in long and one in wide format.
In the long file, I have observations at the group level:
group x y
1
1
1
1
2
2
2
2
k
In the wide file, I have data at the group level, including a variable day:
group day x y
1 1
2 1
3 2
4 2
5 3
k
How can I append the day variable from the wide file to the long file?
Best,
J.
*
* 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–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |