********************************************************************************************************
*** Preamble: This readme-file relates to the paper "Lois, D. & Arránz Becker, O. (2023): **************
*** Parental Status Homogeneity in Social Networks: The Role of Homophilous Tie Selection in Germany ***
******************************************************************************************************** 

The zip file includes one Stata Do-file named "Parental Status Homogeneity in Social Networks.do". This file includes all code needed to produce the figures and tables.
We have used STATA 17. The data collected by the German Family Panel pairfam are accessible at www.pairfam.de. We have used release 12.0: 

Brüderl, Josef, Sonja Drobnič, Karsten Hank, Franz J. Neyer, Sabine Walper, Philipp Alt, Elisabeth Borschel, Christiane Bozoyan, Madison Garrett, Svenja Geissler, 
Tita Gonzalez Avilés, Nicolai Gröpler, Kristin Hajek, Michel Herzig, Bernadette Huyer-May, Rüdiger Lenke, Renate Lorenz, Katharina Lutz, Lara Minkus, Timo Peter, 
Trang Phan, Richard Preetz, Julia Reim, Barbara Sawatzki, Claudia Schmiedeberg, Philipp Schütze, Nina Schumann, Carolin Thönnissen, Katharina Timmermann & Martin Wetzel. 
2021. The German Family Panel (pairfam). GESIS Data Archive, Cologne. ZA5678 Data file Version 12.0.0, doi.org/10.4232/pairfam.5678.12.0.0

To order the data files please follow the procedure explained at https://www.pairfam.de/en/data/data-access/
Please note that the first names of the network persons (files "names2.dta" and "names4.dta") are not part of the standard scope of delivery. 
To use these data, please contact the prinvipal investigators or project coordinators of pairfam (https://www.pairfam.de/en/team/). 
Before using this data, researchers are required to sign a special usage agreement and to work within an individually tailored secure virtual workspace.

The following files and variables were used: 

anchor2.dta:
	age
	cohort
	cps1
	gkpol
	id
	int7 
	int_cont
	intm
	inty
	job7
	k1age-k10age
	migstatus
	net5p1-net5p30
	net7p1-net7p30
	net10p1-net10p30
	net11p1-net11p30
	net12p1-net12p30
	net13p1-net13p30
	net14p1-net14p30
	nkids
	nkidsliv
	relstat
	res2nd
	sex_gen
	wtime
	yeduc
	ykage
	ykagecapi
	
anchor4.dta: 
	age
	cohort
	id 
	intid
	intm
	inty 
	k1age-k10age
	net5p1-net5p30
	net7p1-net7p30
	net10p1-net10p30
	net11p1-net11p30
	net12p1-net12p30
	net13p1-net13p30
	net14p1-net14p30
	nkids
	nkidsbio
	nkidsliv
	relstat
	sex_gen	
	ykage
	ykagecapi
	
names2.dta: 
	nwpnr
	str.netp1n-str.netp30n

names4.dta: 
	nwpnr
	str.netp1n-str.netp30n	

	


