[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: generating variables with panel data
Please disregard my previous question - I figured it
out. But in the event that someone else is curious...
I sorted by id and then subscripted my exchange rate
for the 11th obvservation, which is the year 2000 in
by id: gen real=exch
As far as I can tell, it worked.
--- Nico <firstname.lastname@example.org> wrote:
> I am sure there is a very simple solution to this
> problem, but I don't know what it is...
> I have a panel of 50 countries, 14 years, with the
> dollar exchange rate being one of the variables.
> Australia 1990 austexch1990
> Australia 1991 austexch1991
> Australia 1992 austexch1992
> Peru 1990 peruexch1990
> Peru 1991 peruexch1991
> Peru 1992 peruexch1992
> The problem I am having is that I want to generate a
> variable equal to the exchange rate in 2000 for each
> Australia 1990 austexch2000
> Australia 1991 austexch2000
> Australia 1992 austexch2000
> Peru 1990 peruexch2000
> Peru 1991 peruexch2000
> Peru 1992 peruexch2000
> It must be very easy to do, but I don't know how to
> specify it. I don't believe any of the expressions
> listed in help for 'egen' serve me either. Any
> suggestions would be appreciated.
> a little couch potato?
> Check out fun summer activities for kids.
____________________________________________________________________________________Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
* For searches and help try: