Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Interpretation of the margins plot with categorical variables

    Hello every one, Iam having trouble interpreting a margins plot and the margins output as well whiile doing latent class analysis. All my variable are categorical in nature. Below is my margins out put and my margins plot

    margins
    Warning: prediction constant over observations.
    Warning: prediction constant over observations.
    Warning: prediction constant over observations.
    Warning: prediction constant over observations.
    Warning: prediction constant over observations.

    Predictive margins Number of obs = 1,254
    Model VCE : OIM

    1._predict : Predicted mean (any transactional sex), using class probabilities, predict(mu outcome(tsany))
    2._predict : Predicted mean (Alcohol abuse problem), using class probabilities, predict(mu outcome(alcoprob))
    3._predict : Predicted mean (any drug use), using class probabilities, predict(mu outcome(druguse))
    4._predict : Predicted mean (Has woman been pregnant, man impregnated a woman), using class p, predict(mu outcome(anypreg))
    5._predict : Predicted mean (any casual sex ), using class probabilities, predict(mu outcome(anycas))

    ------------------------------------------------------------------------------
    | Delta-method
    | Margin Std. Err. z P>|z| [95% Conf. Interval]
    -------------+----------------------------------------------------------------
    _predict |
    1 | .2376449 .0126081 18.85 0.000 .2129336 .2623562
    2 | .0326911 .0050216 6.51 0.000 .0228488 .0425333
    3 | .065391 .0069811 9.37 0.000 .0517083 .0790737
    4 | .2225622 .0124044 17.94 0.000 .1982501 .2468743
    5 | .1819183 .0108973 16.69 0.000 .1605599 .2032766
    ------------------------------------------------------------------------------

    . marginsplot


    Unfortunately am unable to show the graph since am unable to paste for whatever reason i dont know why it cant paste onto here. tnhough the graph connects the above given values to each other. My question is what do those jointed lines mean?

    Thanks in advance.


























  • #2
    Welcome to Statalist.

    You have accidentally posted your topic in Statalist's Mata Forum, which is used for discussions of Stata's Mata language, which is different than Stata's command language, and different than Stata's matrix commands. Your question will see a much larger audience if you post it in Statalist's General Forum.

    Also, if you have not already done so, take a look at the Statalist FAQ linked to at the top of this page for posting guidelines and suggestions.

    The way to include a graphics image is to save it on your computer as a PNG file and then upload it to the post as attachment by clicking the icon of the paperclipped attachment in the upper right corner of the window in which you are typing your post, then clicking the upload attachments button that appears at the bottom of the same window.

    Click image for larger version

Name:	attachment.png
Views:	1
Size:	32.3 KB
ID:	1500882


    Comment


    • #3
      Thank you for the clarity William. I was able to post my other question on the right forum and got a response.

      Comment

      Working...
      X