Hello All,
I am currently working with a panel data-set where I have missing observations for every column excluding Year and GeoName. I have attached a screenshot for reference.
My objective is to replace my missing observations with the weighted sum of other observations. For example, I would like to replace the missing values in Ethanol_cap21 with .118 * the value given for the District of Columbia + .129 * the value given for Nevada + etc.
I apologize if my question is a little vague. I can happily provide extra information if needed.
Thanks,
Mitchell
Related Posts with How to replace missing observations with the weighted sum of other observations
pseudo panelhi everybody does anyone have a Do file for create cohort and do pseudo panel model? …
PPMLHDFE is now on SSC (Poisson regressions with fixed effects)Dear all, Thanks to Kit Baum, the ppmlhdfe package is now on SSC (together with updated versions of…
OLS GravityI'm trying to estimate an OLS gravity equation and I have encountered a problem regarding the model.…
Merging multiple files in a loopHi, I am trying to merge 12 files with similar files name. Each file just has one variable. I was f…
AR 1 Auto correlation errorI am using a mixed model regression to determine what influences my response variable (V1), includin…
Subscribe to:
Post Comments (Atom)
0 Response to How to replace missing observations with the weighted sum of other observations
Post a Comment