Announcement

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

  • Stata package iscogen

    Hi everyone,

    I am working with the Stata package iscogen: https://ideas.repec.org/c/boc/bocode/s458665.html

    I want to generate a variable with ESeC classification based on ISCO08.

    I have generated the variable supvis: 0, 1, 10 based on whether a person does supervise others.
    I also generated a variable sempl: 0, 1 based on whether someone is unemployed.

    I typed this code:

    Code:
    . iscogen esec = esec(supvis sempl), from(isco08)
    But somehow it is not successful:

    (supvis not provided; assumed 0)

    variable name: esec
    variable label: Recode of supvis: isco08 to esec
    storage type: byte
    matched observations: 0
    unmatched observations: 199698
    missing observations: 140845
    3 invalid codes: 0 1 10
    The supvis variable is in the byte data format.

    I am struggling to understand what is not working here.

    If you have any ideas, it would be of great help.

    Thank you!

    Best,
    Miriam

    PS: I hope I provided all the necessary information. Please let me know if something relevent is missing.

  • #2
    You need to give the variable that contains the occupational codes to iscogen. The from() option only specifies how this variable is coded. Assuming the variable is called isco, then the command should be
    iscogen esec = esec(isco supvis sempl), from(isco08)
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      Hi everyone, I have two categorical variables that is Suppresse (Yes or No) and then Gender (Male and female) if I wanted to obtain the significance between Suppressed and one of the gender categories, Any help I will be grateful, thanks in advance.

      Comment


      • #4
        OMONDI BENARD your question has nothing to do with iscogen, which was the topic of the original question. Think of this from the point of view of someone who wants to answer questions: they enter the general forum and see a list of topics and choose a topic they know something about (and interests them). How would such a person know that a question about statistical tests for cross-tabulations is hidden behind a topic named "stata package iscogen"? Also if I answer you here, how do we know what question the answer refers to? This is just a recipy for chaos and misunderstandings. So instead of adding your question to an existing question you should start your own question. If you go back to the general forum you see near the top left a button with "+ New Topic", press that to add your own question.
        ---------------------------------
        Maarten L. Buis
        University of Konstanz
        Department of history and sociology
        box 40
        78457 Konstanz
        Germany
        http://www.maartenbuis.nl
        ---------------------------------

        Comment


        • #5
          Thank you Maarten!

          Comment

          Working...
          X