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
Conditional logit with a different number of alternatives for each case?Dear all, I have a simple question. I am using cmclogit for a model of firm location (county) choic…
Reshape from wide to long with multiple variablesHello everyone, Just trying to puzzle out how to reshape my dataset from wide format to long, but w…
Variable transormation and change in coefficientsDear Stata members Let us say that my dependent variable is Net credit, derived as a difference betw…
Returned listConsider this simple example: Code: . return list scalars: r(changed) = 1 …
Difference in Difference Model - Binary outcome variable- Panel dataHi, I am trying to do a diff in diff model for the panel dataset. My outcome variable (y) is binary…
Subscribe to:
Post Comments (Atom)
0 Response to Linear interpolation
Post a Comment