hi statalist--
i am having issues with the carryfoward package. hoping someone will be able to help out. I am trying to carry forward values of wages in my data by the variable EMP_STATUS_. My code looks like this:
bys PUBID EMP_STATUS_: carryforward CV_HRLY_, gen(test_wage)
there isn't any error presented, but it doesnt seem that carryforward is working properly (see attached photo). as you'll see, there are CV_HRLY_WAGE entries that are not carried forward even when the same EMP_STATUS_ is used.
i am having issues with the carryfoward package. hoping someone will be able to help out. I am trying to carry forward values of wages in my data by the variable EMP_STATUS_. My code looks like this:
bys PUBID EMP_STATUS_: carryforward CV_HRLY_, gen(test_wage)
there isn't any error presented, but it doesnt seem that carryforward is working properly (see attached photo). as you'll see, there are CV_HRLY_WAGE entries that are not carried forward even when the same EMP_STATUS_ is used.
Comment