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?
inquire about reversing codesHi, I have variables that are currently coded as 1=agree, 2=neutral, 3=disagree. I want these varia…
Missing value generated from exp() function !?Hello Stata experts ! I have an issue with exponentiation of big numbers with Stata so i can make s…
Reshaping to wide with a string j variableI am looking to reshape a dataset with courses done by each of the observation. Each individual has …
create unique county ID for each stateI have a panel data. I want to assign a unique ID to each county within each state. For example, for…
RE model with AR(1), heteroskedasticity, and serial correlationHello everyone! My name is Evgeny and i want to ask you to help me. In my panel data a RE model was …
Subscribe to:
Post Comments (Atom)
0 Response to Moving average code to moving additive?
Post a Comment