Tag

SAS

Tagged in 2 notes and 2 external projects.


SAS

4Notes first, then external projects
Resolving a replacement chain of unknown depth in one pass of a DATA step: why an in-memory hash is the only structure that fits this shape of problem, what the step guarantees, and what it does when the extract is not clean. A self-contained Base SAS check ships with the note — one fixture, eleven assertions.
/notes/sas-kit-chain-replacement.html2026-09-20SAS · Hash · kit replacement · SDTM/ADaMsource
一次把整张表读进内存,再让主表的每一行各自去“钉”上去——这是临床 SAS 编程里最值钱的一条肌肉记忆。 本文给出 hash 对象的完整语法骨架(declare → definekey → definedata → definedone → find / output),四类真实项目形态的 可搬运代码(受试者筛选、横向合并、纵向检索、SDTM/ADaM 衍生),以及八条按官方文档与会议论文归集的易错点。
/notes/sas-hash-clinical-note.html2026-09-19SAS · Hash · 临床编程 · SDTM/ADaMsource
The production pattern behind a Phase III primary endpoint: PROC MIXED with no RANDOM statement, TYPE=UN and DDFM=KR, the baseline record leaving the response vector, what each covariance structure costs, and the prespecification in the SAP the model cannot supply for itself. Ships a runnable Base SAS check.
/sas-pattern-notes/SAS patternsMMRM · SAS · clinical programmingsource