Good Day all!
I need some urgent help because I can't seem to understand why my coefficient plot seems to be wrong.
The first two photos show the 2 logistic regressions I am trying to plot on the coefficient plot. For each IV which measures my DV, there is a dummy (base) variable, for which the value is 1 as it is an odds ratio. Now, when I plot this using the following code:
logistic occupbin i.educat age i.incomecat, baselevels
estimates store occupbin
logistic classpercbin i.educat age i.incomecat, baselevels
estimates store classpercbin
coefplot (occupbin, label(Objective Social Class)) (classpercbin, label(Subjective Social Class)), drop(_cons) xline(1) baselevels
I get the graph in the third picture. I am incredibly confused because the base variables are at 1, and the information displayed on this graph does not match the information on the tables (Pictures 1 and 2) at all. Am I doing something wrong?
I don't know why this is happening, and it has been a reoccurring issue. Thank you for taking the time to read this and I hope to get a response quickly!
I need some urgent help because I can't seem to understand why my coefficient plot seems to be wrong.
The first two photos show the 2 logistic regressions I am trying to plot on the coefficient plot. For each IV which measures my DV, there is a dummy (base) variable, for which the value is 1 as it is an odds ratio. Now, when I plot this using the following code:
logistic occupbin i.educat age i.incomecat, baselevels
estimates store occupbin
logistic classpercbin i.educat age i.incomecat, baselevels
estimates store classpercbin
coefplot (occupbin, label(Objective Social Class)) (classpercbin, label(Subjective Social Class)), drop(_cons) xline(1) baselevels
I get the graph in the third picture. I am incredibly confused because the base variables are at 1, and the information displayed on this graph does not match the information on the tables (Pictures 1 and 2) at all. Am I doing something wrong?
I don't know why this is happening, and it has been a reoccurring issue. Thank you for taking the time to read this and I hope to get a response quickly!
Comment