Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: transposing info worked need help with obs Array


From   "Jeff NASTERNAK" <[email protected]>
To   [email protected]
Subject   st: transposing info worked need help with obs Array
Date   Tue, 06 Sep 2005 13:22:14 -0700

Thank you to Steve B., Clint T., & Nick C. for all of your very informative help on the transposing from long to wide. I have another question regarding an obs array. Is there an easier way to write the number of obs for an ID when the ID's obs vary in frequency. With a list of over a hundred IDs, I was thinking there must be a way to make an array to fill them in.
EX: ID obs prate
1 1 .2
1 2 .6
1 3 .4
2 1 .7
2 2 .7
3 1 .4
3 2 .6
3 3 .9
3 4 .2
3 5 .6


Any ideas would be appreciated
Thanks
Jeff


*
* 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