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
analyze the explanation of each X and the interaction of them to YDear Stata members, I have got a revise and resubmit from a journal. One of the referees have sugges…
keep common household information only in the first row of the householdHi all, I have data set with household characteristics. District Village Household_ID Menber_ID …
Baseline covariates interacted with years in a two-way fixed effects regressionHi, I am running a two-way fixed effects regression and would like to include some economic and dem…
quick question about dividing the variable on the previous yearDear researchers, I have quick question, please. While I am reading papers, I have found one use the…
Generalized Difference-in-DifferencesGood day all of you! I have a Diff-in-Diff model that I need help with. I want to estimate the ave…
Subscribe to:
Post Comments (Atom)
0 Response to Linear interpolation
Post a Comment