To get started, create the environment with
$ conda/mamba env create
To build the project, type
$ pytask
This project was created with cookiecutter and the cookiecutter-pytask-project template.
The Career Costs of Elderly Parent Care
License: MIT License
To get started, create the environment with
$ conda/mamba env create
To build the project, type
$ pytask
This project was created with cookiecutter and the cookiecutter-pytask-project template.
outcome: parent_alive
(by gender, i.e., mother and father separately)
features: age
, age^2
, health_state
, interaction between age
* health
?
For now, use logit for tractability. Could use machine learning also.
Restrict caregivers on:
Due to RAM limitations of the GPUs available on Google Colab, discretize age into two-year age bins.
Consider switching to Google Cloud for more powerful GPUs.
Fix bug in the simulation function where for some cases jnp.mean
throws an error. This affects the creation of asset, wage, and savings (rate) moments.
Incorporate the presence of siblings.
The care mix is the share of each caregiving mode for a given demographic, e.g. people in the age interval [70, 75).
Adjust the data from the statistical office to match the "restricted" child sample. Children providing informal care to anyone else except their parents are dropped.
The share of parental care in the informal care mix is about 50%.
For RAM reasons, reduce state space. Remove married
state for now.
Estimate discrete distribution of parental age at agent's initial age when they enter the model (currently age 40).
Make parent's move to nursing home absorbing.
Check sample size
Signed Integers:
np.int8: 8-bit signed integer, from -128 to 127.
np.int16: 16-bit signed integer, from -32,768 to 32,767.
np.int32: 32-bit signed integer, from -2,147,483,648 to 2,147,483,647.
np.int64: 64-bit signed integer, from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
Unsigned Integers:
np.uint8: 8-bit unsigned integer, from 0 to 255.
np.uint16: 16-bit unsigned integer, from 0 to 65,535.
np.uint32: 32-bit unsigned integer, from 0 to 4,294,967,295.
np.uint64: 64-bit unsigned integer, from 0 to 18,446,744,073,709,551,615.
Care Mix by parental health type and other parent alive (SHARE parent-child data set)
e.g. share informal care by mother: 3 health states * 2 (father dead/alive) * 2 (siblings/sister yes/no)
Fix import and module paths.
wage offer (include person and year fixed effects)
ln(wage) = omega_0 + omega_1 * high_educ + omega_2 * exp + omega_3 * exp ** 2 + v
Include interactions of exp and exp ** 2 with high_educ
Job offer probability after unemployment
job_offer = beta_0 + beta_1 * I(age >= 62) + beta_2 * high_educ + e
See Adda et al (2017)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.