SAS and R Round Differently: Why Your R Table Shows 6.2% and SAS Shows 6.3%
SAS ROUND() and SAS formats round an exact half away from zero: 6.25 becomes 6.3. R's round() rounds an exact half to the even digit: 6.25 become…
Practical SAS, R and CDISC programming tutorials for clinical trial programmers, with working code.
SAS ROUND() and SAS formats round an exact half away from zero: 6.25 becomes 6.3. R's round() rounds an exact half to the even digit: 6.25 become…
As of 17 November 2026, the latest published CDISC versions are SDTMIG v3.4 , SDTM v2.1 , ADaMIG v1.3 , Controlled Terminology P62 (25 September 2026), …
The Clinical Study Data Reviewer's Guide (cSDRG) is the SDTM half of the reviewer's guide pair. It sits next to your SDTM datasets and define…
The define.xml tells a reviewer what is in your ADaM datasets. The Analysis Data Reviewer's Guide (ADRG) tells them why it looks that way: how yo…
An ADaM program runs fine for months, then a new data cut arrives and the log shows Variable AETOXGR is uninitialized , or in R, object 'AETOXGR…
Every programming team has a story about the dataset that got overwritten. Someone ran a test program against the production library, or a copied pro…
Clinical tables are full of characters that aren't on the keyboard: "Mean ± SD", "≥ Grade 3", "µmol/L", footnote ma…