I would be grateful for some advice. I think something trivia is wrong with my codes but I can't seem to pin point to it. The labels in the categories seem too large and it overlaps with the title on x-axis. The corresponding bins/distribution is also off. Please see image for a better visualization. Below are my codes. Thank you. LG
collapse (mean) Fin_Distress, by(Income_Expenses)
twoway connected Fin_Distress Income_Expenses, mlabel(Fin_Distress)xlabel(0 "Spend less than income" 1 "Spend equal to income" 3 "Spend more than income") plotregion(margin(large)) xtitle(Expenses vis-a-vis Income)
Related Posts with Issues with Two-way graph labels
Logistic regression with Effect Modification or Mantel-HaenszelHello. I'm trying to find an association between Sex of child and Exposure to or having a Defect fro…
Multinomial Logit ModelingGreetings- I am looking for some advice on a multinomial logit model with marginal effects. The mod…
Reproducing an output including all indicators of a categorial variable and a constantDear Stata-Listers, I am currently trying to reproduce the output in the picture. The model used in…
Forval loop invalid syntaxHello, I am using forval code as below and then it says it is 'invalid syntax'. I checked that all …
keep variable with condition and time seriesHi all: I want to keep variable use condition with next year and last year data. Sample ID YEA…
Subscribe to:
Post Comments (Atom)
0 Response to Issues with Two-way graph labels
Post a Comment