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.
Following link contains the files used in the video:
https://payhip.com/b/dOkfN
Following link contains more information on this topic:
https://thedatahall.com/filling-gaps-...
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
Best 10 Introductory Econometrics Books
https://thedatahall.com/best-10-intro...
Introduction to Econometrics by James H. Stock and Mark Watson
https://amzn.to/3p88SZy
Econometrics for Dummies by Roberto Pedace
https://amzn.to/3NAhwKB
Mostly Harmless Econometrics: An Empiricist’s Companion by Joshua
https://amzn.to/3NA3kkJ
Using Econometrics: A Practical Guide by A. H. Studenmund
https://amzn.to/3VuTnam
Website: thedatahall.com
Disclaimer: Some links are affiliate links that help the channel at no cost to you.
Смотрите видео Fill Gaps in Timeseries or Panel Data in Stata онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Data Hall 05 Сентябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,064 раз и оно понравилось 52 людям.