Hi, I'm using a cumulative dataset of the European Social Survey from 2002-2018.
In my analysis I want to control for household net income, a variable which has been changed in the dataset over time.
In ESS 2002-2006 the income variable (hinctnt) has 12 numeric values whereas the income variable (hinctnta) in ESS 2008-2018 has 10 numeric values.
I want to create a new variable which combines the 12 and 10 numeric values resulting in 22 income values or categories (in other words I do not want to combine the numeric value of for example 1 for the two variables).
Attatched are two codebook commands of the relevant variables
Kind regards
Array Array
Related Posts with Combining two categorical income variables
Abnormality when plotting discrete-time survival functionsHi all, thanks for reading! I'm running discrete-time survival analysis and trying to plot the step-…
Destring dates turns no resultHello I am trying to destring a number of daily dates using Code: gen time= date(days, "DMY") form…
Saving coefficient estimates and using them for kdensityDear all, I am trying to figure out how after a regression, I can save the coefficient estimates an…
Reshaping and Transposing Data in StataDear Stata Users: I have the following table in STATA. The problem is all the data is in one row. I …
Filling in missing Data in time-series using interpolationI have a database on Size and Return for every day in a year. It looks like this: Day Return Size 1…
Subscribe to:
Post Comments (Atom)
0 Response to Combining two categorical income variables
Post a Comment