Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Analyze Oncology Data with Kaplan-Meier and Cox Models

HardMachine Learning00:00
Practice interviewer
In session
5 left
00:00

Your question is Analyze Oncology Data with Kaplan-Meier and Cox Models. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Business Context

OncoHealth, a leading oncology research organization, is analyzing clinical trial data to understand survival outcomes for patients undergoing treatment for lung cancer. The organization aims to identify significant predictors of survival and to visualize survival probabilities over time, aiding in treatment decisions and patient counseling.

Dataset

Feature GroupCountExamples
Patient Demographics5age, gender, ethnicity, smoking_status, performance_status
Treatment Details4treatment_type, dosage, treatment_duration, prior_treatments
Clinical Outcomes3event_observed, survival_time, follow_up_time
  • Size: 1,200 patients with 12 features
  • Target: Time until event (death) or censoring (survivor) in days
  • Class balance: Event observed (death) in 35% of cases, 65% censored
  • Missing data: 10% missing in treatment details, 5% missing in demographic data

Requirements

  1. Generate Kaplan-Meier survival curves for different treatment groups.
  2. Fit a Cox Proportional Hazards model to identify significant predictors of survival.
  3. Provide a summary of the model coefficients and their implications.
  4. Assess the proportional hazards assumption and report on its validity.
  5. Visualize the results and interpret the findings for clinical relevance.

Constraints

  • Analysis must be reproducible and documented for peer review.
  • The model must account for potential confounding variables, ensuring robust conclusions.