[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: Data manipulation
The countries were listed as variable names in the original data set. When I
stacked the data, I was left with only the stack variable, and the data stacked
with only one variable name.
Quoting Nick Cox <firstname.lastname@example.org>:
> Please tell us how country names were held originally.
> > I am trying to manipulate my data in the following way: after
> > stacking my data
> > (and losing the data in memory), I am trying to recover the
> > country name. So
> > anytime the stack variable is 1 in the dataset, I want to
> > input a string into
> > another variable called "country", when the stack variable is
> > 2 in the dataset,
> > I want to input a different string in the "country" variable.
> * 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: