Hello members,
After reshaping my dataset from wide to long, I am trying to fill in the years using tsfill the following way:
reshape long year, i( RowId ) j(Year)
tsset RowId year
tsfill
The tsfill command does not work( the gaps in the year variable are not filled). I try using tsfill with the full option( to test) - it works. However, I do not want a balanced panel.
Could you please suggest what I might be doing wrong?
Rgds,
Archita
After reshaping my dataset from wide to long, I am trying to fill in the years using tsfill the following way:
reshape long year, i( RowId ) j(Year)
tsset RowId year
tsfill
The tsfill command does not work( the gaps in the year variable are not filled). I try using tsfill with the full option( to test) - it works. However, I do not want a balanced panel.
Could you please suggest what I might be doing wrong?
Rgds,
Archita
Comment