---
title: sARDen;COSA Spotlight Q4 2026
tags: 
author: [森岡裕[SASユーザー総会世話人]](https://image.docswell.com/user/6484025)
site: [Docswell](https://www.docswell.com/)
thumbnail: https://bcdn.docswell.com/page/57G1Y6D5EL.jpg?width=480
description: sARDen;COSA Spotlight Q4 2026 by 森岡裕[SASユーザー総会世話人]
published: November 27, 26
canonical: https://image.docswell.com/s/6484025/Z9N331-2026-11-27-185723
---
# Page. 1

![Page Image](https://bcdn.docswell.com/page/57G1Y6D5EL.jpg)

sARDen:
SAS Analysis Results Data Engine
A SAS toolkit for CDISC ARS-aligned Analysis Results Data
COSA Spotlight Q4 2026 | Yutaka Morioka | EPS Corporation


# Page. 2

![Page Image](https://bcdn.docswell.com/page/4EQDM41LJP.jpg)

Speaker
Yutaka Morioka
SAS Guru, EPS Corporation
A SAS programmer based in Japan and clinical data scientist. I actively disseminate
SAS programming techniques from introductory to advanced levels and have
presented at international and regional conferences including SAS Global Forum,
CDISC Interchange Japan, Phuse Japan SDE, and PharmaSUG SDE. As an organizer of
the SAS User’s Group in Japan, I also focus on fostering collaboration between SAS
and R programmers, aiming to create synergy across both communities.


# Page. 3

![Page Image](https://bcdn.docswell.com/page/KJ4ZVQR571.jpg)

Analysis Results Data
Analysis Results Data (ARD) records the values that support a clinical result.
It separates the calculation of results from their presentation in tables, listings, and figures.
CDISC ARS provides a model for exchanging those results and their metadata.


# Page. 4

![Page Image](https://bcdn.docswell.com/page/LE1R3PQ2EG.jpg)

Why a result-level data layer matters
A statistical output often exists only in a procedure output dataset, a report program, or a final table.
That makes reuse, review, and traceability difficult.
A common long-format result dataset gives downstream programs one consistent input.


# Page. 5

![Page Image](https://bcdn.docswell.com/page/GEW1P2M272.jpg)

The current R workflow
Excluding myself package, five R packages are currently registered under the ARS category. All are closely linked to
Analysis Results Data (ARD), supporting the generation, analysis, formatting, or presentation of ARDs.
https://clymbclinical.github.io/siera/


# Page. 6

![Page Image](https://bcdn.docswell.com/page/47ZPKDQ4E3.jpg)

The current SAS workflow
SAS can calculate every component required for a table.
However, each procedure creates a different output structure.
Programmers repeatedly reshape those outputs before they can build a display or support review.
Procedure step
Data step
Proc REPORT
Proc TABULATE
Proc ODSTABLE
Etc…


# Page. 7

![Page Image](https://bcdn.docswell.com/page/YJ6MQ16G7V.jpg)

Introducing sARDen
sARDen is a SAS package that creates CDISC ARS-aligned, long-format Analysis Results Data.
It follows ARD conventions familiar from the pharmaverse cards schema.
The package keeps result values, display-ready formats, grouping information, and metadata
together.
github.com/Morioka-Yutaka/sARDen


# Page. 8

![Page Image](https://bcdn.docswell.com/page/GJ5ZR46XE4.jpg)

ARD structure
Each record describes one result in a consistent structure.
group1
group1_level
variable
context
stat_name
stat
fmt_fun
TRT01P
Drug A
AGE
summary
mean
54.2
1
one result, one record
Typical fields also include variable_level, stat_label, and additional group levels.


# Page. 9

![Page Image](https://bcdn.docswell.com/page/9E2RDVMQJR.jpg)

Core functions in sARDen
%sard_summary() creates summary statistics for
continuous variables.
variable=AGE stat_name=mean
stat=54.2 fmt_fun=1
%sard_tabulate() creates counts, denominators, and
proportions for categorical variables.
stat_name=n BigN p
fmt_fun=&quot;0&quot; &quot;xx.x&quot;
Hierarchical stacking macros create subject-level or
event-level results for structures such as AE System Organ
Class and Preferred Term.
Any event &gt; SOC &gt; PT
id= denominator_dataset=


# Page. 10

![Page Image](https://bcdn.docswell.com/page/D7YD23XY7M.jpg)

Summary results
%sard_summary() converts summaries into ARD-style records.
It supports statistics such as N, mean, median, standard deviation, minimum, maximum, and
percentiles.
It can also standardize externally calculated statistics through statdata=.
%sard_summary(
group1_level variable
stat_name
stat
fmt_fun
Drug A
mean
54.2
1
data=ADSL,
by=TRT01P,
variable=AGE WEIGHTBL,
statistic=N MEDIAN MIN MAX MEAN SD,
out=sard_summary);
AGE


# Page. 11

![Page Image](https://bcdn.docswell.com/page/VEN68V1RE8.jpg)



# Page. 12

![Page Image](https://bcdn.docswell.com/page/Y79LK65ZJ3.jpg)

Categorical and hierarchical results
%sard_tabulate() produces n, BigN, and p in one long-format result dataset.
%sard_stack_hierarchical() supports unique-subject counts across event hierarchies.
%sard_stack_hierarchical_count() supports record or event counts when de-duplication by
subject is not appropriate.
Subject count and event count answer different questions.


# Page. 13

![Page Image](https://bcdn.docswell.com/page/G78XRZ6YED.jpg)



# Page. 14

![Page Image](https://bcdn.docswell.com/page/L7L8KD99JR.jpg)

Bind multiple ARD datasets into a single ARD
Summary ARD
%bind_ard()
Frequency ARD
%bind_ard(
indata=Sard_summary_mean Sard_tabulate,
outdata=ard_tab_14_1_2_1,
Table 14.1.2.1 ARD
distinct=Y,
drop_sortno=Y
);


# Page. 15

![Page Image](https://bcdn.docswell.com/page/4EM62PZV7W.jpg)

Metadata with SAS Extended Attributes
An ARD needs more than numeric values.
sARDen uses SAS Extended Attributes (XATTR) to attach ARDM-like metadata to a result dataset.
Result ID, analysis ID, method ID, table ID, result context, and display label stay close to the data
they describe.
%xrdm_set()
● Result ID
● analysis ID
● method ID
● table ID
● result context
● display label


# Page. 16

![Page Image](https://bcdn.docswell.com/page/PERPM16W79.jpg)

Introducing sARDenX
sARDenX extends sARDen for outputs from SAS statistical analysis procedures.
Its goal is to convert procedure-specific output into standardized, ARD-style result data.
sARDen provides the common result structure; sARDenX expands the range of analyses that can
populate it.
github.com/Morioka-Yutaka/sARDenX


# Page. 17

![Page Image](https://bcdn.docswell.com/page/P7X3VYMVEX.jpg)

Example: two-sample t-test
%sard_stats_t_test() runs a two-sample t-test with PROC TTEST.
It returns group means, confidence intervals, the test statistic, degrees of freedom, p-value, and analysis
settings in a standardized long-format dataset.
The macro supports Welch or pooled-variance testing and one-sided or two-sided alternatives.
stat_name
description
data=ADSL,
estimate
test estimate
out=sard_stats_t_test,
conf.low
lower confidence limit
conf.high
upper confidence limit
alpha=0.05,
t
test statistic
side=2,
df
degrees of freedom
h0=0,
p.value
p-value
%sard_stats_t_test(
class=TRT01PN,
var=AGE,
Welch=Y);


# Page. 18

![Page Image](https://bcdn.docswell.com/page/37KYQ3G5ED.jpg)

Example: two-sample t-test


# Page. 19

![Page Image](https://bcdn.docswell.com/page/LJ39PGN1J5.jpg)

Example: Fisher&#039;s exact test &amp; Wilcoxon rank-sum test
%sard_stats_fisher_test() runs Fisher&#039;s exact test through PROC FREQ.
%sard_stats_wilcox_test() runs two-sample Wilcoxon rank-sum test through PROC NPAR1WAY.


# Page. 20

![Page Image](https://bcdn.docswell.com/page/8JDGL1WKJG.jpg)

sARDenX expansion plan
The development direction for sARDenX is broader coverage of common clinical analyses.
Priority areas include model-based estimates, confidence intervals, contrasts, categorical tests, and
time-to-event analyses.
Each addition will map procedure output to explicit ARD fields and preserve the analysis method
metadata.
(New) two-sample Wilcoxon rank-sum test


# Page. 21

![Page Image](https://bcdn.docswell.com/page/VEP32Q9378.jpg)

Introducing sARDenMTS
sARDenMTS complements the result-data workflow with metadata and traceability support.
It provides a place to manage the links among an analysis, its method, the generated result, and the target
display.
Together with sARDen and sARDenX, it supports a clearer audit trail from analysis data to reporting
output.
github.com/Morioka-Yutaka/sARDenMTS
github.com/Morioka-Yutaka/sARDenMTS


# Page. 22

![Page Image](https://bcdn.docswell.com/page/27V4D5MNEQ.jpg)

A connected SAS ecosystem
sARDen creates standardized analysis results.
sARDenX brings outputs from statistical procedures into that result layer.
sARDenMTS strengthens metadata and traceability across analyses and displays.
The packages use the SAS Packages Framework and can be distributed as SAS packages.


# Page. 23

![Page Image](https://bcdn.docswell.com/page/5JG1Y6G57L.jpg)

PharmaForest SAS ecosystem
https://github.com/PharmaForest
https://pharmaforest.github.io/


# Page. 24

![Page Image](https://bcdn.docswell.com/page/47QDM4XLEP.jpg)

Conclusion
sARDen provides a SAS-native path to reusable, ARS-aligned
Analysis Results Data.
sARDenX expands that path to statistical procedure outputs.
github.com/Morioka-Yutaka/sARDen
sARDenMTS supports the metadata and traceability needed to
understand how a result was produced.
github.com/Morioka-Yutaka/sARDenX
sARDen
sARDenX
sARDenMTS
github.com/Morioka-Yutaka/sARDenMTS
github.com/Morioka-Yutaka/sARDenMTS


# Page. 25

![Page Image](https://bcdn.docswell.com/page/KE4ZVQ65J1.jpg)

Thank you!
I’d love to hear your questions!
Since I may need a little time to give you a thoughtful and accurate answer,
please feel free to reach out via LinkedIn after the session.
Looking forward to connecting with you!
Linkdin


