Headwater Science partners with clients to advance healthcare research by converting large, messy source data into analysis-ready datasets and producing reproducible statistical outputs. This hybrid role in Durham, NC supports research studies end to end, from cohort construction and eligibility logic through modeling, diagnostics, and report-ready tables and figures.
As a Data Scientist, you will write R code to implement research protocols and SAP specifications, using quality control practices and documentation to ensure results can be reproduced each time a pipeline runs.
What you will do
- Develop R code to execute research projects, including cohort construction and running analyses that generate study results.
- Coordinate development through GitLab as code is assembled into project deliverables.
- Support the cohort building and analysis/reporting phases of research projects, working from study protocols and study design decisions.
- Apply domain knowledge of how clinical events are represented across different databases to choose appropriate study variables.
- Use dbplyr to query relational source databases from R, generating SQL for tables that are too large to load fully into memory.
- Implement eligibility criteria from the study protocol and/or SAP to identify the study population.
- Determine the index date and start of follow-up for each patient.
- Build analytic datasets, often organized as one row per patient with baseline characteristics, time-varying treatment and health status changes, outcomes of interest, and censoring.
- Fit models specified in the study design, including use of causalRisk, Headwater Science’s internal causal inference package for observational data.
- Run analysis diagnostics such as checking propensity score distributions, weight behavior, and covariate balance, and flag issues back to the study design team.
- Create study results components including tables and figures such as baseline characteristics, effect estimates, risk curves, and treatment patterns, then assemble them into client deliverables.
- Build project repositories as orchestrated pipelines so study results can be reproduced reliably whenever the pipeline is executed.
Quality control and collaboration
- Participate in quality control procedures including code review, testing, and double coding of analysis portions as an independent check.
- Work closely with the study design team across the study lifecycle, incorporating changing requirements, sharing interim results, and providing feedback on how well the study design aligns with the available data.
- Extend the project pipeline from the analytic-ready dataset through to the finished report.
What you bring
- Master’s degree, or 2+ years of relevant work experience in biostatistics, epidemiology, health economics, bioinformatics, data science, or a related quantitative field.
- Strong R programming skills.
- Experience querying relational databases, either directly in SQL or via tools like dbplyr.
- Experience writing code that others can read, run, and reproduce.
- Strong communication, presentation, and collaboration skills with cross-functional technical and scientific teams.
Tools and technologies
- R
- GitLab
- dbplyr
- SQL
- causalRisk
Benefits
- Hybrid work
- Comprehensive health, dental, and vision coverage for you and your family
- 401(k) with company match
- Generous PTO and company holidays
- Paid parental leave
Nice to have
- Experience with real-world healthcare data such as administrative claims, EHR, hospital chargemaster, or registry data
- Experience constructing longitudinal datasets for observational research