Announcement

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

  • Heckoprobit

    Dear Stata Fans,

    I would like to run an analysis where I examine influence factors on people being overweight (hobbies, problems smoking, drugs, emptionalsupport)

    My code reads as follows:
    Code:
    heckoprobit overweight hobbies problems i.smoking i.drugs i.emotional, select(binge)
    All variables are dichotomous. What I do not really understand is the select part of the command. What exactly is it for?
    And what is the difference of this code to using
    Code:
    logistic overweight hobbies problems i.smoking i.drugs i.emotional binge
    ?

    I tried to read in the forum and also the stata help document but i do not get what the select equitation is... sorry!

    best and thank you
    anne
    Last edited by anne jagdberg; 16 Jan 2023, 03:48.

  • #2
    Anne:
    read the explanation in Remarks and example paragrapg, -heckprobit- entry, Stata .pdf manual.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Hello Carlo,

      thank you for your answer. I did read it but unfortunately I did not really get what the select part means in contrast to the independent variables... and why I can specify also a dependent variable in the select part.
      Sorry!

      Best,
      Anne

      Comment

      Working...
      X