I have a panel time series where i need to fill the missing data upward based on the data for the latest year.
i tried replace dummy=dummy[n+1] but it only fills the second to last year data. I need to replicate this dummy for all years in each panel.
Thanks in advance!
i tried replace dummy=dummy[n+1] but it only fills the second to last year data. I need to replicate this dummy for all years in each panel.
Thanks in advance!
Comment