Data Cart

Your data extract

0 variables
0 samples
View Cart
LASTBSURV
Number of children surviving from last birth

Codes and Frequencies



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

Explore how IPUMS created this variable

Download


      class Lastbsurv : public Editor {

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

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::vn1999a: {
      int b = VN1999A_0440();
      int c = VN1999A_0441();
      if (b == 2)
        b = VN1999A_0440.getSourceDataAsLong();
      if (c == 2)
        c = VN1999A_0441.getSourceDataAsLong();
      int d = VN1999A_0442();
      int e = VN1999A_0443();
      if (b <= 3 && c <= 3 && d <= 2 && e <= 2)
        a = b + c - d - e;
      if (b == 8 || c == 8 || d == 8 || e == 8)
        a = 8;
      if (b == 9 || c == 9 || d == 9 || e == 9)
        a = 9;
      if (a > 2 && a < 8)
        a = 2;
    } break;
    case dataset_id::zw2012a: {
      if (ZW2012A_0452() < 98 && ZW2012A_0451() < 98)
        a = ZW2012A_0452() + ZW2012A_0451();
      if (a > 3 && a < 8)
        a = 3;
      if (ZW2012A_0452() == 98 || ZW2012A_0451() == 98)
        a = 8;
      if (ZW2012A_0452() == 99 || ZW2012A_0451() == 99)
        a = 9;
    } break;
    }
    setData(a);
  }
};

    

Description

LASTBSURV indicates the number of children from a woman's last birth occurrence who are still living.

Comparability — Index

GENERAL
Zimbabwe

Comparability — General

There are no comparability issues. See LASTBDEAD for the number of children from the last birth who have died.

Comparability — Zimbabwe [top]

In 2012, LASTBSURV is constructed from separate source variables indicating the number of males surviving from the last live birth and the number of females surviving from the last live birth.

Universe

  • Females age 15 to 49 who ever gave birth

Availability

  • Vietnam: 1989, 1999
  • Zimbabwe: 2012