Example-5: Merging Sibling Map and Analysis Data Files.

Definition: A sibling map is a pair of the PSID individuals having at least one parent in common. Table-0d below is an example.

The following example shows how to construct an analysis file by merging data from sibling map and individual data files.

In the tables below, except table-1, individual data are presented in red, and sibling data are presented blue.


Table-0v:- Sibling Map File: Variable Descriptin

     Name     Label                                        Format
     ID68     "1968 INTERVIEW # OF INDIVIDUAL          "     Z4.
     PN       "PERSON # OF INDIVIDUAL                  "     Z3.
     SEX      "GENDER OF INDIVIDUAL                    "     F1.
     SIBNUM   "SIBLING NUMBER                          "     F2.
     ID68S    "1968 INTERVIEW # OF SIBLING             "     Z4.
     PNS      "PERSON # OF SIBLING                     "     Z3.
     SIBSEX   "GENDER OF SIBLING                       "     F1.
     SIBTYPE  "TYPE OF SIBLING                         "     F1.
     PSTRING  "PARENTS STRING                          "    $10.
     SIBMAKER "SIBLING MAKER                           "    $30.

Table-0d:- Generation ID Custom Map File: Data Values

    #    ID68   PN   Sex      SibNum  ID68S  PNS    SibSex     SibType  Parents String  Sibling Maker
    1    2069  003    2          1     2069  030       2          2     1200-1200       (1-1)
    2    2069  030    2          1     2069  003       2          2     1200-1200       (1-1)
    3    2069  030    2          2     2069  174       1          5     1200-0200       (2-2)
    4    2069  172    2          1     2069  173       1          4     1000-1000       (1-1)
    5    2069  173    1          1     2069  172       2          4     1000-1000       (1-1)
    6    2069  174    1          1     2069  030       2          5     0200-1200       (2-2)


Table-1v: Analysis Data File: Variable Meta

     Name    Label                                         W.D
     ID68    "1968 Family Number of Individual        "    4.0
     PN      "Person Number of Number                 "    3.0
     CVI     "Civility Index @ Age=25                 "    4.2

Table-1d:- Analysis Data File: Values

    #    ID68    PN     CVI
    1    2069   001    0.18
    2    2069   002    0.97
    3    2069   003    0.40
    4    2069   004    0.26
    5    2069   005    0.92
    6    2069   030    0.97
    7    2069   031    0.54
    8    2069   170    0.53
    9    2069   171    0.05
   10    2069   172    0.07
   11    2069   173    0.82
   12    2069   174    0.52
   13    2069   175    0.85
   14    2069   176    0.07
   15    2069   177    0.96
   16    2069   178    0.30
   17    2069   179    0.27


Table-2v: Individual Data File: Variable Meta

     Name    Label                                     W.D
     ID68    "1968 Family ID of Individual        "    4.0
     PN      "Person Number                       "    3.0
     CVI     "Civility Index @ Age=25             "    4.2

Table-2d: Individual Data File: Values

    #    ID68    PN     CVI
    1    2069   003    0.40
    2    2069   030    0.97
    3    2069   172    0.07
    4    2069   173    0.82
    5    2069   174    0.52


Table-3v: Sibling Data File: Variable Meta

     Name    Label                                     W.D
     ID68S   "1968 Family ID of Sibling           "    4.0
     PNS     "Person Number                       "    3.0
     CVIS    "Civility Index @ Age=25: Sibling    "    4.2

Table-3d: Sibling Data File: Values

    #   ID68S   PNS    CVIS
    1    2069   003    0.40
    2    2069   030    0.97
    3    2069   172    0.07
    4    2069   173    0.82
    5    2069   174    0.52



Table-4v:- Intra-generations Analysis Data File: Variable Meta
     Name      Label                                      Width
     ID68      "1968 INTERVIEW # OF INDIVIDUAL          "   Z4.
     PN        "PERSON # OF INDIVIDUAL                  "   Z3.
     SEX       "GENDER OF INDIVIDUAL                    "   F1.
     SIBNUM    "SIBLING NUMBER                          "   F2.
     ID68S     "1968 INTERVIEW # OF SIBLING             "   Z4.
     PNS       "PERSON # OF SIBLING                     "   Z3.
     SIBSEX    "GENDER OF SIBLING                       "   F1.
     SIBTYPE   "TYPE OF SIBLING                         "   F1.
     CVI       "Civility Index @ Age=25: Individual     "   F4.2
     CVIS      "Civility Index @ Age=25: Sibling        "   F4.2



Table-4d:- Generation ID Custom Map File: Data Values

    #    ID68   PN   Sex      SibNum  ID68S  PNS    SibSex     SibType     CVI     CVIS
    1    2069  003    2          1     2069  030       2          2       0.40     0.97
    2    2069  030    2          1     2069  003       2          2       0.97     0.40
    3    2069  030    2          2     2069  174       1          5       0.97     0.52
    4    2069  172    2          1     2069  173       1          4       0.07     0.82
    5    2069  173    1          1     2069  172       2          4       0.82     0.07
    6    2069  174    1          1     2069  030       2          5       0.52     0.97