Announcement

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

  • censored model in GSEM

    Good morning,
    I have a model in gsem in which two variables (which range from -2 to +2) are censored exactly in the middle at zero (no left-censoring nor right-censoring) which command should I use?

    I quote below the command (still without the censoring adjustment).
    Shall someone kindly help me, the two censored variables are dscorem dscoref ?

    Code:
    gsem ( female  m_humcare m_mathcare d_mathcare d_humcare m_notemp_housew d_notemployed  -> dscorem  dscoref ) ///
      ( dscorem  dscoref -> STV scoresperception_1) ///
      (STV -> intrinsicmath utility cost senseofbelongingindex) ///
      (STV  scoresperception_1 mark_ecomath -> stem_raw) if time == 0, ///
     latent(STV) difficult iterate(400) method(mlmv) cov(e.STV*e.scoresperception_1) cov(e.utility*e.cost e.utility*e.senseofbelongingindex e.utility*e.intrinsicmath e.cost*e.senseofbelongingindex e.cost*e.intrinsicmath e.senseofbelongingindex*e.intrinsicmath)  nocapslatent
Working...
X