Hey everyone. I took a course over a decade ago where I learned STATA. I realized I needed it again when my latest research required the use of logistic regressions. I have come leaps and bounds in figuring it out, but I have one issue that no amount of searching has found the answer to.
I am running two logistic regressions. The two have different DVs but all the same indicators. I would like to plot the predicted probabilities of these two different outcomes on the SAME marginsplot. I have figured out how to do a plot, how to set the indicators to the values that I want, etc. What I can't figure out is how to get the two different variables plotted on one graph.
My guess would be to save the predicted probabilities for each as its own variable and then plot those two variables? I can't figure out how to do that. Any help would be appreciated.
My two logits are:
1. logit BoughtSex i.ACES FullTimeD Age GenderDummy RaceDummy i.Sexuality if Sexuality!=4, or
2. logit SellSex i.ACES FullTimeD Age GenderDummy RaceDummy i.Sexuality if Sexuality!=4, or
Thank you!
I am running two logistic regressions. The two have different DVs but all the same indicators. I would like to plot the predicted probabilities of these two different outcomes on the SAME marginsplot. I have figured out how to do a plot, how to set the indicators to the values that I want, etc. What I can't figure out is how to get the two different variables plotted on one graph.
My guess would be to save the predicted probabilities for each as its own variable and then plot those two variables? I can't figure out how to do that. Any help would be appreciated.
My two logits are:
1. logit BoughtSex i.ACES FullTimeD Age GenderDummy RaceDummy i.Sexuality if Sexuality!=4, or
2. logit SellSex i.ACES FullTimeD Age GenderDummy RaceDummy i.Sexuality if Sexuality!=4, or
Thank you!
Comment