Computational Model Library

Social and Childcare Provision in Kinship Networks (version 1.0.0)

This model simulations social and childcare provision in the UK. Agents within simulated households can decide to provide for informal care, or pay for private care, for their loved ones after they have provided for childcare needs. Agents base these decisions on factors including their own health, employment status, financial resources, relationship to the individual in need and geographical location. This model extends our previous simulations of social care by simulating the impact of childcare demand on social care availability within households, which is known to be a significant constraint on informal care provision.

Results show that our model replicates realistic patterns of social and child care provision, suggesting that this framework can be a valuable aid to policy-making in this area.

Release Notes

The file contains the model’s parameters (with the possibility to run the model on multiple threads). In line 635, the boolean variable ‘parametersFromFiles’ is set: if False, the values of the parameters will be those indicated in; if True, the values of the parameters are read from the two csv files ‘metaParameters’ and ‘defaultParameters’.

The file also reads (if ‘parametersFromFiles’ is set to True) the two csv files ‘policyParameters’ and ‘sensitivityParameters’. In these files, the columns after the first one contain the name and the values of the parameters we wish to change when simulating different policies or to perform the sensitivity analysis, respectively. The first column contains the ‘combinationKey’ parameter, which specifies the way the parameters’ values will be combined. If ‘combinationKey’ is set to 1, each row of parameters will be read sequentially; if it is set to 2, the values will be read one at a time (while the others will keep their default value); if it is set to 3, a simulation for each parameters’ combination will be run (while if ‘combinationKey’ is set to 0, no policy or sensitivity run takes place).

The second-to-last column of the ‘metaParameters’ file contains the ‘multiprocessing’ boolean parameter: if it is set to True, multiple simulations can be run simultaneously, specifying in the last column the number of processors.

The version of Python used is Python 2.7.14 and the following packages are needed: numpy 1.14.0, pandas 0.22.0 and networkx 2.1

To run the model, in the Anaconda prompt go to the folder where the files have been downloaded, digit ‘python’ and press Enter.

When starting the simulation, a folder called ‘Simulations_Folder’ will be automatically created in the same folder of the files. Here the simulation’s results are saved (in the Outputs.csv file).

Version Submitter First published Last modified Status
1.0.0 Eric Silverman Thu Oct 21 18:08:14 2021 Thu Oct 21 18:08:14 2021 Published


This website uses cookies and Google Analytics to help us track user engagement and improve our site. If you'd like to know more information about what data we collect and why, please see our data privacy policy. If you continue to use this site, you consent to our use of cookies.