Fill Gaps in Timeseries or Panel Data in Stata
6K views
Mar 19, 2023
Tsfill command in stata is used to create missing values when there is gap in time variable. This can also be used to convert unbalanced panel data into balanced panel data i.e. to complete panel data. Further we also discuss carryforward command in stata that is used to carryforward or backward the values where there is missing value. This fill down or expand the data with respect to year and crossection entity. 00:00 Intro to tsfill 0:50 Fill gaps in timeseries data 5:07 Fill gaps in panel data 10:00 Fill missing values with previous value 13:01 Carryforward in Stata Website: thedatahall.com