Kinship linking file for pairs of relatives in the NLSY79 and NLSY79 Children and Young Adults
This dataset specifies the relatedness coefficient (ie, '
subjects in the same extended family. Each row represents a unique
NOTE: Two variable names changed in November 2013.
A data frame with 42,773 observations on the following 5 variables. There is one row per unique pair of subjects, irrespective of order.
Identity of the extended family of the pair; it corresponds to the HHID in the NLSY79. See References below.
Identity of the pair's first subject. See Details below.
Identity of the pair's second subject. See Details below.
The pair's Relatedness coefficient. See Details below.
Specifies the relationship category of the pair. This variable is a factor, with levels
The dataset contains Gen1 and Gen2 subjects. "Gen1" refers to subjects in the original NLSY79 sample (http://www.bls.gov/nls/nlsy79.htm). "Gen2" subjects are the biological children of the Gen1 females -ie, those in the NLSY79 Children and Young Adults sample (http://www.bls.gov/nls/nlsy79ch.htm).
Subjects will be in the same extended family if either:  they are Gen1 housemates,  they are Gen2 siblings,  they are Gen2 cousins (ie, they have mothers who are Gen1 sisters in the NLSY79,  they are mother and child (in Gen1 and Gen2, respectively), or  they are aunt|uncle and niece|nephew (in Gen1 and Gen2, respectively).
SubjectTag_S2 uniquely identify
subjects. For Gen2 subjects, the SubjectTag is identical to their CID (ie,
C00001.00 -the SubjectID assigned in the NLSY79-Children files). However
for Gen1 subjects, the SubjectTag is their CaseID (ie, R00001.00), with
"00" appended. This manipulation is necessary to identify subjects
uniquely in inter-generational datasets. A Gen1 subject with an ID of 43
SubjectTag of 4300. The SubjectTags of her four children
remain 4301, 4302, 4303, and 4304.
Level 5 of
RelationshipPath (ie, AuntNiece) is gender neutral. The
relationship could be either Aunt-Niece, Aunt-Nephew, Uncle-Niece, or
Uncle-Nephew. If there's a widely-accepted gender-neutral term, please
An extended family with k subjects will have k(k-1)/2 rows. Typically, Subject1 is older while Subject2 is younger.
MZ twins have R=1. DZ twins and full-siblings have R=.5.
Half-siblings have R=.25. Typical first cousins have R=.125.
Unrelated subjects have R=0 (this occasionally happens for
Gen1Housemates). Other R coefficients are possible.
There are several other uncommon possibilities, such as half-cousins (R=.0625) and
ambiguous aunt-nieces (R=.125). The variable coding for genetic relatedness,
only the common values of R whose groups are likely to have stable estimates.
However the variable
Links79PairExpanded contains all R values.
We strongly recommend using
R in this
data.frame. Move to
RFull (or some combination) only if you have a good reason, and are willing
to carefully monitor a variety of validity checks. Some of these
excluded groups are too small to be estimated reliably.
Furthermore, some of these groups have members who are more strongly genetically related than their
items would indicate. For instance, there are 41 Gen1 pairs who explicitly claim they are not biologically related
RExplicit=0), yet their correlation for Adult Height is r=0.24. This is
much higher than would be expected for two people sampled randomly; it is nearly identical to
the r=0.26 we observed among the 268 Gen1 half-sibling pairs who claim they share exactly 1
Gen1 information comes from the Summer 2013 release of the NLSY79 sample. Gen2 information comes from the Summer 2013 release of the NLSY79 Children and Young Adults sample. Data were extracted with the NLS Investigator (https://www.nlsinfo.org/investigator/).
The internal version for the links is
The NLSY79 variable HHID (ie, R00001.49) is the source for the
ExtendedID variable. This is discussed at
For more information on R (ie, the Relatedness coefficient), please see Rodgers, Joseph Lee, & Kohler, Hans-Peter (2005). Reformulating and simplifying the DF analysis model. Behavior Genetics, 35 (2), 211-217.
LinksPair79 dataset contains columns necessary for a
basic BG analysis. The
Links79PairExpanded dataset contains
further information that might be useful in more complicated BG analyses.
A tutorial that produces a similar dataset is http://www.nlsinfo.org/childya/nlsdocs/tutorials/linking_mothers_and_children/linking_mothers_and_children_tutorial.html. It provides examples in SAS, SPSS, and STATA.
The current dataset (ie,
Links79Pair) can be saved as a CSV file
(comma-separated file) and imported into in other programs and languages.
In the R console, type the following two lines of code:
"C:/BGDirectory/" is replaced by your preferred directory.
Remember to use forward slashes instead of backslashes; for instance, the
"C:\BGDirectory\Links79Pair.csv" can be misinterpreted.
1 2 3 4 5 6 7 8
library(NlsyLinks) #Load the package into the current R session. summary(Links79Pair) #Summarize the five variables. hist(Links79Pair$R) #Display a histogram of the Relatedness coefficients. table(Links79Pair$R) #Create a table of the Relatedness coefficients for the whole sample. #Create a dataset of only Gen2 sibs, and display the distribution of R. gen2Siblings <- subset(Links79Pair, RelationshipPath=='Gen2Siblings') table(gen2Siblings$R) #Create a table of the Relatedness coefficients for the Gen2 sibs.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.