Tutorials › Population Pharmacokinetics › Encoding Child-Pugh Class in Population PK Models

Renal and Hepatic Function · Tutorial 250 of 599

Encoding Child-Pugh Class in Population PK Models

Learn to construct Child-Pugh covariates and choose between categorical and ordinal model encodings while interpreting their assumptions and limitations.

Intermediate 10 min read

What You'll Learn

  • Identify the five components used to calculate a Child-Pugh score.
  • Calculate a total score and assign Child-Pugh class A, B, or C.
  • Encode class with indicator variables and interpret coefficients as parameter ratios.
  • Explain the equal-step assumption imposed by ordinal coding.
  • Diagnose sparse classes, scoring inconsistencies, and within-class heterogeneity.

From a Clinical Score to a PK Covariate

Child-Pugh class summarizes several aspects of hepatic disease in one ordered category. In a population PK model, it can be used as a covariate to describe how a typical PK parameter differs across classes. The encoding matters: a categorical model estimates separate contrasts, while an ordinal model imposes a trend. Neither choice turns the score into a direct measurement of hepatic drug-metabolizing capacity, and an estimated covariate relationship is not by itself a causal effect.

The usual score is formed from five components: serum bilirubin, serum albumin, INR, ascites, and hepatic encephalopathy. Each component contributes 1, 2, or 3 points. The total ranges from 5 to 15, with higher scores indicating greater impairment under this scoring system. The total is classified as Child-Pugh A for 5–6 points, B for 7–9, and C for 10–15.

Definition: A Child-Pugh score is the sum of the five component scores, each scored from 1 to 3. Child-Pugh class is the category derived from that sum: A (5–6), B (7–9), or C (10–15). For the INR-based version shown here, the component cutpoints are:
Component1 point2 points3 points
Bilirubin (mg/dL)< 22–3> 3
Albumin (g/dL)> 3.52.8–3.5< 2.8
INR< 1.71.7–2.3> 2.3
AscitesNoneMildModerate or severe
EncephalopathyNoneGrade I–IIGrade III–IV

These cutpoints describe a commonly used INR-based scoring scheme. Investigators should specify the version, units, and scoring rules applied in their data, including how exact boundary values and clinically assessed components are handled. A score should not be reconstructed by silently mixing incompatible conventions.

Worked Example: Scoring and Classifying a Hypothetical Participant

Suppose a hypothetical participant has bilirubin 2.4 mg/dL, albumin 3.2 g/dL, INR 1.5, mild ascites, and no encephalopathy. Apply the table to determine the total score and class.

Bilirubin 2.4 mg/dL is in the 2–3 range and contributes 2 points. Albumin 3.2 g/dL is in the 2.8–3.5 range and contributes 2 points. INR 1.5 is below 1.7 and contributes 1 point. Mild ascites contributes 2 points, and no encephalopathy contributes 1 point.

The total is \(2+2+1+2+1=8\). A total of 8 is in the 7–9 range, so this hypothetical participant is Child-Pugh class B. The classification describes the prespecified score; it does not mean that every person with class B has the same component values or PK behavior.

Categorical Encoding and Coefficient Interpretation

For a categorical model, choose a reference class and use indicator variables for the remaining classes. If class A is the reference, define \(I_{B,i}=1\) when participant \(i\) is class B and 0 otherwise, and define \(I_{C,i}\) analogously. For a positive PK parameter such as clearance, a common log-linear covariate model is:

$$ TVCL_i=\theta_{CL}\exp\left(\theta_B I_{B,i}+\theta_C I_{C,i}\right) $$

Here \(TVCL_i\) is the typical clearance for participant \(i\), conditional on the covariates in this expression; \(\theta_{CL}\) is typical clearance in the reference class A; and \(\theta_B\) and \(\theta_C\) are log contrasts with class A. A full individual-level model may also include interindividual random effects, but those do not change the interpretation of these fixed covariate contrasts.

For class A, both indicators are zero, so \(TVCL_A=\theta_{CL}\). For class B, \(TVCL_B=\theta_{CL}\exp(\theta_B)\). Dividing gives \(TVCL_B/TVCL_A=\exp(\theta_B)\); similarly, \(TVCL_C/TVCL_A=\exp(\theta_C)\). Thus, exponentiating a coefficient gives a ratio, not an absolute change in clearance. The same form can be used for another positive parameter, with the parameter name and units interpreted accordingly.

Worked Example: Interpreting Categorical Clearance Coefficients

In a hypothetical fitted model, suppose \(\theta_{CL}=12.0\) L/h, \(\theta_B=-0.2231\), and \(\theta_C=-0.5108\). Class A is the reference. Calculate the typical clearance in each class and interpret the contrasts.

For class A, \(TVCL_A=12.0\) L/h. For class B, the ratio to A is \(\exp(-0.2231)\approx0.800\), so \(TVCL_B=12.0\times0.800=9.60\) L/h. For class C, \(\exp(-0.5108)\approx0.600\), so \(TVCL_C=12.0\times0.600=7.20\) L/h.

Under this model, typical clearance in class B is 0.800 times that in class A, or 20.0% lower; typical clearance in class C is 0.600 times that in class A, or 40.0% lower. The class C to class B ratio is \(\exp(\theta_C-\theta_B)=\exp(-0.2877)\approx0.750\), so the model predicts class C clearance to be 25.0% lower than class B clearance. These are model-based contrasts, not proof that changing class would cause clearance to change.

Ordinal Coding and the Trend Assumption

Because A, B, and C are ordered, a model may instead assign them scores 0, 1, and 2. Let \(z_i\) denote this coding. An ordinal log-linear model for clearance is:

$$ TVCL_i=\theta_{CL}\exp(\beta z_i) $$

This model uses one coefficient, \(\beta\), rather than separate class contrasts. It assumes each step from A to B and from B to C has the same effect on log clearance. The predicted ratio for each adjacent class step is \(\exp(\beta)\); the C-to-A ratio is \(\exp(2\beta)\). This is a stronger assumption than simply recognizing that the classes are ordered. It does not assert that the clinical differences between the classes are equal in every other sense.

Derivation: With \(z_A=0\), \(z_B=1\), and \(z_C=2\), the model predicts \(TVCL_A=\theta_{CL}\), \(TVCL_B=\theta_{CL}\exp(\beta)\), and \(TVCL_C=\theta_{CL}\exp(2\beta)\). Therefore, \(TVCL_B/TVCL_A=\exp(\beta)\) and \(TVCL_C/TVCL_B=\exp(\beta)\). The equal adjacent ratios follow directly from the linear relationship between the coded score and log clearance.

Worked Example: Quantifying an Ordinal Trend

Suppose a hypothetical ordinal model estimates \(\theta_{CL}=10.0\) L/h and \(\beta=-0.18\) for Child-Pugh coding A = 0, B = 1, C = 2. Calculate the predictions and state the constraint the model imposes.

For class A, \(TVCL_A=10.0\) L/h. The adjacent-class ratio is \(\exp(-0.18)\approx0.8353\). Thus \(TVCL_B=10.0\times0.8353=8.35\) L/h and \(TVCL_C=10.0\times\exp(-0.36)\approx10.0\times0.6977=6.98\) L/h.

The model predicts a 16.5% reduction per class step: \(1-0.8353=0.1647\). In particular, the B-to-A and C-to-B ratios are both 0.8353. That equality is built into the model; it is not independently demonstrated by the estimates. A categorical model could instead estimate unequal adjacent ratios.

Assumptions, Diagnostics, and Alternatives

A covariate encoding is useful only if the score is consistently defined and the data support the comparisons being estimated. Before interpreting a class effect, check that the component measurements and clinical assessments correspond to a suitable, documented time point for the PK observations. If class can change during follow-up, a single baseline class assumes that the baseline category adequately represents the relevant period. If that is not credible, the fixed baseline coding may misrepresent exposure to the covariate.

The model also needs enough participants and information in each class to estimate its contrasts. A class with very few participants can produce imprecise estimates or unstable fitting; if no participant is observed in a class, its separate categorical contrast cannot be estimated from the data. Check class counts, the distribution of component scores within each class, parameter uncertainty, and whether estimates change substantially under reasonable alternative specifications. Examine model diagnostics for systematic residual patterns across classes. These checks cannot establish that the score captures every clinically relevant aspect of hepatic function, but they can reveal whether the proposed encoding is poorly supported.

The main encoding choices make different commitments:

EncodingWhat it estimatesMain commitment
Categorical class indicatorsSeparate B-versus-A and C-versus-A contrastsNo equal-step trend is required; data must support each contrast
Ordinal class code (0, 1, 2)One trend coefficient across ordered classesEqual adjacent ratios on a log scale for a log-linear PK model
Total Child-Pugh pointsA trend per one-point increase in the total scoreEach point has the same effect on the modeled scale across the score range
Separate score componentsAssociations for individual componentsRequires enough information to estimate several effects and address their overlap

Using the total point score as a numeric covariate is not identical to coding A, B, and C as 0, 1, and 2: it distinguishes scores within a class and assumes a constant trend for each point. Either numeric approach can be more efficient than fitting separate class contrasts if its trend assumption is reasonable. Conversely, an ordered scale does not automatically justify a linear effect. The categorical model is more flexible across the three classes but uses more parameters.

Score Composition and Within-Class Variation

Child-Pugh class compresses five components into a total and then groups totals into three categories. Consequently, participants in one class may reach the same total through different combinations of laboratory measurements and clinical findings. For example, a participant’s score may include more points from albumin and bilirubin, while another participant with the same total has more points from ascites and encephalopathy. The class alone does not preserve that component-level detail.

This composition can matter in PK interpretation. A class contrast describes average model differences between the observed groups, conditional on the other terms in the model; it does not identify which component accounts for the difference. Within-class differences can also remain substantial, so class membership should not be treated as a precise individual prediction of clearance. These limitations are reasons to interpret class effects cautiously, not reasons to assume that a fitted association is necessarily invalid.

A common mistake is to code A, B, and C as 1, 2, and 3, fit one linear coefficient, and then describe the result as if the model had estimated separate class effects. It has not: the single coefficient imposes the same multiplicative change from A to B as from B to C. The correction is to state the coding and its constraint explicitly, and to use class indicators when separate contrasts are needed and supported by the data.

The encoding also does not remove the need for sound clinical and data checks. Misclassified components, inconsistent score timing, or poorly documented handling of missing components can lead to a covariate that does not mean the same thing across participants. Do not silently assign missing component values or infer a class from incomplete data without a prespecified, justified rule. A more detailed analysis may consider the components themselves, but that choice brings additional modeling demands and is not equivalent to a class effect.

Key takeaway: Categorical Child-Pugh coding estimates distinct class contrasts against a reference; ordinal coding estimates a trend by imposing equal adjacent effects on the specified model scale. Both describe groups formed from a composite score, with variation and information lost when components are combined.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. A hypothetical participant has bilirubin 1.6 mg/dL, albumin 2.6 g/dL, INR 2.0, moderate ascites, and grade I encephalopathy. What is the total score and Child-Pugh class?
  2. In a categorical log-clearance model with class A as reference, what does \(\exp(\theta_C)\) represent?
  3. Under A = 0, B = 1, C = 2 ordinal coding, a model predicts a B-to-A clearance ratio of 0.90. What B-to-A ratio does it necessarily predict?
  4. Why can two participants in the same Child-Pugh class still differ in ways relevant to PK?
  5. What is one reason to prefer categorical coding over ordinal coding, and one limitation of that choice?

Solutions. (1) The component scores are 1, 3, 2, 3, and 2, respectively, so the total is \(1+3+2+3+2=11\), which is class C. (2) \(\exp(\theta_C)\) is the model-predicted ratio of typical clearance in class C to typical clearance in class A, conditional on the model’s other terms. (3) It must also predict a B-to-A ratio of 0.90, because the ordinal model applies the same adjacent-class ratio to both steps. (4) Class aggregates five components into a total and category, so people with the same class can have different component profiles and values. (5) Categorical coding allows B-versus-A and C-versus-A effects to differ, but it requires sufficient data to estimate and support both contrasts.

Clinical Biostats