diff --git a/lib/growth/calc/centile.ex b/lib/growth/calc/centile.ex index d06342f..5ae7ea2 100644 --- a/lib/growth/calc/centile.ex +++ b/lib/growth/calc/centile.ex @@ -25,10 +25,9 @@ defmodule Growth.Calc.Centile do @spec compute(number(), ZScore.l(), ZScore.m(), ZScore.s()) :: number() | :na @doc """ - Compute the centile for a given measurement (`y`) and the Box-Cox values: power (`l`), median (`m`), and - coefficient of variation (`s`). + Compute the measurement value for a given z-score and the Box-Cox values: power (`l`), median (`m`), and coefficient of variation (`s`). - Returns the centile based on the z-score when -3 <= z-score <= 3; otherwise, returns `:na.` + Returns the measurement based on the z-score when -3 <= z-score <= 3; otherwise, `:na.` ## Examples: