Announcement

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

  • Latent Class Analysis Question

    Hello All,

    I have a "rookie" LCA in Stata question. I usually do this type of analysis in Mplus. I am learning this in Stata. I have performed the LCA and found a satisfactory 3-group model. Now, I need to perform some additional analyses, so I need to generate a variable that contains the class assignments. How do I do this? Once I know this, I am on my way. Thank you.

  • #2
    Just type:

    Code:
    predict classpost*, classposteriorpr
    Than, create the categories according to your criteria, given the posterior probabilities.
    Best regards,

    Marcos

    Comment


    • #3
      Thank you

      Comment


      • #4
        Thank you for informing the command was helpful. In #2, I wanted to write "then", sorry for the mistype.
        Best regards,

        Marcos

        Comment


        • #5
          No worries. This worked wonderfully. Thank you

          Comment

          Working...
          X