How can I replace the missing data value with the existing repeated values by city!
clear
input int city double grp
1100 .
1100 .
1100 .
1100 .234
1100 .
1100 .234
1100 .
1230 .5
1230 .
1230 .
1230 .
1230 .5
1230 .
1323 .
1323 .
1323 .
1323 .3
1323 .
1323 .
1323 .3
1323 .
1323 .
1323 .
end
[/CODE]
Related Posts with How can I replace the missing data value with the existing repeated values by city
Difference-in-difference model with continuous treatment levelsHi all, For my master thesis I have to calculate the effect of CSR investment on various performanc…
Matching firm algorithmI am fairly new to Stata and for my PhD would like to try and reproduce previous research done. I h…
Fixed Effects for a Panel at a Coarser LevelHello, I want to include some fixed effects in my model that I believe are difficult to include so …
Reshape Long to Wide to create dummy variablesI currently have data that looks like this: a X 0 a Y 0 a Y 1 b X 0 b Y 0 b Z 1 c X 1 c Y 1 c Z 0 …
gsemDear all, I am confronting some issues with multi-level gsem. I have a two-level country-individua…
Subscribe to:
Post Comments (Atom)
0 Response to How can I replace the missing data value with the existing repeated values by city
Post a Comment