I have earnings data for two years, 2010 and 2020 I want percentage change separate for female and male by occupation and education
I have run these command, what is the next step ?
assert inlist(year, 2010, 2020)
bysort occupation educ (year) :gen pchange = 100*(wage[2]-wage[1])/wage[1]
Related Posts with percentage change
Using replace produces wrong resultDear all, I have this simplified dataset Code: * Example generated by -dataex-. To install: ssc in…
Very high numbers when holding time fixed in regressionHi everyone, I am not sure if this is a coding question or not, but maybe I do something wrong when…
Graph trend time DID xtregDear Stata users, I want to obtain a similar graph, that is commonly used to analyse trends in diffe…
R-sqaured in multilevel analysisHi! For multilevel analysis, do you recommend to use AIC instead of mltrsq (Snijders-Bosker R-Square…
DateI am trying to generate a date in my work. I am only working with year intermissions between dates f…
Subscribe to:
Post Comments (Atom)
0 Response to percentage change
Post a Comment