In [1]:
# Add all necessary imports here
import matplotlib.pyplot as plt
%matplotlib inline
plt.style.reload_library()
plt.style.use("ggplot")
To succeed we need to understand the unique character of each of the world’s communities, what Facebook means or could mean to them, and how best to make our technology work for them. We’re looking for people with strong quantitative research skills to help in this effort.
The ideal candidate will be a social scientist with expertise in quantitative research methodologies or a quantitative specialist with experience solving social problems. They’ll be comfortable improvising and have the ability to work cross-functionally and thrive in a fast-paced organization. All product groups across Facebook are hiring including Instagram.
Panel Study of Income Dynamic (PSID)
Since 1968, the survey has followed the same families
The first wave included roughly 5,000 families (18,000 individuals)
Recent waves have about 9,000 families (22,000 individuals)
National Longitudinal Survey of Youth 1979 (NLSY)
Incarceration
Reports of whether a member of a household was incarcerated (n=630)
1995 wave: have ever served time in jail or prison (n=836)
Covariates
Survival Semi-parametric Models (Cox)
Heterogeneity (gamma, family identifier)
Non-proportional hazard adjustments
Marginal Structural Models (MSM)
Past CD4 count is a time- dependent confounder for the effect of zidovudine on survival, because it is a risk factor for mortality and a predictor of subsequent initiation of zidovudine therapy, and past zidovudine history is an independent predictor of subsequent CD4 count. In fact, all standard methods (for example, Cox or Poisson regression) that predict the mortality rate at each time using a summary of zidovudine history up to that time may produce biased estimates of the causal effect of zidovudine whether or not one adjusts for past CD4 count in the analysis.
How much of the gap in mortality between the US and the UK can be attributable to differential imprisonment experiences?
Bayesian approach
Previous knowledge (priors)
Model Uncertainty: BMA or stacking
Measurement of incarceration
Underestimation?
Clear treatment