|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: RE: -foreach-, local macro, -split- command
Nick,
I'd like to create a separate variable for all of the values attached
to each individual in my data, which are now only recorded in a single
variable. That is, there is one string that includes info at time1,
time2, time3, and so on--separated by a space only. Some individuals
have strings that exceed the variable space. I understand the issue
there. I have tried separating out the times in my code, but it gets
a bit cumbersome. I am simply hoping that there is a way to call the
values attached to an individual without needing to first have a
variable with the information stored. Can I not create another place
to store the values, or rather strings, and then get what I want by
using the split command.
id school city 'waisscores'
1 Temple Philly 'HighNormal Borderline .... Dull'
2 UMich Ann Arbor '.............'
3
.
.
.
400
For those who have scores that exceed available space, some of the
information is lost when the split command is used. Can I get around
this given that the values are certainly in memory and are connected
to the individuals who earned them?
I hope that was clearer.
David Torres
*
* 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/