js-808 / FamilyNetworksResearch

0 stars 5 forks source link

child distributions #2

Open koltonrb opened 2 years ago

koltonrb commented 2 years ago

It seems likely that the current method of calculating the number of children counts only those children who have both parents listed in the graph (specifically those children whose parents are listed in the list of marriage edges).

We need to figure out how many children are being missed (IE which proportion of children have only one parent given in the graph) and if we want to then include this single-parent structure in our model).

js-808 commented 1 year ago

I have merged in a method of fixing these into the main branch. It can be found inside of "Data/Data_Scripts/dataParser.py", specifically by looking at the functionality of the main and get_children_distributions functions. Please review, and let me know it this works.