Was looking for a solution to the following problem.
I have a panel data that has some missing values as shown below.
Code:
Year HoustId MedSalary 2002 1 . 2002 1 . 2002 1 . 2002 1 . 2002 1 . 2002 1 . 2002 1 . 2002 1 . 2002 1 23 2002 1 23 2002 1 23 2002 1 23
Code:
Year HoustId MedSalary 2002 1 23 2002 1 23 2002 1 23 2002 1 23 2002 1 23 2002 1 23 2002 1 23 2002 1 23 2002 1 23 2002 1 23 2002 1 23 2002 1 23
In short, I need the entire (Year HoustId) to have the same non-missing (actual) MedSalary.
Thanks in advance,
J
0 Response to Replace missing values in group data
Post a Comment