I have a data set looking like this, when fic is not USA, local_markup is missing value. For the missing values, I want to fill them with the value of USA. The local_markup change every year. Please help me. Thanks!
local_markup fyear fic
8745.155 2001 USA
8745.155 2001 USA
8745.155 2001 USA
8745.155 2001 USA
8745.155 2001 USA
8745.155 2001 USA
8745.155 2001 USA
8745.155 2001 USA
2001 CHE
8745.155 2001 USA
2001 CHE
8745.155 2001 USA
2001 JPN
8745.155 2001 USA
Related Posts with spread one number within a group
Shannon-Weiner indexDoes anyone know how to caculate th Shannon -Weiner index using stata? …
xtnbregPlease, can someone direct me on how I can get e(alpha) after estimating with -xtnbreg- or -meglm- w…
Generate dummy variablesDear Statalisters, Below is part of my data, which includes fundid, manager name, gender, begin day…
Help with macro lists (for a mixed logit model)Summary: I am looking for help with a macro to cycle through a list of variables in groups of two or…
Practice post - Help with macro lists (for a mixed logit model)Summary: I am looking for help with a macro to cycle through a list of variables in groups of two or…
Subscribe to:
Post Comments (Atom)
0 Response to spread one number within a group
Post a Comment