Hi everyone,
I have a variable called MHI which takes on a value between 0 and 100, it was only recorded in the survey every two years from 2000 to 2010 and then again in 2015. There are also some missing observations for some individuals where for example they have only answered in years 2000, 2004 and 2010.
I'm trying to create a variable dMHI that measures the change in MHI from it's last value, but I can't seem to figure out how to do it.
The years run from 1997 to 2016 and the panel is in long format.
Does anyone have any tips?
Apologies if this isn't clear enough - my first post.
Thank you in advance
Related Posts with Creating change variable with unbalanced panel
Rigobon and Sack 2003 "Measuring the reaction of monetary policy to the stock market" - ReplicatePaper link: <https://www.federalreserve.gov/pubs/.../200114pap.pdf> I have some questions on …
Exporting output of ManWitney U TestHi, I am unable to find a way to export output of ManWitney U (ranksum) Test for independent samples…
Can lpoly/lowess/npregress be used in a survival analysis context?Hi experts, I know that in STATA we can use the logit command to fit a discrete-time logistic hazar…
How to export the results of Wald-test/F-test to excel using outreg2 or any other alternative?Hi every one, I am using the following code Code: reg CAR01 NU_SUE NUE_D1 NUE_D2 logmcap lag_p…
How to modify value labels based on certain words already present in value labelsHello everyone, I have a set of categorical variables which have certain value labels attached to th…
Subscribe to:
Post Comments (Atom)
0 Response to Creating change variable with unbalanced panel
Post a Comment