https://iserredex.essex.ac.uk/support/https://iserredex.essex.ac.uk/support/support/favicon.ico?15995719382019-08-29T10:07:31ZUnderstanding Society User SupportUnderstanding Society User Support - Support #1234: Variable for checking if parent has same ex-partner for all childrenhttps://iserredex.essex.ac.uk/support/issues/1234?journal_id=46292019-08-29T10:07:31ZAlita Nandi
<ul><li><strong>Subject</strong> changed from <i>Variable for checking if parent has same ex-partner for all childre</i> to <i>Variable for checking if parent has same ex-partner for all children</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Charlotte Edney</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>10</i></li><li><strong>Private</strong> changed from <i>Yes</i> to <i>No</i></li></ul><p>Hello Charlotte,</p>
<p>I have run a quick check and compared c_exsame e_exsame g_exsame and found:<br />1. 62 cases where c_exsame=2 & e_exsame=1<br />2. 75 cases where c_exsame=1 & e_exsame=2<br />3. 90 cases where e_exsame=2 & g_exsame=1<br />4. 84 cases where e_exsame=1 & g_exsame=2</p>
<p>Is this what you find?</p>
<p>Best wishes,<br />Alita</p> Understanding Society User Support - Support #1234: Variable for checking if parent has same ex-partner for all childrenhttps://iserredex.essex.ac.uk/support/issues/1234?journal_id=46302019-08-29T10:31:48ZCharlotte Edneyc.edney@lancaster.ac.uk
<ul></ul><p>Hi Alita,</p>
<p>Thanks for looking into it.<br />I was using a merged dataset and looked at it observationally but also checked the individual file in wide format to be sure it wasn't coming from one of my merges.</p>
<p>I get similar but slightly different numbers:<br />1. 46 cases where c_exsame=2 & e_exsame=1<br />2. 60 cases where c_exsame=1 & e_exsame=2<br />3. 79 cases where e_exsame=2 & g_exsame=1<br />4. 74 cases where e_exsame=1 & g_exsame=2</p>
<p>also<br />5. 86 cases where c_exsame=2 & g_exsame=1<br />6. 93 cases where c_exsame=1 & g_exsame=2</p>
<p>Not quite sure why we've got a disrecpency as I only used the individual file in wide format to cross tabulate.</p>
<p>Best,<br />Charlotte</p> Understanding Society User Support - Support #1234: Variable for checking if parent has same ex-partner for all childrenhttps://iserredex.essex.ac.uk/support/issues/1234?journal_id=46372019-09-02T17:25:23ZAlita Nandi
<ul><li><strong>% Done</strong> changed from <i>10</i> to <i>50</i></li></ul><p>For 5. & 6., my numbers are 91 and 97. You are consistently getting slightly fewer discrepancies than I am. Not sure why. Have you added any condition that drops some cases? Below is the code I used. Ignoring the difference in our numbers, the % of discrepancy between Wave 3-5 is around 7.6%, higher for the other waves (12.3% between 5 & 7, 15.4% between Waves 3 & 7). Have you checked whether the PIDP of the children reported are the same in the cases where you find the discrepancies - I mean could some of these be genuine cases of change in circumstances?</p>
<p>Hope this helps.</p>
<p>If you have further questions or follow-ups please let us know.<br />Best wishes,<br />Alita</p>
<hr />
<p>foreach w in c e g {<br /> qui use pidp <strong>exsame</strong> using "$m/`w'_indresp.dta", clear<br /> save `w', replace<br />}<br />use c, clear<br />merge 1:1 pidp using e, nogen<br />merge 1:1 pidp using g, nogen</p>
<ul>
<li>recoding missing values to system missing<br />mvdecode _all, mv(-9/-1)</li>
</ul>
<p>ta c_exsame e_exsame if c_exsame~=e_exsame, nol<br />ta e_exsame g_exsame if g_exsame~=e_exsame, nol<br />ta c_exsame g_exsame if c_exsame~=g_exsame, nol</p>
<p>generat diffce=0 if c_exsame<. & e_exsame<.<br />replace diffce=1 if c_exsame<. & e_exsame<. & c_exsame~=e_exsame<br />ta diffce</p>
<p>generat diffeg=0 if g_exsame<. & e_exsame<.<br />replace diffeg=1 if g_exsame<. & e_exsame<. & g_exsame~=e_exsame<br />ta diffeg</p>
<p>generat diffcg=0 if g_exsame<. & c_exsame<.<br />replace diffcg=1 if g_exsame<. & c_exsame<. & g_exsame~=c_exsame<br />ta diffcg</p> Understanding Society User Support - Support #1234: Variable for checking if parent has same ex-partner for all childrenhttps://iserredex.essex.ac.uk/support/issues/1234?journal_id=59562021-03-02T19:17:11ZUnderstanding Society User Support Teamusersupport@understandingsociety.ac.uk
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>Assignee</strong> deleted (<del><i>Charlotte Edney</i></del>)</li><li><strong>% Done</strong> changed from <i>50</i> to <i>100</i></li></ul>