Data Cart

Your data extract

0 variables
0 samples
View Cart
HOMECHILD
Number of own children in household

Codes and Frequencies



Can't find the category you are looking for? Try the Detailed codes

Explore how IPUMS created this variable

Download


      class Homechild : public Editor {

public:
  Homechild(VarPointer varInfo) : Editor(varInfo) {}
  void edit() {

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::ke1989a: {
      if (KE1989A_0417() <= 25 && KE1989A_0418() <= 22)
        a = KE1989A_0417() + KE1989A_0418();
      if (KE1989A_0417() == 99 || KE1989A_0418() == 99)
        a = 98;
      if (KE1989A_0417() == 98 || KE1989A_0418() == 98)
        a = 98;
      if (KE1989A_0417() == 99 && KE1989A_0418() == 99)
        a = 99;
      if (a > 12 && a < 98)
        a = 12;
      if (KE1989A_0417() == 99 && KE1989A_0403() >= 12 && KE1989A_0402() == 2)
        a = 0;
    } break;
    case dataset_id::ke1999a: {
      if (KE1999A_0421() <= 9 && KE1999A_0422() <= 9)
        a = KE1999A_0421() + KE1999A_0422();
      if (KE1999A_0421() == 99 || KE1999A_0422() == 99)
        a = 98;
      if (KE1999A_0421() == 99 && KE1999A_0422() == 99)
        a = 99;
      if (a > 12 && a < 98)
        a = 12;
      if (KE1999A_0421() == 99 && KE1999A_0403() >= 12 && KE1999A_0402() == 2)
        a = 0;
    } break;
    case dataset_id::by1999a: {
      if (BY1999A_0441() == 99 || BY1999A_0442() == 99)
        a = 99;
      else if (BY1999A_0441() == 98 || BY1999A_0442() == 98)
        a = 98;
      else {
        a = BY1999A_0441.getSourceDataAsLong() -
            BY1999A_0442.getSourceDataAsLong();
        if (a > 9)
          a = 9;
      }
    } break;
    case dataset_id::np2001a: {
      a = 99;
      if (NP2001A_0426() < 98 && NP2001A_0427() < 98)
        a = NP2001A_0426() + NP2001A_0427();
      if (NP2001A_0426() == 98 || NP2001A_0427() == 98)
        a = 98;
    } break;
    case dataset_id::tz1988a: {
      a = 99;
      if (TZ1988A_0419() < 98 && TZ1988A_0430() < 98)
        a = TZ1988A_0419() + TZ1988A_0430();
      if (TZ1988A_0419() == 98 || TZ1988A_0430() == 98)
        a = 98;
      if (a > 20 && a < 98)
        a = 20;
    } break;
    case dataset_id::tz2002a: {
      a = 99;
      if (TZ2002A_0422() < 98 && TZ2002A_0423() < 98)
        a = TZ2002A_0422() + TZ2002A_0423();
      if (TZ2002A_0422() == 98 || TZ2002A_0423() == 98)
        a = 98;
      if (a > 20 && a < 98)
        a = 20;
    } break;
    case dataset_id::vn1999a: {
      if (VN1999A_0434() == 99 && VN1999A_0406() >= 15 &&
          VN1999A_0406() <= 49 && VN1999A_0403() == 2)
        a = 0;
    } break;
    case dataset_id::vn2009a: {
      if (VN2009A_0428() == 99 && VN2009A_0403() >= 15 &&
          VN2009A_0403() <= 49 && VN2009A_0402() == 2)
        a = 0;
    } break;
    case dataset_id::sl2004a: {
      a = SL2004A_0425() + SL2004A_0426();
      if (a > 20)
        a = 20;
      if (SL2004A_0425() == 98 || SL2004A_0426() == 98)
        a = 98;
      if (SL2004A_0425() == 99)
        a = 99;
    } break;
    case dataset_id::sd2008a: {
      a = SD2008A_0443() + SD2008A_0444();
      if (a > 12)
        a = 12;
      if (SD2008A_0443() == 98 || SD2008A_0444() == 98)
        a = 98;
      if (SD2008A_0443() == 99)
        a = 99;
    } break;
    case dataset_id::sv1992a: {
      if (SV1992A_0418() == 99 && SV1992A_0416() == 2)
        a = 0;
    } break;
    case dataset_id::sv2007a: {
      if (SV2007A_0461() == 99 && SV2007A_0458() == 2)
        a = 0;
    } break;
    case dataset_id::id1976a: {
      if (ID1976A_0457() == 99 && ID1976A_0456() == 0)
        a = 0;
    } break;
    case dataset_id::id1990a: {
      a = ID1990A_0454() + ID1990A_0455();
      if (ID1990A_0454() == 99)
        a = 99;
    } break;
    case dataset_id::id1995a: {
      a = ID1995A_0463() + ID1995A_0464();
      if ((ID1995A_0463() == 99 || ID1995A_0464() == 99) && ID1995A_0462() == 2)
        a = 0;
      if ((ID1995A_0463() == 99 || ID1995A_0464() == 99) && ID1995A_0462() == 9)
        a = 99;
    } break;
    case dataset_id::id2010a: {
      a = ID2010A_0438() + ID2010A_0439();
      if (a > 20)
        a = 20;
      if (ID2010A_0438() == 99)
        a = 99;
    } break;
    case dataset_id::uy2006a: {
      if (UY2006A_0420() == 99 && UY2006A_0418() == 2)
        a = 0;
    } break;
    case dataset_id::fj1986a: {
      a = FJ1986A_0424() + FJ1986A_0425();
      if (a > 10)
        a = 10;
      if (FJ1986A_0424() == 98 || FJ1986A_0425() == 98)
        a = 98;
      if (FJ1986A_0424() == 99 && FJ1986A_0425() == 99)
        a = 99;
    } break;
    case dataset_id::fj1996a: {
      a = FJ1996A_0433() + FJ1996A_0434();
      if (a > 6)
        a = 6;
      if (FJ1996A_0433() == 98 || FJ1996A_0434() == 98)
        a = 98;
      if (FJ1996A_0433() == 99 && FJ1996A_0434() == 99)
        a = 99;
    } break;
    case dataset_id::ke1979a: {
      a = KE1979A_0411() + KE1979A_0412();
      if (a > 12)
        a = 12;
      if (KE1979A_0411() == 98 || KE1979A_0412() == 98)
        a = 98;
      if (KE1979A_0411() == 99 && KE1979A_0412() == 99)
        a = 99;
    } break;
    case dataset_id::ke2009a: {
      a = KE2009A_0417() + KE2009A_0418();
      if (a > 10)
        a = 10;
      if (KE2009A_0417() == 99 && KE2009A_0418() == 99)
        a = 99;
    } break;
    case dataset_id::ss2008a: {
      a = SS2008A_0443() + SS2008A_0444();
      if (a > 12)
        a = 12;
      if (SS2008A_0443() == 98 || SS2008A_0444() == 98)
        a = 98;
      if (SS2008A_0443() == 99)
        a = 99;
    } break;
    case dataset_id::ht1982a: {
      if (HT1982A_0428() == 99 && HT1982A_0423() == 2)
        a = 0;
      if (HT1982A_0402() >= 15 && HT1982A_0401() == 2 && HT1982A_0423() == 8 &&
          HT1982A_0428() == 99)
        a = 98;
    } break;
    case dataset_id::lr2008a: {
      a = LR2008A_0426() + LR2008A_0427();
      if (a > 7)
        a = 7;
      if (LR2008A_0426() == 9 || LR2008A_0427() == 9)
        a = 99;
    } break;
    case dataset_id::ng2006a: {
      if (NG2006A_0492() < 98 && NG2006A_0493() < 98)
        a = NG2006A_0492() + NG2006A_0493();
      if (a > 9 && a < 98)
        a = 9;
      if (NG2006A_0492() == 98 || NG2006A_0493() == 98)
        a = 98;
      if (NG2006A_0492() == 99 || NG2006A_0493() == 99)
        a = 99;
    } break;
    case dataset_id::ng2007a: {
      if (NG2007A_0486() < 98 && NG2007A_0487() < 98)
        a = NG2007A_0486() + NG2007A_0487();
      if (a > 9 && a < 98)
        a = 9;
      if (NG2007A_0486() == 98 || NG2007A_0487() == 98)
        a = 98;
      if (NG2007A_0486() == 99 || NG2007A_0487() == 99)
        a = 99;
    } break;
    case dataset_id::zm1990a: {
      a = ZM1990A_0436() + ZM1990A_0437();
      if (ZM1990A_0436() == 99 || ZM1990A_0437() == 99)
        a = 99;
      if (a > 9 && a < 99)
        a = 9;
    } break;
    case dataset_id::zm2000a: {
      a = ZM2000A_0445() + ZM2000A_0446();
      if (ZM2000A_0445() == 99 || ZM2000A_0446() == 99)
        a = 99;
      if (a > 9 && a < 99)
        a = 9;
      if ((ZM2000A_0445() == 99 || ZM2000A_0446() == 99) &&
          ZM2000A_0403() == 2 && ZM2000A_0404() >= 12)
        a = 0;
    } break;
    case dataset_id::zm2010a: {
      a = ZM2010A_0456() + ZM2010A_0457();
      if (ZM2010A_0456() == 99 || ZM2010A_0457() == 99)
        a = 99;
      if (a > 10 && a < 99)
        a = 10;
      if ((ZM2010A_0456() == 99 || ZM2010A_0457() == 99) &&
          ZM2010A_0403() == 2 && ZM2010A_0404() >= 12 &&
          (ZM2010A_0401() == 1 || ZM2010A_0401() == 3))
        a = 0;
    } break;
    case dataset_id::et1984a: {
      a = ET1984A_0422() + ET1984A_0423();
      if (a > 8 && a < 98)
        a = 8;
      if (ET1984A_0422() == 98 || ET1984A_0423() == 98)
        a = 98;
      if (ET1984A_0422() == 99 || ET1984A_0423() == 99)
        a = 99;
    } break;
    case dataset_id::et1994a: {
      a = ET1994A_0423() + ET1994A_0424();
      if (a > 7 && a < 98)
        a = 7;
      if (ET1994A_0423() == 98 || ET1994A_0424() == 98)
        a = 98;
      if (ET1994A_0423() == 99 || ET1994A_0424() == 99)
        a = 99;
    } break;
    case dataset_id::et2007a: {
      a = ET2007A_0424() + ET2007A_0425();
      if (a > 7 && a < 98)
        a = 7;
      if (ET2007A_0424() == 98 || ET2007A_0425() == 98)
        a = 98;
      if (ET2007A_0424() == 99 || ET2007A_0425() == 99)
        a = 99;
    } break;
    case dataset_id::bw1981a: {
      if (BW1981A_0417() == 99 & BW1981A_0416() == 0)
        a = 0;
    } break;
    case dataset_id::bw1991a: {
      if (BW1991A_0434() == 99 && BW1991A_0433() == 0)
        a = 0;
    } break;
    case dataset_id::bw2001a: {
      if (BW2001A_0428() < 98 && BW2001A_0429() < 98)
        a = BW2001A_0428() + BW2001A_0429();
      if (BW2001A_0428() == 98 || BW2001A_0429() == 98)
        a = 98;
      if (BW2001A_0428() == 99 && BW2001A_0429() == 99)
        a = 99;
      if (BW2001A_0428() == 99 && BW2001A_0429() < 98)
        a = BW2001A_0429();
      if (BW2001A_0429() == 99 && BW2001A_0428() < 98)
        a = BW2001A_0428();
      if (BW2001A_0426() == 0 && BW2001A_0427() == 0)
        a = 0;
      if (a > 7 && a < 98)
        a = 7;
    } break;
    case dataset_id::bw2011a: {
      if (BW2011A_0486() == 99 && BW2011A_0485() == 0)
        a = 0;
    } break;
    case dataset_id::tz2012a: {
      if (TZ2012A_0439() < 98 && TZ2012A_0440() < 98)
        a = TZ2012A_0439() + TZ2012A_0440();
      if (TZ2012A_0439() == 99 || TZ2012A_0440() == 99)
        a = 99;
      if ((TZ2012A_0439() == 99 || TZ2012A_0440() == 99) && TZ2012A_0449() == 0)
        a = 0;
      if (a > 9 && a < 98)
        a = 9;
    } break;
    case dataset_id::hn1974a: {
      if (HN1974A_0423() == 99 && HN1974A_0422() == 0)
        a = 0;
    } break;
    case dataset_id::ls1996a: {
      if (LS1996A_0428() < 99 && LS1996A_0427() < 99)
        a = LS1996A_0428() + LS1996A_0427();
      if (a > 7)
        a = 7;
      if (LS1996A_0428() == 99 && LS1996A_0427() == 99)
        a = 99;
    } break;
    case dataset_id::ls2006a: {
      if (LS2006A_0440() < 99 && LS2006A_0441() < 9)
        a = LS2006A_0440() + LS2006A_0441();
      if (a > 6 && a < 99)
        a = 6;
      if (LS2006A_0440() == 99 && LS2006A_0441() == 9)
        a = 99;
    } break;
    case dataset_id::pg1980a: {
      if (PG1980A_0444() < 8 && PG1980A_0445() < 8)
        a = PG1980A_0444() + PG1980A_0445();
      if (a > 6 && a < 12)
        a = 6;
      if (PG1980A_0444() == 8 || PG1980A_0445() == 8)
        a = 98;
      if (PG1980A_0444() == 9 && PG1980A_0445() == 9)
        a = 99;
      if (PG1980A_0444() == 9 && PG1980A_0445() == 9 && PG1980A_0438() == 0 &&
          PG1980A_0439() == 0)
        a = 0;
    } break;
    case dataset_id::pg2000a: {
      if (PG2000A_0432() < 98 && PG2000A_0433() < 98)
        a = PG2000A_0432() + PG2000A_0433();
      if (a > 7 && a < 14)
        a = 7;
      if (PG2000A_0432() == 98 || PG2000A_0433() == 98)
        a = 98;
      if (PG2000A_0432() == 99 && PG2000A_0433() == 99)
        a = 99;
    } break;
    case dataset_id::pg2011a: {
      if (PG2011A_0439() < 99 && PG2011A_0438() < 99)
        a = PG2011A_0439() + PG2011A_0438();
      if (a > 9)
        a = 9;
      if (PG2011A_0439() == 99 && PG2011A_0438() == 99)
        a = 99;
    } break;
    case dataset_id::zw2012a: {
      a = 98;
      if (ZW2012A_0440() < 98 && ZW2012A_0441() < 98)
        a = ZW2012A_0440() + ZW2012A_0441();
      if (a > 6 && a < 98)
        a = 6;
      if (ZW2012A_0440() == 98 || ZW2012A_0441() == 98)
        a = 98;
      if (ZW2012A_0440() == 99 && ZW2012A_0441() == 99)
        a = 99;
      if (ZW2012A_0440() == 99 && ZW2012A_0441() == 99 && ZW2012A_0439() == 2)
        a = 0;
    } break;
    case dataset_id::la2005a: {
      a = LA2005A_0424() + LA2005A_0425();
      if (a > 8)
        a = 8;
      if (LA2005A_0424() == 99 || LA2005A_0425() == 99)
        a = 99;
      if (LA2005A_0423() == 2 && a == 99)
        a = 0;
    } break;
    case dataset_id::np2011a: {
      a = NP2011A_0430() + NP2011A_0431();
      if (a > 8)
        a = 8;
      if (NP2011A_0430() == 99 || NP2011A_0431() == 99)
        a = 99;
      if (NP2011A_0429() == 2 && a == 99)
        a = 0;
    } break;
    case dataset_id::mm2014a: {
      if (MM2014A_0431() < 99 && MM2014A_0432() < 99)
        a = MM2014A_0431() + MM2014A_0432();
      if (MM2014A_0431() < 99 && MM2014A_0432() < 99 && a > 9)
        a = 9;
      if (MM2014A_0431() == 99 || MM2014A_0432() == 99)
        a = 99;
    } break;
    }

    setData(a);
  }
};

    

Description

HOMECHILD indicates the number of surviving biological children living in the household with their mother (the respondent) at the time of the census.

Comparability — Index

GENERAL
Belarus
Botswana
El Salvador
Ethiopia
Fiji
Haiti
Honduras
Indonesia
Kenya
Laos
Lesotho
Liberia
Morocco
Myanmar
Nepal
Papua New Guinea
Sierra Leone
South Sudan
Sudan
Tanzania
Thailand
Vietnam
Zambia
Zimbabwe

Comparability — General

Some samples limit the universe to women of childbearing age or to ever-married women. Top-codes vary across samples.

HOMECHILD should not be confused with the IPUMS International constructed variable NCHILD, which may include non-biological children.

Separate sex-specific data are available for some samples in HOMEMALE and HOMEFEM. AWAYCHILD identifies biological children living elsewhere in another household from their mother.

Comparability — Belarus [top]

The 1999 integrated variable is constructed from multiple unharmonized variables.

Comparability — Botswana [top]

The 1981, 1991, and 2011 samples are top-coded at 10 or more children. The information for 2001 is constructed from two separate source variables, and it is top-coded at seven or more children.

Comparability — El Salvador [top]

The 1992 and 2007 samples are top coded at 12+ children.

Comparability — Ethiopia [top]

The data for 2007 are limited to only long-form respondents.
The integrated variables for 1984, 1994, and 2007 are constructed from multiple unharmonized variables.

Comparability — Fiji [top]

In the 1986 and 1996 samples, this variable is calculated from two separate source variables that are top-coded. In the 2007 sample, it is calculated from a single source variable. The universe is comparable across samples.

Comparability — Haiti [top]

There are a large number of missing cases for the 1982 sample.

Comparability — Honduras [top]

The 1974 sample is top-coded at 12+ children.

Comparability — Indonesia [top]

The universe differs significantly across samples, with respect to marital status and age.

The 1990, 1995 and 2010 data are calculated from two separate variables. The 2010 sample has top-coding for these variables. There is under-reporting in the number of children for a small group of respondents. See the unharmonized source variable to identify the affected cases.

Comparability — Kenya [top]

The data for all samples are calculated from separate variables for male and female children. This variable is top-coded at 12 or more children all samples.

The 1999 and 2009 census questions specified that the response pertained to children who "usually" lived in the household, while the earlier questionnaires did not include this language. A large number of cases lack responses in the 1979 and 1989 samples.

The universe is females age 12 and older for all samples except 1979. The 1979 enumeration form indicates that the universe was females age 12+, but it appears to actually be females age 15+.

Comparability — Laos [top]

The variable is constructed from separate male and female variables. The data are top-coded at 8+ children for 1995 and 2005, and at 9+ children in 2015.

Comparability — Lesotho [top]

The integrated variable for 1996 and 2006 is calculated from separate variables indicating the number of male and female children living in the household. The data are top-coded at 7+ children in 1996 and at 6+ children in 2006.

Comparability — Liberia [top]

The universe differs across samples.

The 2008 integrated variable is constructed from multiple unharmonized variables.

Comparability — Morocco [top]

The universe differs across samples with respect to the age of respondents.

Comparability — Myanmar [top]

In 2014, the data is calculated from male and female children at the household and it is top-coded at 9+ children.

Comparability — Nepal [top]

The data are calculated from separate sex-specific variables that have top-coding. The universe is limited to ever-married women.

Comparability — Papua New Guinea [top]

The integrated variable for 1980 and 2000 is calculated from separate variables indicating the number of male and female children living in the household. The data are top-coded at 6+ children in 1980 and at 7+ children in 2000.

Comparability — Sierra Leone [top]

The 2004 variable is constructed from separate sex-specific variables. The 2015 sample is top-coded at 12+ children.

Comparability — South Sudan [top]

The data are calculated from two separate variables and top-coded at 12 or more children.

Comparability — Sudan [top]

The data are calculated from two separate variables and top-coded at 12 or more children.
The universe is limited to ever-married women.

Comparability — Tanzania [top]

The data are calculated from two separate variables in the 1988, 2002, and 2012 samples. The 2002 sample is top-coded at 20 or more children, and 2012 sample is top-coded at 9 or more children. Thus HOMECHILD underestimates the number of children in a small number of cases. See the unharmonized source variables to identify the affected cases.

Comparability — Thailand [top]

The minimum age for respondents differs slightly between samples. Both samples ask the question to ever-married women only.

Comparability — Vietnam [top]

The 2019 sample is calculated from two separate variables for male and female children, with a top-code at 7+ children.

Comparability — Zambia [top]

The universe varies slightly across samples.

Comparability — Zimbabwe [top]

The integrated variable for 2012 is calculated from separate variables indicating the number of male and female children living in the household. The data are top-coded at 6+ children in 2012.

Universe

  • Belarus 1999: Females age 15+
  • Botswana 1981: Present resident females age 12+
  • Botswana 1991: Females age 12+
  • Botswana 2001: Female age 12+ except institutionalized non-residents
  • Botswana 2011: Female age 12+ except institutionalized non-residents
  • El Salvador 1992: Females age 12+
  • El Salvador 2007: Females age 12+
  • Ethiopia 1984: Female residents age 10+
  • Ethiopia 1994: Female residents age 10+
  • Ethiopia 2007: Long form female respondents age 10+
  • Fiji 1986: Females age 15+
  • Fiji 1996: Females age 15+
  • Fiji 2007: Females age 15+
  • Haiti 1982: Females age 15+
  • Honduras 1974: Females age 15+
  • Indonesia 1976: Ever-married females
  • Indonesia 1980: Ever-married females
  • Indonesia 1990: Ever-married females age 10+
  • Indonesia 1995: Ever-married females age 10 to 54
  • Indonesia 2010: Females age 10+ in regular enumeration areas
  • Kenya 1979: Females age 15+
  • Kenya 1989: Females age 12+
  • Kenya 1999: Females age 12+
  • Kenya 2009: Females age 12+
  • Laos 1995: Females age 15 to 49
  • Laos 2005: Females age 15 to 49
  • Laos 2015: Females age 15 to 49
  • Lesotho 1996: Females age 12+
  • Lesotho 2006: Females age 12 to 49
  • Liberia 1974: Females age 10+
  • Liberia 2008: Females age 12 to 54
  • Morocco 1982: Ever-married females age 50 or younger
  • Morocco 1994: Ever-married females age 10+
  • Morocco 2004: Ever-married females
  • Myanmar 2014: Ever-married women age 15+ in conventional households
  • Nepal 2001: Ever-married females age 15 to 49
  • Nepal 2011: Ever-married females age 15 to 49
  • Papua New Guinea 1980: Urban females age 15+
  • Papua New Guinea 2000: Citizen females age 15+
  • Sierra Leone 2004: Females age 10+
  • Sierra Leone 2015: Females age 10+ in occupied private households
  • South Africa 2007: Females age 12 to 50
  • South Sudan 2008: Females age 12 to 54
  • Sudan 2008: Ever-married females age 12 to 54
  • Tanzania 1988: Females age 12+
  • Tanzania 2002: Females age 12+
  • Tanzania 2012: Females age 12+
  • Thailand 1980: Ever-married females age 11+
  • Thailand 1990: Ever-married females age 13+
  • Uganda 2002: Females age 12 to 54
  • Uruguay 2006: Females age 14+
  • Vietnam 1999: Females age 15 to 49
  • Vietnam 2009: Females age 15 to 49
  • Vietnam 2019: Females age 10 to 49
  • Zambia 1990: Females age 12+
  • Zambia 2000: Females age 12+
  • Zambia 2010: Present resident and visitor females age 12+
  • Zimbabwe 2012: Females age 15 to 49

Availability

  • Belarus: 1999
  • Botswana: 1981, 1991, 2001, 2011
  • El Salvador: 1992, 2007
  • Ethiopia: 1984, 1994, 2007
  • Fiji: 1986, 1996, 2007
  • Haiti: 1982
  • Honduras: 1974
  • Indonesia: 1976, 1980, 1990, 1995, 2010
  • Kenya: 1979, 1989, 1999, 2009
  • Laos: 1995, 2005, 2015
  • Lesotho: 1996, 2006
  • Liberia: 1974, 2008
  • Morocco: 1982, 1994, 2004
  • Myanmar: 2014
  • Nepal: 2001, 2011
  • Nigeria: 2006, 2007
  • Papua New Guinea: 1980, 2000
  • Sierra Leone: 2004, 2015
  • South Africa: 2007
  • South Sudan: 2008
  • Sudan: 2008
  • Tanzania: 1988, 2002, 2012
  • Thailand: 1980, 1990
  • Uganda: 2002
  • Uruguay: 2006
  • Vietnam: 1999, 2009, 2019
  • Zambia: 1990, 2000, 2010
  • Zimbabwe: 2012