Skip to content

STATA code for estimating the contribution of motherhood to the size of permanent income risk using NLSY data (National Longitudinal Survey Data). This was a part of a RA project under Prof. Trevor Gallen (Fall 2019)

Notifications You must be signed in to change notification settings

debasmita-das-econ/Stata-Income-Risk-Estimation-NLSY

Repository files navigation

NLSY - Permanent Income Risk Estimation

This repository contains STATA codes that I wrote for an RA Assignment under Prof. Trevor Gallen (Fall 2019). In this project, I used data from the NLSY (National Longitudinal Survey Data) to estimate the contribution of motherhood to the size of permanent income risk.

Data and Stata Files

Code

  • dataclean.do: Loads the raw dataset, reads in the dictionary file, keeps variables of interest, renames variables, constructs variables, cleans data and save working data.

    • Output: nlsy_2019/nlsy_working.dta
    • We can get the working data by running the dataclean.do file
  • incvariance.do: Estimates contribution of motherhood to the size of permanent income shocks

    • Data used: nlsy_2019/nlsy_working.dta
    • Output: nlsy_2019/residual.dta
    • Deflate nominal income variables using personal consumption expenditure, estimate residual income by performing regression, estimate variance of the permanent income shocks
  • master.do: runs all .do files using one click

Author

Debasmita Das (Purdue University, 2019)

About

STATA code for estimating the contribution of motherhood to the size of permanent income risk using NLSY data (National Longitudinal Survey Data). This was a part of a RA project under Prof. Trevor Gallen (Fall 2019)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages