Dear all,

for my master's thesis I am running a panelanalysis.
I used the reshape-command to transform the data from wide to long format and than I xtset the data with fallnum and wave.
There are 5 waves for the years 1996, 2002, 2008, 2011 and 2014.
68% of the persons took part on the study only once. Because of that I am having a lot of gaps in my paneldata and I should solve the problem.

I tried to type in
Code:
tsfill  and  tsfill, full
but it didn't work.
Also I tried it with the following commands
Code:
gen x_n1=x[_n-1]

gen x_n1= x[_n-1] if missing(x)

gen x_n1=x[_n-1] if x>=.
In every case the gaps did not get filled.
Did I do anything wrong? Or is the number of gaps too large to fulfill them?

Thank you in advance!
Kind regards
Mimi La