Grouped observations in a person level data set

 

Persons grouped by household

 

  • H_SEQ is the household sequence number
  • PERSON is the person number within the household
  • observations have been sorted by H_SEQ PERSON
  • each observation is a person
H_SEQ     PERSON   AGE    MARITL  SEX      HGA       RACE     PERRP     

 1         1       31     1       1        39        1         1
 1         2       36     1       2        44        1         3
 1         3        7     7       1         0        1         4
 1         4        2     7       2         0        1         4

 2         1       31     7       2        39        1         1
 2         2       49     5       2        39        1         6
 2         3       10     7       1         0        1         4

 3         1       50     1       1        43        1         1
 3         2       52     1       2        44        1         3
 3         3        8     7       2         0        1         4
 3         4       10     7       1         0        1         4
 3         5       46     6       2        35        1        12

 4         1       71     1       1        45        1         1
 4         2       68     1       2        43        1         3

 5         1       67     4       2        31        1         2
      .
      .
      .

Continue with BY groups?

 

Another topic?

Wink Plone Theme by Quintagroup © 2013.

Personal tools
This is themeComment for Wink theme