Self-Employment and Class of Worker Pseudocode

The following is one example of the process to calculate self-employment for a CPS sample from 1994 to the present on a monthly basis. Note that there exist multiple variables in the CPS that provide information on self-employment.

 

Variables: PWSSWGT, HRMONTH, HRYEAR4, PEMLR, PEIO1COW

 

            If PEMLR is 1 or 2 and PEIO1COW in 1, 2, or 3

                        Public = sum(PWSSWGT) by HRMONTH and HRYEAR4

            If PEMLR is 1 or 2 and PEIO1COW is 4 or 5

                        Private = sum(PWSSWGT) by HRMONTH and HRYEAR4

            If PEMLR is 1 or 2 and PEIO1COW is 6

                        Self-employed, Incorporated = sum(PWSSWGT) by HRMONTH and HRYEAR4

            If PEMLR is 1 or 2 and PEIO1COW is 7

                        Self-employed, Unincorporated = sum(PWSSWGT) by HRMONTH and HRYEAR4

            If PEMLR is 1 or 2 and PEIO1COW is 8

                        Without Pay = sum(PWSSWGT) by HRMONTH and HRYEAR4