⌁ Population PK/PD · NONMEM

Learn to code NONMEM by actually writing it.

Interactive, step-by-step lessons that take you from your first control stream to advanced models — you write real NM-TRAN, it runs on a live engine, and an AI tutor coaches you through every line.

165 hands-on lessons 34 modules · beginner → advanced ✓ runnable exercises on the PharmFast engine
Why PharmLearn

Build fluency by writing models and reading results

Practice the workflow directly: edit control streams, run supported models, inspect output, and explain what the results mean.

⌨️

Learn by writing

Every lesson is a coding exercise. You build control streams block by block, exactly as you would on a real project.

⚡

Runs on a real engine

Supported exercises execute on PharmFast and return fitted parameters, objective functions, and convergence status. Advanced constructs outside its validated scope are labeled read-only.

🤖

AI tutor built in

Stuck? A Socratic AI tutor nudges you toward the fix, explains the why, and grades your work with specific feedback.

📈

Scratch → advanced

Start with the anatomy of a control stream; finish with covariate models, ODE systems, PK/PD and diagnostics.

Choose your route

Learning paths for different goals

Start with the foundations or focus your practice on population PK, PK/PD, DMPK, computation, simulation, or professional model review.

The curriculum

A structured pharmacometrics curriculum

A structured path that mirrors how population models are really built — each lesson unlocks the next skill, from your first control stream to advanced ODE, PK/PD, and noncontinuous-data models.

Guided projects

Put it together on real datasets

Multi-step, end-to-end builds — structure, variability, covariates, PK/PD — each milestone graded on the PharmFast engine, just like the lessons.

How it works

Read it. Write it. Run it.

Read the concept

A focused, plain-English explanation of one idea — a $-block, a parameter, an estimation method.

Write the code

Complete the control stream in a syntax-highlighted editor. Hints and an AI tutor are one click away.

Run & get graded

Your model fits on the live engine. Instant, specific feedback tells you exactly what to fix — or to move on.

Write your first NONMEM model in the next 5 minutes.

Free, runs in your browser, no setup. Your progress is saved as you go.

Start Module 1 → Support the free project