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:
But somehow it is not successful:
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.
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)
(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
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
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.
Comment