Story 1 · Clinical development
From Phase II evidence to a probability of success
Servier France
Data Scientist (Biostatistics) intern
Onco Late Phase statistics team
May to September 2026 · Saclay
In oncology, most drugs never reach patients.
Phase III is long and very expensive, and the evidence before it is thin.
Few small studies, and they disagree. What chance does the Phase III have? That is the PoS.
Goal: a Bayesian framework on internal and external data, and an app that hides the maths.
Success can mean many things. I focused on statistical success.
The chance that the effect estimated by the Phase III, for example a hazard ratio, falls below the success threshold ν.
A Brownian motion model gives closed-form formulas.
These limits motivated a second, flexible framework.
Hedge the bet with a mixture prior.
Combine a skeptical and an optimistic scenario, and model several levels of uncertainty. illustrative
A fair comparison needs a control group.
Randomised trial: chance decides who gets the drug, so the gap between arms is the treatment effect. ✓
Only the treated group exists. Against what do we compare it?
The missing control group is borrowed: it becomes external studies.
But several external sources each tell their own story, and they disagree. Which one, or which ones, should we trust?
A second hierarchical layer aggregates them, weighting each source by how much it disagrees with the others.
Do external studies reflect today, and our own studies?
Other times, other places: a systematic bias δ separates external studies from today.
How comparable is each external study with ours? The commensurability matrix sets how much to borrow.
Borrowing from past trials to inform the next one.
One true effect μ_Pop, never observed directly.
τ_P2: the historical studies differ from one another.
τ_P3: extrapolation uncertainty from past evidence to the future Phase III.
The data update μ_Pop, which in turn updates θ_P3: information from previous trials informs the future one and gives the PoS.
Not one number: a full distribution carrying 7 levels of uncertainty.
- 1Sampling noise within each study
- 2Heterogeneity between historical trials
- 3Disagreement between external sources
- 4Systematic bias: time and geography
- 5Comparability with internal studies
- 6Prior on the effect: skeptical vs optimistic
- 7Extrapolation from Phase II to Phase III
An R Shiny app: no maths, no code for the user.
About 2 chances in 3 that the Phase III meets its threshold.
illustrative values
0 divergent transitions
- Enter the endpoint, data and assumptions.
- Read PoS, HR or OR, decision, interpretation.
- Check that the computation converged.
- Generate the full report.
Three audiences
Framework II, everything in one place.
Notation of my internship report. Framework II after Jiang et al. (2025), on the log hazard ratio scale. Fitted in Stan (NUTS, non-centred parameterisation).
Tech stack
Rmodelling and analysis
- R Shinyinteractive decision-support app
- StanMCMC, HMC and NUTS sampling
- Bayesian hierarchical modelsMAP priors, borrowing across studies
- Unit testslayered, tested app architecture
HTMLapp interface
CSSapp styling
JavaScriptapp interactions
- Brownian motion framework (Kundu)closed-form PoS
- Mixture and MAP priorsrobust borrowing, commensurability
- Servier internal serverproduction deployment
Récit 1 · Développement clinique
Des preuves de phase II à une probabilité de succès
Servier France
Stagiaire data scientist (biostatistique)
Équipe statistique Onco Late Phase
Mai à septembre 2026 · Saclay
En oncologie, la plupart des médicaments n'arrivent jamais aux patients.
La phase III est longue et très coûteuse, et les preuves disponibles avant sont minces.
Peu d'études, petites, et qui divergent. Quelle chance a la phase III ? C'est la PoS.
Objectif : un cadre bayésien sur données internes et externes, et une application qui cache les maths.
Le succès peut vouloir dire beaucoup de choses. Je me suis concentré sur le succès statistique.
La probabilité que l'effet estimé par la phase III, par exemple un hazard ratio, passe sous le seuil de succès ν.
Un modèle de mouvement brownien donne des formules fermées .
Ces limites ont motivé un second cadre, flexible.
Assurer ses arrières avec un prior en mélange.
Combiner un scénario sceptique et un scénario optimiste, et modéliser plusieurs niveaux d'incertitude. illustratif
Une comparaison juste demande un groupe contrôle.
Essai randomisé : le hasard décide qui reçoit le médicament, donc l'écart entre les bras est l'effet du traitement. ✓
Seul le groupe traité existe. À quoi le comparer ?
Le groupe contrôle manquant est emprunté : il devient des études externes.
Mais plusieurs sources externes racontent chacune leur histoire, et elles se contredisent. Laquelle, ou lesquelles, croire ?
Une seconde couche hiérarchique les agrège, en pondérant chaque source selon son désaccord avec les autres.
Les études externes reflètent-elles aujourd'hui, et nos propres études ?
Autres époques, autres lieux : un biais systématique δ sépare les études externes d'aujourd'hui.
Chaque étude externe est-elle comparable aux nôtres ? La matrice de commensurabilité fixe combien emprunter.
Emprunter aux essais passés pour éclairer le suivant.
Un vrai effet μ_Pop, jamais observé directement.
τ_P2 : les études historiques diffèrent entre elles.
τ_P3 : incertitude d'extrapolation des preuves passées vers la future phase III.
Les données mettent à jour μ_Pop, qui à son tour met à jour θ_P3 : l'information des essais passés éclaire le futur essai et donne la PoS.
Pas un seul nombre : une distribution complète qui porte 7 niveaux d'incertitude.
- 1Bruit d'échantillonnage dans chaque étude
- 2Hétérogénéité entre essais historiques
- 3Désaccord entre sources externes
- 4Biais systématique : temps et géographie
- 5Comparabilité avec les études internes
- 6A priori sur l'effet : sceptique ou optimiste
- 7Extrapolation de la phase II à la phase III
Une application R Shiny : ni maths ni code pour l'utilisateur.
Environ 2 chances sur 3 que la phase III atteigne son seuil.
valeurs illustratives
0 transition divergente
- Saisir le critère, les données et les hypothèses.
- Lire PoS, HR ou OR, décision, interprétation.
- Vérifier que le calcul a convergé.
- Générer le rapport complet.
Trois publics
Le cadre II, tout en un seul endroit.
Notation de mon rapport de stage. Cadre II d'après Jiang et al. (2025), sur l'échelle du log hazard ratio. Ajusté dans Stan (NUTS, paramétrisation non centrée).
Stack technique
Rmodélisation et analyse
- R Shinyapplication interactive d'aide à la décision
- Stanéchantillonnage MCMC, HMC et NUTS
- Modèles bayésiens hiérarchiquespriors MAP, emprunt entre études
- Tests unitairesarchitecture en couches, testée
HTMLinterface de l'application
CSSstyle de l'application
JavaScriptinteractions de l'application
- Cadre du mouvement brownien (Kundu)PoS en formule fermée
- Priors en mélange et MAPemprunt robuste, commensurabilité
- Serveur interne de Servierdéploiement en production