Hi, there!
I'm new in the Stata forum and I've searched for a similar question but I achieve different results than expected by those procedures.
I have two variables, called "subjective" (which stands for a 5 scale subjective social class classification) and "income" (also 5 values scale standardized as the first one). I want to create a new variable (for example, "mismatch"), that is the result of each value subtraction. The new variable has, then, to have 5 values as a scale, so the fifth step on "mismatch" has to be the result of subtracting "subjective" and "income" fifth step. I expect to have both negative and positive values, because the outcome variable should allow me to see underrepresentation of that social class when they are negative, and the opposite for positive values.
In the photo I've attached, the blacked row shows (in percentages) what I've calculated manually and what results for the new variable should look like (they are the results of subtracting the first by the second row).
I'm really sorry if I'm repeating the question, I searched for something even close but I could find nothing. Hope you can help me. Thanks in advance!
I'm new in the Stata forum and I've searched for a similar question but I achieve different results than expected by those procedures.
I have two variables, called "subjective" (which stands for a 5 scale subjective social class classification) and "income" (also 5 values scale standardized as the first one). I want to create a new variable (for example, "mismatch"), that is the result of each value subtraction. The new variable has, then, to have 5 values as a scale, so the fifth step on "mismatch" has to be the result of subtracting "subjective" and "income" fifth step. I expect to have both negative and positive values, because the outcome variable should allow me to see underrepresentation of that social class when they are negative, and the opposite for positive values.
In the photo I've attached, the blacked row shows (in percentages) what I've calculated manually and what results for the new variable should look like (they are the results of subtracting the first by the second row).
I'm really sorry if I'm repeating the question, I searched for something even close but I could find nothing. Hope you can help me. Thanks in advance!
Comment