Command: nlmx qc-data -c C:\Users\askph\Desktop\PROJECTS\RUST\CovariateAnalysis\nlmx-book\documents\ch34\results\allowed-run\01_qc-data.qcd data/er/er_data.csv --output C:\Users\askph\Desktop\PROJECTS\RUST\CovariateAnalysis\nlmx-book\documents\ch34\results\allowed-run\01_qc-data --no-color nlmx qc-data — dataset quality control ==================================== Dataset data/er/er_data.csv File 11,603 bytes, 101 lines, delimiter comma Content 100 records, 27 columns; 100 individuals; 0 dose records; 100 observations (100 used) Verdict NOT READY — fix the failures before analysis Checks 99 checks: 33 PASS, 2 COMMENT, 5 WARN, 1 FAIL, 58 N/A FILE AND FORMAT PASS FIL01 Can the file be read, and does it have a header and at least one data record? → 100 data records and 27 columns read (comma delimited, 101 lines) PASS FIL02 Is the file free of a byte-order mark (BOM) at its start? → no byte-order mark PASS FIL03 Is the file plain ASCII, without accented, typographic or other non-ASCII characters? → every character is ASCII PASS FIL04 Are the line endings the same on every line (no mix of CRLF and LF, no lone CR)? → every line ends with LF PASS FIL05 Is one field delimiter used throughout (not commas and tabs mixed)? → one delimiter (comma) throughout PASS FIL06 Is the file free of blank lines between the records? → no blank lines PASS FIL07 Does every data record begin with a number (no comment lines, text lines or flagged records)? → every data record begins with a number PASS FIL08 Does every record have as many fields as the header has columns? → every record has 27 fields PASS FIL09 Are there no trailing or doubled delimiters (empty extra fields)? → no line ends with a delimiter PASS FIL10 Are the data fields free of quotation marks? → no quotation marks PASS FIL11 Is every record shorter than the line-length limit? → longest line 132 characters (limit 1000) PASS FIL12 Does the last line end with a line terminator? → the file ends with a line terminator HEADER AND COLUMN NAMES FAIL HDR01 Are the required columns present (ID, TIME and DV by default)? → 2 required column(s) missing. For example: line 1: column TIME is not in the header; line 1: column DV is not in the header To do: Add or rename the column, or name it with --id-col, --time-col, --dv-col (or [data] in the settings file). WARN HDR02 Are the recommended NONMEM columns present (AMT, EVID, MDV and CMT by default)? → 4 recommended column(s) missing. For example: line 1: column AMT is not in the header; the dataset has DOSE — name it with --amt-col DOSE; line 1: column EVID is not in the header; line 1: column MDV is not in the header; line 1: column CMT is not in the header To do: Add the columns; without EVID and MDV NONMEM infers them, which hides data errors. PASS HDR03 Is the first line a header of names (not numbers), with no blank names? → the first line is a header of names PASS HDR04 Are the column names unique, ignoring upper and lower case? → all column names are unique PASS HDR05 Are the column names valid NM-TRAN labels (letters, digits and underscore, beginning with a letter)? → every name is a valid NM-TRAN label PASS HDR06 Is every column name within the length limit (20 characters)? → every name has at most 20 characters PASS HDR07 Are the column names free of NM-TRAN reserved words and abbreviated-code functions? → no column has a reserved name PASS HDR08 Is the number of columns within the NM-TRAN limit (50 data items, DROP not counted)? → 27 columns (limit 50) VALUES AND DATA TYPES PASS VAL01 Are ID, TIME, DV, AMT, EVID, MDV, CMT, RATE, ADDL, II and SS numeric in every record? → every NONMEM data item is numeric WARN VAL02 Are the other columns numeric, or text columns that you will DROP in $INPUT? → 5 column(s) with text values (5 in all) (1 individual). For example: line 2 ID 1: ARM is a text column (e.g. `100 mg`, `200 mg`, `Placebo`): write ARM=DROP in $INPUT, or recode it as numbers; line 2 ID 1: SEX is a text column (e.g. `F`, `M`, `F`): write SEX=DROP in $INPUT, or recode it as numbers; line 2 ID 1: RACE is a text column (e.g. `Black`, `Other`, `Asian`): write RACE=DROP in $INPUT, or recode it as numbers; line 2 ID 1: REGION is a text column (e.g. `AMER`, `APAC`, `EU`): write REGION=DROP in $INPUT, or recode it as numbers; line 2 ID 1: BOR is a text column (e.g. `PR`, `PR`, `PD`): write BOR=DROP in $INPUT, or recode it as numbers To do: Recode text covariates as numbers (SEX: 0/1), or write =DROP after them in $INPUT; list known text columns in [values] text_columns. PASS VAL03 Are missing values written as blank or '.', and not as NA, NaN, NULL, N/A, - or similar? → no NA, NaN, NULL or similar markers PASS VAL04 Do the numbers use a decimal point (no decimal commas or thousands separators)? → no decimal commas N/A VAL05 Do ID and TIME have a value in every record? → the ID or TIME column is missing (see HDR01) PASS VAL06 Are the numbers free of sentinel codes for 'missing' (-99, -999, ...)? → no sentinel codes PASS VAL07 Are all numbers finite and of a magnitude NONMEM handles (not above 1e10)? → all values are finite and moderate PASS VAL08 Is every field at most 24 characters long (the NM-TRAN data item limit)? → no field is longer than 24 characters PASS VAL09 Are the IDs whole numbers of at most 15 digits, and do different ID strings stay different as numbers? → IDs are whole numbers that stay distinct PASS VAL10 Is every column filled in at least once (no completely empty columns)? → no column is empty RECORDS AND NONMEM DATA ITEMS N/A REC01 Is EVID 0, 1, 2, 3 or 4 in every record? → needs the ID and TIME columns N/A REC02 Is MDV 0 or 1 in every record? → needs the ID and TIME columns N/A REC03 Is MDV consistent with EVID (MDV = 1 on every record that is not an observation)? → needs the ID and TIME columns N/A REC04 Does every observation record (EVID 0, MDV 0) have a DV? → needs the ID and TIME columns N/A REC05 Which observations are excluded on purpose (EVID 0 with MDV 1)? → needs the ID and TIME columns N/A REC06 Do dose and other-event records have no DV (blank, '.' or 0)? → needs the ID and TIME columns N/A REC07 Does every dose record (EVID 1 or 4) have a positive AMT? → needs the ID and TIME columns N/A REC08 Are AMT and II non-negative, RATE 0 or above (or -1, -2), and ADDL a non-negative whole number? → needs the ID and TIME columns N/A REC09 Do observation records (EVID 0) have no dose amount? → needs the ID and TIME columns N/A REC10 Is CMT a whole number within the range of compartments (|CMT| at most 99)? → needs the ID and TIME columns N/A REC11 Which compartments receive the doses and which are observed, and is CMT given on every record when it is used? → needs the ID and TIME columns N/A REC12 Is RATE positive only on dose records with a positive AMT? → needs the ID and TIME columns N/A REC13 Are the infusion durations (AMT / RATE) within the limits you set? → needs the ID and TIME columns N/A REC14 Does ADDL > 0 come with II > 0, and is II > 0 used with ADDL or SS? → needs the ID and TIME columns N/A REC15 Are ADDL, II and SS used on dose records only? → needs the ID and TIME columns N/A REC16 Is SS one of 0, 1, 2, 3, and is SS > 0 on a dose record with II > 0? → needs the ID and TIME columns N/A REC17 Are there no duplicated records (all fields identical; doses are checked by REC19)? → needs the ID and TIME columns N/A REC18 Are there no two observations of one individual at one time and compartment with different DV? → needs the ID and TIME columns N/A REC19 Are there no two doses of one individual at one time and compartment (a double dose)? → needs the ID and TIME columns N/A REC20 Which reset and other-type events (EVID 2, 3, 4) are in the data? → needs the ID and TIME columns TIME N/A TIM01 Is TIME non-decreasing within each individual (a lower time only on a reset record)? → needs the ID and TIME columns N/A TIM02 Are the records of each ID together in one block (no ID reappears after another)? → needs the ID and TIME columns N/A TIM03 Is TIME free of negative values? → needs the ID and TIME columns N/A TIM04 Is the largest TIME plausible for the time unit (below the limit you set)? → needs the ID and TIME columns N/A TIM05 Which observations share a time with a dose of the same individual, and do they come before or after the dose? → needs the ID and TIME columns N/A TIM06 Is the time between consecutive records of an individual below the gap limit you set? → needs the ID and TIME columns N/A TIM07 Does the TAD column equal the time since the latest dose? → needs the ID and TIME columns N/A TIM08 Is the actual TIME close to the nominal time? → needs the ID and TIME columns N/A TIM09 Which observations come before the first dose of the individual? → needs the ID and TIME columns DOSING N/A DOS01 Does every individual with observations have at least one dose record? → needs the ID and TIME columns N/A DOS02 Does every individual with a dose have at least one observation? → needs the ID and TIME columns N/A DOS03 Is the first dose of each individual at TIME 0? → needs the ID and TIME columns N/A DOS04 Does the dose amount stay the same within each individual? → needs the ID and TIME columns N/A DOS05 Are all dose amounts near the usual dose levels (no unit slips of 10 times or more)? → needs the ID and TIME columns N/A DOS06 Are the dosing intervals regular within each individual? → needs the ID and TIME columns N/A DOS07 What are the dose levels, routes (compartments) and regimens? → needs the ID and TIME columns OBSERVATIONS N/A OBS01 Does the dataset have observation records? → needs the ID and TIME columns N/A OBS02 Is DV free of negative values? → needs the ID and TIME columns N/A OBS03 Are the DV values of 0 explained (before the first dose or flagged as BLQ)? → needs the ID and TIME columns N/A OBS04 Are BLQ observations handled consistently (flag agrees with the LLOQ, one imputation rule)? → needs the ID and TIME columns N/A OBS05 Is the fraction of BLQ observations below the limit you set? → needs the ID and TIME columns N/A OBS06 Are there concentrations far from those of other individuals at similar times after the dose? → needs the ID and TIME columns N/A OBS07 Are there isolated spikes within an individual's profile (a value far above both neighbours after the peak)? → needs the ID and TIME columns N/A OBS08 Are the concentrations before the first dose zero or below the quantification limit? → needs the ID and TIME columns N/A OBS09 Does every individual have at least the minimum number of observations? → needs the ID and TIME columns N/A OBS10 Does every individual have at least one quantifiable concentration after the first dose? → needs the ID and TIME columns N/A OBS11 Is the scale of DV as declared (natural concentrations or their logarithm)? → needs the ID and TIME columns N/A OBS12 Which observation types are present (DVID or compartment) and how many records has each? → needs the ID and TIME columns N/A OBS13 What is the sampling design (observations per individual and times after the dose)? → needs the ID and TIME columns INDIVIDUALS N/A SUB01 How many individuals, records, doses and observations does the dataset have? → needs the ID and TIME columns N/A SUB02 Does every individual have more than one record? → needs the ID and TIME columns N/A SUB03 Do the grouping columns stay constant within each individual? → needs the ID and TIME columns N/A SUB04 Is the number of records per individual free of extreme values? → needs the ID and TIME columns N/A SUB05 Does every individual have at least one observation that is used (MDV 0)? → needs the ID and TIME columns N/A SUB06 Does every individual start with a dose or event record (not an observation)? → needs the ID and TIME columns COVARIATES COMMENT COV01 Which covariates were examined, and are they continuous, categorical or time-varying? → 21 covariates — continuous: AUC, CMAX, CAVG, CMIN, AGE, WT, CRCL, ALB, BASE, CHG, FUTIME, PFS; categorical: STUDY (2 levels), DOSE (3 levels), ECOG (3 levels), SMOKER (2 levels), RESP (2 levels), GRADE (4 levels), NEVT (10 levels), PFSEVT (2 levels), EXCL (2 levels); not examined: ARM (no numeric values), SEX (no numeric values), RACE (no numeric values), REGION (no numeric values), BOR (no numeric values) WARN COV02 Are the covariates free of missing values (blank, '.' or a sentinel code)? → 1 individual covariate value(s) missing (1 individual). For example: line 18 ID 17: AUC missing in 1 of 1 records To do: Impute or fill in the values; NONMEM reads a blank or '.' as 0, which silently becomes a value of the covariate. PASS COV03 Are the covariate values within plausible ranges? → AGE, WT within the ranges ([covariates.ranges]) PASS COV04 Are the baseline covariates constant within each individual? → 21 baseline covariates are constant within every individual WARN COV05 Do the categorical covariates have the expected levels, none of them rare? → 3 problem(s) with categorical levels (3 individuals). For example: line 40 ID 39: NEVT = 7 occurs in only 2 individuals (the minimum is 3); line 82 ID 81: NEVT = 8 occurs in only 1 individual (the minimum is 3); line 7 ID 6: NEVT = 10 occurs in only 1 individual (the minimum is 3) To do: Recode or merge rare levels; declare the levels in [covariates.levels]. PASS COV06 Are the continuous covariates free of extreme values (beyond the Tukey fences)? → 12 continuous covariates without extreme values PASS COV07 Is every covariate variable (more than one value)? → every covariate takes more than one value WARN COV08 Are the continuous covariates free of strong pairwise correlation (|r| below the limit)? → 6 strongly associated covariate pair(s) (1 individual). For example: line 2 ID 1: AUC and CMAX: r = 0.98 (99 individuals); line 2 ID 1: AUC and CAVG: r = 1.00 (99 individuals); line 2 ID 1: AUC and CMIN: r = 0.95 (99 individuals); line 2 ID 1: CMAX and CAVG: r = 0.98 (100 individuals); line 2 ID 1: CMAX and CMIN: r = 0.93 (100 individuals); … To do: Strongly correlated covariates cannot be told apart in a covariate model; choose one or a composite. N/A COV09 Are derived covariates consistent with their parts (BMI and BSA from weight and height)? → needs BMI or BSA together with weight (WT) and height (HT) PASS COV10 Do the magnitudes of AGE, WT and HT suggest the usual units (years, kg, cm)? → AGE, WT and HT magnitudes agree with years, kg and cm N/A COV11 Do time-varying covariates change plausibly between consecutive records? → no time-varying continuous covariate NONMEM READINESS PASS NMT01 Will the IGNORE option you plan to use skip the header line and nothing else? → IGNORE=@ skips the header (line 1) COMMENT NMT02 Which $DATA and $INPUT statements fit this file? → $DATA er_data.csv IGNORE=@; $INPUT with 22 of 27 columns (the rest as =DROP); the full statements are in qc_nonmem.txt PASS NMT03 Which special data items are used, and what do they require of the model? → no special data items (RATE, ADDL, II, SS, EVID 2–4) are used Outputs qc_checklist.csv qc_findings.csv qc_columns.csv qc_subjects.csv qc_events.csv qc_covariates_continuous.csv qc_covariates_categorical.csv qc_covariate_correlation.csv qc_nonmem.txt plots/ (7 figures) report.html qc_summary.json qc_summary.txt Folder C:\Users\askph\Desktop\PROJECTS\RUST\CovariateAnalysis\nlmx-book\documents\ch34\results\allowed-run\01_qc-data