Can we do tsappend with some formula. Suppose we have yearly time series up to 2019. I extend 4 observations. So 4 missing values generated. Now I want to fill it considering moving average of last 3 years. So if the variable is growth, then 2020 growth will be average growth of 2017, 2018, 2019./ 2021 growth will be average growth of 2018, 2019 and 2020. How to write the command without typing in data editor of STATA.
Related Posts with tsappend
How to plot the below graphs after quantile regression?How to plot the below graphs after quantile regression? I have used "grqreg" but i found different p…
Simultaneous GMMCan we estimate two simultaneous equations using a single-equation technique such as GMM, instead of…
Command -ritest- for randomization inference in Stata now available from SSC.Thanks to Kit Baum, -ritest- is now available for download from SSC. -ritest- is a module to conduct…
Regressions on each sample after propensity score matchingDear All I have not used propensity score matching before. I read lots of materials but I am still c…
Cannot relabel sts graph groupsI wonder if anyone might kindly assist with an issue I have encountered in the labeling of groups in…
Subscribe to:
Post Comments (Atom)
0 Response to tsappend
Post a Comment