Understanding Society User Support: Issues
https://iserredex.essex.ac.uk/support/
https://iserredex.essex.ac.uk/support/support/favicon.ico?1599571938
2014-03-28T12:19:49Z
Understanding Society User Support
Redmine
Understanding Society User Support - Support #252 (Closed): Data on parents of children in c_chil...
https://iserredex.essex.ac.uk/support/issues/252
2014-03-28T12:19:49Z
Jose Iparraguirre
jose.iparraguirre@ageuk.org.uk
<p>I'm working with the Wave 3 data (eventually, I'll look into the three waves but for the moment, I'm at a preliminary cross-sectional analysis stage).<br />I want to get some descriptive characteristics of the parents of the children in the c_child.dta dataset (say, their ages and employment status).<br />The problem is that when I merge c_child.dta with c_indresp I get no matched records. I was suggested to identify the pidp of the parents via the variable c_relationship_dv in the c_egoalt.dta dataset, which I did. But even merging this new dataset with c_indresp leaves me with no records.<br />Could anyone help me with this, please?<br />Many thanks,<br />José</p>
<p>PS: a simple code is:</p>
<p>use "XXX\c_child.dta", clear<br />sort c_hidp <br />merge 1:m c_hidp pidp "XXX\c_indresp.dta"</p>
<p>or,</p>
<p>use "XXX\c_egoalt.dta", clear<br />keep if ( c_relationship_dv>8 & c_relationship_dv<13)<br />save "XXX\red.dta", replace<br />sort c_hidp<br />merge 1:m c_hidp pidp "XXX\c_indresp.dta"</p>