Coder Social home page Coder Social logo

elder_care's People

Contributors

dependabot[bot] avatar pre-commit-ci[bot] avatar segsell avatar

Stargazers

 avatar  avatar

Watchers

 avatar

elder_care's Issues

Use unsigned integers where possible

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.

Estimate wage and job offer equations exgenously on SOEP data.

  • 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 
    

Sample restriction SOEP

Restrict caregivers on:

  • having healthy spouse (if married/in partnership)
  • being healthy themselves
  • intra/extra household care? (sometimes parents co-inhabit caregivers home)

Adjusted care mix moments

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%.

Consumption equivalence scale

from OECD. See also here

(Old) Formula: 1 + 0.7 * x

where x is the number of additional persons in the household.

What about number of children in the household? Would require an additional state variable.

Discretize age into 2-year bins

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.

Predict parental survival rate using SHARE data

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.