Hi all,
can any of you tel me how I can get ht below graph?
My rep variable is life satisfaction and the independent include - marital status, age, employment status, year dummies, log income, log education.
I want to make three graphs consequently for married, singles and the ones that change their marital status from single to married. For the last one I assume an RD plot will be needed. But in general, how can I plot life satisfaction which is categorical variable to show exactly the categories (as whoso on the photo). I have limited the sample to married and single and the age I need.
Thanks you!
Regards,
Gabriela
Related Posts with Plotting categorical variables
Adding an interaction term into a model or stratifying data , which method is more preferable to analyse interaction terms?Hi Statlists, Hope this post finds you well. May I know why stratification seems to be less prefera…
Individual Caliper for Variables Nearest-Neighbour Matching (psmatch2)Dear Community, I aim to apply nearest neighbour matching using the mahalanobis option in the the p…
A question on macro expression.If we want to write i = i + 1, we could use ++i. I wonder if there is also a short expression for i…
Help with using expand>2 while replacing values in duplicates generatedHi, I am trying to use the expand command to create duplicates and replacing one of the variables i…
Marginal effects Tobit (mfx vs margins)Hello I'm trying to calculate the marginal effects of a Tobit model using the margins command instea…
Subscribe to:
Post Comments (Atom)
0 Response to Plotting categorical variables
Post a Comment