Description
Count distinct selected sampling times, duplicate selected rows, and the shortfall against a supplied minimum.
Pharmacokinetic research describes concentration over time using measurement units and an explicit model. Concentration-time area, its time-weighted moment, inverse-time rate constants, clearance, and volume are related but distinct quantities. A conversion or local model term does not estimate every parameter or validate a complete study.
Count distinct selected sampling times, duplicate selected rows, and the shortfall against a supplied minimum.
When to use this tool
Use PK Terminal Window Min Point Budget when you need this concentration-time conversion, sampling check, local integral panel, or explicitly supplied kinetic-model term.
How to use the tool and how it works
- Enter sampleTimes, selected, requiredPoints. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read distinctSelectedPoints, shortfall, duplicateSelectedPoints. Use the output convention below.
Require aligned sampleTimes and selected flags and positive integer requiredPoints. Count distinct selected times, shortfall=max(0,requiredPoints-distinctCount), and duplicateSelectedPoints=selectedRowCount-distinctCount.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sampleTimes | Sampling times in one common time unit and origin. | Required. Array of finite number; maximum items 256. |
| selected | Zero-based index of the selected category. | Required. Array of boolean; maximum items 256. |
| requiredPoints | Required Points | Required. Safe integer; minimum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| distinctSelectedPoints | Distinct Selected Points | Required. Safe integer. |
| shortfall | Shortfall | Required. Safe integer. |
| duplicateSelectedPoints | Duplicate Selected Points | Required. Safe integer. |
{
"input": {
"sampleTimes": [
1,
2,
2,
3
],
"selected": [
true,
true,
true,
false
],
"requiredPoints": 3
},
"output": {
"distinctSelectedPoints": 2,
"shortfall": 1,
"duplicateSelectedPoints": 1
}
} Limitations and assumptions
- Repeated times are identified by exact numeric equality. A sufficient count does not establish a terminal log-linear phase, suitable sampling times, assay quality, or a valid slope fit.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.
Alternative or Complementary methods
Use a complete study analysis when a local panel, transformation, or model factor is insufficient. Check sampling times, censoring, assay support, unit conventions, and the validity of the assumed kinetic regime.
References
Similar or alternative tools
- Nonclinical Terminal Slope Point Residual
Compare one nonclinical point to a supplied log-linear curve without fitting a terminal phase or recommending doses.
- PK Log Linear Terminal Slope Two Points
Two-point research log slope; no terminal-phase selection or dosing inference.