Displaying 1 result from an estimated 1 matches for "selection_vari".
2010 Apr 08
1
reshape panel data
...0
3 1990 xxxxxxxxxx 1
3 1991 xxxxxxxxxx 1
3 1992 xxxxxxxxxx 1
I can reshape the data using STATA with the following three simple commands:
xtset Cicoid year
tsfill ,full
replace selection_variable=0 if selection_variable==.
I proclaim the data as a panel series identifying the ID and TIME index
variables. Then use the time-series fill command.
I have searched the help and vignettes of both the "zoo" and "plm" packages
but cannot find the solution.
Can anyone help? T...