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?
Difference in Differences with Multiple Periods - Interpretation of CoefficientI am currently looking at the effect of a policy change on some states in the US that implemented th…
Transform string to date failedPlease help me to transform the "date" variable to real date form "YYYYMMDD". I have tried everythin…
Computation of densities for exemplary observations with Finite Mixture Model (FMM) and Quantil Regression (QR)Dear Statalist, I want to use a Finite Mixture Model (4 Gaussian's) and a Quantile Regression to co…
Fixed effect and reverse causalityHi Statalist, i am analyzing a dataset of performance for Footballplayers and How a transfer affect…
likelihood ratio testsAm i correct in thinking that likelihood‐ratio tests can be used to assess whether extra variables j…
Subscribe to:
Post Comments (Atom)
0 Response to Marginsplot for logistic regression?
Post a Comment