By using a time-series dataset, I want to create a moving additive index. For example, I need a 5-year additive index for each year (between 1990-2015) where the value for each year is the additive value of five years prior.
Can the moving average code change to being a moving additive code? Is this possible in Stata?
Thanks!
Related Posts with Moving average code to moving additive?
When using esttab with the option mgroups(), how to center the group column title?Hi all, I'm a little confusion with the use of esttab. For example, for each sample I ran two regres…
Variable Management > I got the following two variables in my dataset: > > Number1 Number2 > 000752 > 00…
problem unzipping files stata- I/O error on write could not perform unzipI apologize for the possible typos, english is not my mother tongue. I´ve been working on a loop to…
Help with 1 group found, 2 required r(420) errorI tried running ttest on my DV (whosefault) and the IV (successcond) but for some reason, Stata tell…
Comparing models using AIC/BICI am comparing clogit models using AIC/BIC. I have an outcome variable (outcome), three independent …
Subscribe to:
Post Comments (Atom)
0 Response to Moving average code to moving additive?
Post a Comment