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. Array
Related Posts with carryforward
Estimating the Effect of a given variable on mortality ratesHi everyone, Below is an example from my dataset. datediag dead dateexit id perdiag agegrp 4429 1 …
Change in probablity of being downgraded as the explanatory variable change from the bottom (30%) to the top (30%) of the sampleDear all, I am sorry to bother you. I was wondering how one could calculate the change in probablit…
Unbiased 95% CI of an x variable in y units after gsem ln(y)Charles Huber discusses the interpretation of models with log-transformed outcomes in Stata News 34-…
Training sample for lasso and them making out of sample predictionsDear All I have created a loop to generate forecasts using a lasso regressions that (I hope) are co…
Tip with recoding 40+ values in a variableHi! I am new to STATA and I am trying to recode a variable with 40 values. For values 1 to 38, i wan…
Subscribe to:
Post Comments (Atom)
0 Response to carryforward
Post a Comment