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
Investigating or explained heterogeneityDear all, I would appreciate some advice please! I have performed a meta-analysis of 69 studies lo…
alternative for clustered standard errors when having too few clustersHey everyone, I have observations on management scores from firms which are nested in countries. Th…
Importing multiple excel filesI have a folder named "Data" with 8 xlsx files. These files are for 4 variables (PRICE, gRDEF, gRNDE…
cnsreg using i.variables produces different results from self generated dummiesI have a dependent variable y, and the regressors are age, year and cohort (birth year). birth year …
Grouping neighborhoodsHello, So I have a variable that indicates the neighborhood in which the person lives. How can I gr…
Subscribe to:
Post Comments (Atom)
0 Response to spread one number within a group
Post a Comment