Hi guys
Variables explained:
splitvoter: 0= not split vote between two elections / 1= split vote between two elections
i.tidspunkt_beslutning: 0= I made my decition for whom to vote for in the month leading up to the electon 2 = I made my decition for whom to vote for later then one month before the election.
I understand my logistic regression model:
olog splitvoter i.tidspunkt_beslutning, baselevel
I also want to make marginsplot for the interpretation of the model:
margins tidspunkt_beslutning
marginsplot
Output: See attached
My question:
Why do i get both a blue and a red line? I would,like to make a graf with only one line with the prediction for split vote for both i.tidspunkt_beslutning=0 and 1...
Can anybody help us out here? :-)
Best regards
Mikkel and Lukas
Related Posts with Marginsplot for logistic regression?
unit root test short panelHi guys, I was wondering if it is possible to test for unit root on a T=2 panel dataset. I only have…
Creating lagged variables in a panel data set that is not in the long formatHello nice people, I hope you are all doing okay. Please I need assistance for a Stata command on cr…
dynamic GMM analysis and confounder problemHi everyone, I am conducting research using the dynamic system GMM analysis. My model specification…
Drop panel based on percentage missing rows (panel data)Hi stata forum, I would like to delete the whole firm if revenue is missing for more than or equal …
Log-linear model for Unbalanced panel data [glm]Dear all, Hope you are all doing well, I am trying to investigate the impact of distance (distance_…
Subscribe to:
Post Comments (Atom)
0 Response to Marginsplot for logistic regression?
Post a Comment