Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Paulo Regis <email@example.com>
Sat, 19 May 2012 10:46:03 +0800
I am struggling to extract the value of a variable from a panel.
I have a panel where "tvar" is time (eg: 1971-2010, that is data for
40 years ) and "nvar" is the id of each panel (eg: 1,2,... 10, that is
data for 10 individuals). My variable of interest is X. I would like
to extract the value of X for individual 5 in 1995 and save it in a
local. I have tried to use the option "if" but did not work with
"local" but did nto work. So far, I managed to use the option "in"
with the command "local" but then I have to find the location of X in
1995 for individual 5 by hand.
* For searches and help try: