Hi!
I have a variable called year in my dataset but this contains just the year 2006, 2009, 2011, 2013, 2015 and 2017. I want to aggregate intermediate years but i do not know how, the other variables have to have an average in those years.
Example: I have 2006 and 2009 in years and i have population to theese years. So, i want to aggregate the intermediate years and make an average from this population in the intermediate years.
I would be grateful if you can help me.
Thanks!
Related Posts with Linear interpolation
Joinpoint RegressionSTATALIST, I want to fit 6 regression models with 0,1,2,3,4,5 joinpoints (knots), but the location …
Shading AUC on ROC curve?Is it possible to shade with color the area under the curve on an ROC curve in stata? I can't find a…
command for recognizing the co-residing parents and sons/daughtersHow can I recognize co-residing parents and sons/daughters in the Employment & Unemployment Surv…
gen mean with if statementsI am fairly new to STATA, and need to create a moving average for my data. (I cannot use tsset for t…
Barro Regression: 3SLS with panel dataHello! I am a student of a Master in Economics and I am new here but I hope that you can help me wit…
Subscribe to:
Post Comments (Atom)
0 Response to Linear interpolation
Post a Comment