14.2.6.2
Summary of Progression Free Survival
Made 2026-10-17 from simulated data.
ONCO-EX
Table 14.2.6.2
Summary of Progression Free Survival
Intent-to-Treat Analysis Set
| Standard of Care (N=150) | Clinwrightinib 200 mg (N=150) | |
|---|---|---|
| Subjects | 150 | 150 |
| Events | 121 (80.7%) | 76 (50.7%) |
| Censored | 29 (19.3%) | 74 (49.3%) |
| Last Tumor Assessment | 28 (18.7%) | 72 (48.0%) |
| Randomization | 1 (0.7%) | 2 (1.3%) |
| Time to event (months) [a] | ||
| Median (95% CI) | 5.5 (1.6, 6.7) | 9.6 (8.1, NE) |
| 25th, 75th percentile | 1.5, 9.5 | 5.5, NE |
| Event-free rate, % (95% CI) [a] | ||
| 3 months | 55.0 (46.7, 62.6) | 80.3 (72.9, 85.9) |
| 6 months | 42.8 (34.8, 50.6) | 68.5 (60.3, 75.4) |
| Hazard ratio (95% CI) [b] | 0.45 (0.34, 0.60) | |
| Log-rank p-value [c] | <0.0001 |
[a] Kaplan-Meier estimates; CIs of the quartiles by Brookmeyer and Crowley, of the rates by Greenwood's formula, both on the log-log scale. NE: not estimable.
[b] Each treatment against Standard of Care: Cox proportional hazards model with treatment as the only factor (ties by Efron's method); a ratio below 1 favors the treatment.
[c] Log-rank test across the treatments.
Percentages are of the subjects with the parameter in each column.
Source: ADTTE.
Program: t-14-2-6-2.sas
Program t-14-2-6-2.sas
Version 1, written from Clinwright's patterns, 2026-10-17, checks passed.
/*==== 00-header ====*/
/*----------------------------------------------------------------------------
Output : Table 14.2.6.2 / Summary of Progression Free Survival / Intent-to-Treat Analysis Set
Program : t-14-2-6-2.sas Reporting effort : CSR
ADaM : /work/adam (ADSL, ADLBC, ADLBH, ADVS, ADAE, ADEG, ADCM, ADMH, ADEX, ADRS, ADTR, ADTTE)
The header and the report step follow from the shell. The sections between
them make WORK.FINAL, one record per row of the table, in order:
_page the page (1 unless the output is paged); _pagelbl its heading or empty
_ord the row's order; _indent the label's indentation (0 = flush left)
_rowid the uuid of the shell row it shows (WORK._SHELL); one shell row may
have several (a category per value); a blank row's is blank-<n>
_kind label | stat | blank
rowlabel the row's label, as text
col1 Standard of Care|(N=xx)
col2 Clinwrightinib 200 mg|(N=xx)
and set the big N of the column headers:
&_bign1 Standard of Care|(N=xx)
&_bign2 Clinwrightinib 200 mg|(N=xx)
/work/_lib/clinwright.sas has %ls_bign, %ls_count, %ls_stats, %ls_npct, %ls_num.
----------------------------------------------------------------------------*/
libname adam "/work/adam" access=readonly;
%include "/work/_lib/clinwright.sas";
%ls_setup;
/* The shell's rows, in order, with each column's value pattern (_xx1-_xx2). */
data work._shell;
length _page 8 _pagelbl $200 _ord 8 _indent 8 _rowid $36 _kind $5 _var $32 rowlabel $200 _xx1 $40 _xx2 $40;
_page = 1; _pagelbl = '';
_ord=1; _indent=0; _rowid='189db693-8833-4e62-b0bd-760aa04e2c56'; _kind='stat'; _var=''; rowlabel='Subjects'; _xx1='xx'; _xx2='xx'; output;
_ord=2; _indent=0; _rowid='blank-2'; _kind='blank'; _var=''; rowlabel=''; _xx1=''; _xx2=''; output;
_ord=3; _indent=0; _rowid='96291188-7c5c-491d-894e-97b5e43f1d55'; _kind='stat'; _var=''; rowlabel='Events'; _xx1='xx (xx.x%)'; _xx2='xx (xx.x%)'; output;
_ord=4; _indent=0; _rowid='blank-4'; _kind='blank'; _var=''; rowlabel=''; _xx1=''; _xx2=''; output;
_ord=5; _indent=0; _rowid='78193acd-b225-4e06-97e3-91a305e207db'; _kind='stat'; _var=''; rowlabel='Censored'; _xx1='xx (xx.x%)'; _xx2='xx (xx.x%)'; output;
_ord=6; _indent=1; _rowid='bde5b903-9c8d-40e6-bb19-63b20dd386cc'; _kind='stat'; _var='CNSDTDSC'; rowlabel='[Reason]'; _xx1='xx (xx.x%)'; _xx2='xx (xx.x%)'; output;
_ord=7; _indent=0; _rowid='blank-7'; _kind='blank'; _var=''; rowlabel=''; _xx1=''; _xx2=''; output;
_ord=8; _indent=0; _rowid='f02aeb52-49a0-4e6d-9f24-12d2c3209db2'; _kind='label'; _var=''; rowlabel='Time to event (months) [a]'; _xx1=''; _xx2=''; output;
_ord=9; _indent=1; _rowid='f83b0e5d-93cd-4033-bef0-2f7e4b9268b8'; _kind='stat'; _var=''; rowlabel='Median (95% CI)'; _xx1='xx.x (xx.x, xx.x)'; _xx2='xx.x (xx.x, xx.x)'; output;
_ord=10; _indent=1; _rowid='ec4244c3-4126-447b-b076-63efe0893fbc'; _kind='stat'; _var=''; rowlabel='25th, 75th percentile'; _xx1='xx.x, xx.x'; _xx2='xx.x, xx.x'; output;
_ord=11; _indent=0; _rowid='blank-11'; _kind='blank'; _var=''; rowlabel=''; _xx1=''; _xx2=''; output;
_ord=12; _indent=0; _rowid='07f454da-b0bd-48a1-a9f7-958de6ea7091'; _kind='label'; _var=''; rowlabel='Event-free rate, % (95% CI) [a]'; _xx1=''; _xx2=''; output;
_ord=13; _indent=1; _rowid='b7b29734-ac2f-4735-a880-a68636e50d5e'; _kind='stat'; _var=''; rowlabel='3 months'; _xx1='xx.x (xx.x, xx.x)'; _xx2='xx.x (xx.x, xx.x)'; output;
_ord=14; _indent=1; _rowid='813b60fd-3bb0-4f17-ba49-42037054ae51'; _kind='stat'; _var=''; rowlabel='6 months'; _xx1='xx.x (xx.x, xx.x)'; _xx2='xx.x (xx.x, xx.x)'; output;
_ord=15; _indent=0; _rowid='blank-15'; _kind='blank'; _var=''; rowlabel=''; _xx1=''; _xx2=''; output;
_ord=16; _indent=0; _rowid='53e9b90d-bf53-47fd-b114-d458e72cde1e'; _kind='stat'; _var=''; rowlabel='Hazard ratio (95% CI) [b]'; _xx1=''; _xx2='x.xx (x.xx, x.xx)'; output;
_ord=17; _indent=0; _rowid='blank-17'; _kind='blank'; _var=''; rowlabel=''; _xx1=''; _xx2=''; output;
_ord=18; _indent=0; _rowid='18072b21-fbdd-498c-8513-570c99cb93f6'; _kind='stat'; _var=''; rowlabel='Log-rank p-value [c]'; _xx1=''; _xx2='x.xxxx'; output;
run;
/*==== 10-data ====*/
/* Made from the output's analysis: the records of ADTTE with PARAMCD = 'PFS' of the subjects of ADSL with ITTFL = 'Y', by TRT01P. */
/* The population's subjects, in each column they count in. */
data work._popc;
set adam.adsl(where=(ittfl = 'Y'));
if trt01p in ('Standard of Care') then do; _col = 1; output; end;
if trt01p in ('Clinwrightinib 200 mg') then do; _col = 2; output; end;
keep usubjid _col;
run;
data work._pop1; set adam.adsl(where=(ittfl = 'Y')); keep usubjid trt01p; run;
proc sort data=work._pop1; by usubjid; run;
/* The records of ADTTE with PARAMCD = 'PFS', of the population's subjects, in each column. */
proc sort data=adam.adtte(keep=usubjid trt01p ittfl paramcd aval cnsr cnsdtdsc where=(PARAMCD = 'PFS')) out=work._rec; by usubjid; run;
data work._an;
merge work._rec(in=_r drop=trt01p) work._pop1(in=_p);
by usubjid;
if _r and _p;
if trt01p in ('Standard of Care') then do; _col = 1; output; end;
if trt01p in ('Clinwrightinib 200 mg') then do; _col = 2; output; end;
run;
data work._cols; do _col = 1 to 2; output; end; run;
%ls_bign(data=work._popc, trt=_col, values=1|2|1|2, names=_lsn1 _lsn2 _bign1 _bign2);
/* Subjects and records per column. */
proc sort data=work._an(keep=usubjid _col) out=work._u; by _col usubjid; run;
data work._c;
set work._u;
by _col usubjid;
retain _n _e;
if first._col then do; _n = 0; _e = 0; end;
_e = _e + 1;
if first.usubjid then _n = _n + 1;
if last._col then output;
keep _col _n _e;
run;
proc transpose data=work._c out=work._tn(drop=_name_) prefix=_n; id _col; var _n; run;
proc transpose data=work._c out=work._te(drop=_name_) prefix=_e; id _col; var _e; run;
data work._z; _z = 1; run;
data work._g0;
merge work._z work._tn work._te;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
do _i = 1 to 2; _nn{_i} = sum(_nn{_i}, 0); _ee{_i} = sum(_ee{_i}, 0); end;
_tot = sum(of _n1-_n2);
drop _i _z;
run;
/* Subjects: any. */
data work._f; set work._g0; do _col = 1 to 2; output; end; run;
data work._k1;
length _rowid $36 _label _pagelbl $200 _v $200;
set work._f;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
_rowid = '189db693-8833-4e62-b0bd-760aa04e2c56';
_page = 1;
_pagelbl = '';
_k0 = 1;
_k1 = 0; _k2 = 0;
_label = '';
_v = strip(ifc(missing(_nn{_col}), '-', %ls_num(_nn{_col}, 0)));
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
/* Events: npct where CNSR = 0. */
data work._f; set work._g0; do _col = 1 to 2; output; end; run;
proc sort data=work._an(keep=usubjid _col cnsr where=(CNSR = 0)) out=work._v; by _col usubjid; run;
data work._v;
set work._v;
by _col usubjid;
retain _vn _ve;
if first._col then do; _vn = 0; _ve = 0; end;
_ve = _ve + 1;
if first.usubjid then _vn = _vn + 1;
if last._col then output;
keep _col _vn _ve;
run;
proc sort data=work._an(keep=usubjid _col cnsr where=(1)) out=work._d; by _col usubjid; run;
data work._d;
set work._d;
by _col usubjid;
retain _dn _de;
if first._col then do; _dn = 0; _de = 0; end;
_de = _de + 1;
if first.usubjid then _dn = _dn + 1;
if last._col then output;
keep _col _dn _de;
run;
data work._k2;
length _rowid $36 _label _pagelbl $200 _v $200;
merge work._f(in=_in) work._v work._d;
by _col;
if _in;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
_rowid = '96291188-7c5c-491d-894e-97b5e43f1d55';
_page = 1;
_pagelbl = '';
_k0 = 3;
_k1 = 0; _k2 = 0;
_label = '';
_v = strip(ifc(missing(sum(_vn, 0)), '-', %ls_num(sum(_vn, 0), 0))) || ' (' || strip(ifc(missing(ifn(_nn{_col} > 0, 100 * sum(_vn, 0) / max(_nn{_col}, 1), .)), '-', %ls_num(ifn(_nn{_col} > 0, 100 * sum(_vn, 0) / max(_nn{_col}, 1), .), 1))) || '%)';
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
/* Censored: npct where CNSR ne 0. */
data work._f; set work._g0; do _col = 1 to 2; output; end; run;
proc sort data=work._an(keep=usubjid _col cnsr where=(CNSR ne 0)) out=work._v; by _col usubjid; run;
data work._v;
set work._v;
by _col usubjid;
retain _vn _ve;
if first._col then do; _vn = 0; _ve = 0; end;
_ve = _ve + 1;
if first.usubjid then _vn = _vn + 1;
if last._col then output;
keep _col _vn _ve;
run;
proc sort data=work._an(keep=usubjid _col cnsr where=(1)) out=work._d; by _col usubjid; run;
data work._d;
set work._d;
by _col usubjid;
retain _dn _de;
if first._col then do; _dn = 0; _de = 0; end;
_de = _de + 1;
if first.usubjid then _dn = _dn + 1;
if last._col then output;
keep _col _dn _de;
run;
data work._k3;
length _rowid $36 _label _pagelbl $200 _v $200;
merge work._f(in=_in) work._v work._d;
by _col;
if _in;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
_rowid = '78193acd-b225-4e06-97e3-91a305e207db';
_page = 1;
_pagelbl = '';
_k0 = 5;
_k1 = 0; _k2 = 0;
_label = '';
_v = strip(ifc(missing(sum(_vn, 0)), '-', %ls_num(sum(_vn, 0), 0))) || ' (' || strip(ifc(missing(ifn(_nn{_col} > 0, 100 * sum(_vn, 0) / max(_nn{_col}, 1), .)), '-', %ls_num(ifn(_nn{_col} > 0, 100 * sum(_vn, 0) / max(_nn{_col}, 1), .), 1))) || '%)';
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
/* Per value of cnsdtdsc: subjects and records per column. */
proc sort data=work._an(keep=usubjid _col cnsdtdsc where=(not missing(cnsdtdsc))) out=work._u; by cnsdtdsc _col usubjid; run;
data work._c;
set work._u;
by cnsdtdsc _col usubjid;
retain _n _e;
if first._col then do; _n = 0; _e = 0; end;
_e = _e + 1;
if first.usubjid then _n = _n + 1;
if last._col then output;
keep cnsdtdsc _col _n _e;
run;
proc transpose data=work._c out=work._tn(drop=_name_) prefix=_n; by cnsdtdsc; id _col; var _n; run;
proc transpose data=work._c out=work._te(drop=_name_) prefix=_e; by cnsdtdsc; id _col; var _e; run;
data work._g1;
merge work._tn work._te; by cnsdtdsc;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
do _i = 1 to 2; _nn{_i} = sum(_nn{_i}, 0); _ee{_i} = sum(_ee{_i}, 0); end;
_tot = sum(of _n1-_n2);
drop _i;
run;
proc sort data=work._g1; by descending _tot cnsdtdsc; run;
data work._g1;
set work._g1;
_o1 = _n_;
run;
/* [Reason]: npct of CNSDTDSC. */
data work._f; set work._g1; do _col = 1 to 2; output; end; run;
proc sort data=work._f; by cnsdtdsc _col; run;
data work._f; if _n_ = 1 then set work._g0(keep=_n1 _n2 rename=(_n1=_pn1 _n2=_pn2)); set work._f; run;
data work._k4;
length _rowid $36 _label _pagelbl $200 _v $200;
set work._f;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
array _pnn{2} _pn1-_pn2;
_rowid = 'bde5b903-9c8d-40e6-bb19-63b20dd386cc';
_page = 1;
_pagelbl = '';
_k0 = 6;
_k1 = _o1; _k2 = 0;
_label = strip(cnsdtdsc);
_v = strip(ifc(missing(_nn{_col}), '-', %ls_num(_nn{_col}, 0))) || ' (' || strip(ifc(missing(ifn(_pnn{_col} > 0, 100 * _nn{_col} / max(_pnn{_col}, 1), .)), '-', %ls_num(ifn(_pnn{_col} > 0, 100 * _nn{_col} / max(_pnn{_col}, 1), .), 1))) || '%)';
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
/* Median (95% CI): km_median. */
data work._f; set work._g0; do _col = 1 to 2; output; end; run;
%ls_km(data=work._an, time=aval, censor=cnsr, cols=1 2, compare=1 2, ref=1, scale=0.03285420944558522, rates=3 6, out=work._km1);
data work._k5;
length _rowid $36 _label _pagelbl $200 _v $200;
merge work._f(in=_in) work._km1;
by _col;
if _in;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
_rowid = 'f83b0e5d-93cd-4033-bef0-2f7e4b9268b8';
_page = 1;
_pagelbl = '';
_k0 = 9;
_k1 = 0; _k2 = 0;
_label = '';
_v = ifc(missing(_kmed), 'NE', strip(ifc(missing(_kmed), 'NE', %ls_num(_kmed, 1))) || ' (' || strip(ifc(missing(_kmlo), 'NE', %ls_num(_kmlo, 1))) || ', ' || strip(ifc(missing(_kmhi), 'NE', %ls_num(_kmhi, 1))) || ')');
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
/* 25th, 75th percentile: km_q1_q3. */
data work._f; set work._g0; do _col = 1 to 2; output; end; run;
data work._k6;
length _rowid $36 _label _pagelbl $200 _v $200;
merge work._f(in=_in) work._km1;
by _col;
if _in;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
_rowid = 'ec4244c3-4126-447b-b076-63efe0893fbc';
_page = 1;
_pagelbl = '';
_k0 = 10;
_k1 = 0; _k2 = 0;
_label = '';
_v = strip(ifc(missing(_kq1), 'NE', %ls_num(_kq1, 1))) || ', ' || strip(ifc(missing(_kq3), 'NE', %ls_num(_kq3, 1)));
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
/* 3 months: km_rate = 3. */
data work._f; set work._g0; do _col = 1 to 2; output; end; run;
data work._k7;
length _rowid $36 _label _pagelbl $200 _v $200;
merge work._f(in=_in) work._km1;
by _col;
if _in;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
_rowid = 'b7b29734-ac2f-4735-a880-a68636e50d5e';
_page = 1;
_pagelbl = '';
_k0 = 13;
_k1 = 0; _k2 = 0;
_label = '';
_v = ifc(missing(_kr1), 'NE', strip(ifc(missing(_kr1), 'NE', %ls_num(_kr1, 1))) || ' (' || strip(ifc(missing(_krl1), 'NE', %ls_num(_krl1, 1))) || ', ' || strip(ifc(missing(_kru1), 'NE', %ls_num(_kru1, 1))) || ')');
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
/* 6 months: km_rate = 6. */
data work._f; set work._g0; do _col = 1 to 2; output; end; run;
data work._k8;
length _rowid $36 _label _pagelbl $200 _v $200;
merge work._f(in=_in) work._km1;
by _col;
if _in;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
_rowid = '813b60fd-3bb0-4f17-ba49-42037054ae51';
_page = 1;
_pagelbl = '';
_k0 = 14;
_k1 = 0; _k2 = 0;
_label = '';
_v = ifc(missing(_kr2), 'NE', strip(ifc(missing(_kr2), 'NE', %ls_num(_kr2, 1))) || ' (' || strip(ifc(missing(_krl2), 'NE', %ls_num(_krl2, 1))) || ', ' || strip(ifc(missing(_kru2), 'NE', %ls_num(_kru2, 1))) || ')');
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
/* Hazard ratio (95% CI) [b]: hr. */
data work._f; set work._g0; do _col = 1 to 2; output; end; run;
data work._k9;
length _rowid $36 _label _pagelbl $200 _v $200;
merge work._f(in=_in) work._km1;
by _col;
if _in;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
_rowid = '53e9b90d-bf53-47fd-b114-d458e72cde1e';
_page = 1;
_pagelbl = '';
_k0 = 16;
_k1 = 0; _k2 = 0;
_label = '';
if _col = 1 then _v = '';
else if _col = 2 then _v = ifc(missing(_khr), 'NE', strip(ifc(missing(_khr), 'NE', %ls_num(_khr, 2))) || ' (' || strip(ifc(missing(_khrlo), 'NE', %ls_num(_khrlo, 2))) || ', ' || strip(ifc(missing(_khrhi), 'NE', %ls_num(_khrhi, 2))) || ')');
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
/* Log-rank p-value [c]: logrank_p. */
data work._f; set work._g0; do _col = 1 to 2; output; end; run;
data work._k10;
length _rowid $36 _label _pagelbl $200 _v $200;
merge work._f(in=_in) work._km1;
by _col;
if _in;
array _nn{2} _n1-_n2;
array _ee{2} _e1-_e2;
_rowid = '18072b21-fbdd-498c-8513-570c99cb93f6';
_page = 1;
_pagelbl = '';
_k0 = 18;
_k1 = 0; _k2 = 0;
_label = '';
if _col = 1 then _v = '';
else if _col = 2 then _v = ifc(missing(_klr), '', ifc(round(sum(_klr, 0), 0.0001) < 0.0001, '<0.0001', ifc(round(sum(_klr, 0), 0.0001) > 0.9999, '>0.9999', strip(put(round(sum(_klr, 0), 0.0001), 32.4)))));
keep _rowid _label _page _pagelbl _k0 _k1 _k2 _col _v;
run;
data work._cells; set work._k1 work._k2 work._k3 work._k4 work._k5 work._k6 work._k7 work._k8 work._k9 work._k10; run;
proc sort data=work._cells; by _page _pagelbl _k0 _k1 _k2 _rowid _label _col; run;
proc transpose data=work._cells out=work._wide(drop=_name_) prefix=col;
by _page _pagelbl _k0 _k1 _k2 _rowid _label;
id _col;
var _v;
run;
proc sort data=work._wide; by _rowid; run;
proc sort data=work._shell(drop=_page _pagelbl) out=work._rows; by _rowid; run;
data work._inst;
merge work._wide(in=_w) work._rows(in=_s);
by _rowid;
if _w and _s;
if _label ne '' then rowlabel = _label;
run;
data work._fixed;
set work._shell;
if _rowid not in ('189db693-8833-4e62-b0bd-760aa04e2c56' '96291188-7c5c-491d-894e-97b5e43f1d55' '78193acd-b225-4e06-97e3-91a305e207db' 'bde5b903-9c8d-40e6-bb19-63b20dd386cc' 'f83b0e5d-93cd-4033-bef0-2f7e4b9268b8' 'ec4244c3-4126-447b-b076-63efe0893fbc' 'b7b29734-ac2f-4735-a880-a68636e50d5e' '813b60fd-3bb0-4f17-ba49-42037054ae51' '53e9b90d-bf53-47fd-b114-d458e72cde1e' '18072b21-fbdd-498c-8513-570c99cb93f6');
_k0 = _ord; _k1 = 0; _k2 = 0;
run;
data work.final;
length col1 col2 $200 _pagelbl $200;
set work._inst work._fixed;
run;
proc sort data=work.final; by _page _k0 _k1 _k2; run;
data work.final;
set work.final;
_ord = _n_;
keep _page _pagelbl _ord _indent _rowid _kind rowlabel col1 col2;
run;
/*==== 90-report ====*/
/* 90-report: from the shell; the titles, columns, headers and footnotes are not changed here. */
%ls_need(_bign1 _bign2);
%ls_final_check(columns=_page _pagelbl _ord _indent _rowid _kind rowlabel col1 col2);
proc sort data=work.final out=work._report; by _page _ord; run;
data work._report;
set work._report;
/* Two spaces per step of indentation: the label column keeps leading spaces (asis=on). */
if _indent > 0 then rowlabel = repeat(' ', 2 * _indent - 1) || rowlabel;
run;
%let _lspaged = 0;
proc sql noprint; select count(*) into :_lspaged trimmed from work._report where _pagelbl ne ''; quit;
options orientation=portrait;
ods listing close;
ods rtf file="/work/out/t-14-2-6-2.rtf" style=journal;
title1 j=l "ONCO-EX" j=r "Page ~{thispage} of ~{lastpage}";
title2 j=c "Table 14.2.6.2";
title3 j=c "Summary of Progression Free Survival";
title4 j=c "Intent-to-Treat Analysis Set";
footnote1 j=l "[a] Kaplan-Meier estimates; CIs of the quartiles by Brookmeyer and Crowley, of the rates by Greenwood's formula, both on the log-log scale. NE: not estimable.";
footnote2 j=l "[b] Each treatment against Standard of Care: Cox proportional hazards model with treatment as the only factor (ties by Efron's method); a ratio below 1 favors the treatment.";
footnote3 j=l "[c] Log-rank test across the treatments.";
footnote4 j=l "Percentages are of the subjects with the parameter in each column.";
footnote5 j=l "Source: ADTTE.";
footnote6 j=l "Program: t-14-2-6-2.sas";
%macro _ls_report;
proc report data=work._report nowd split='|' missing style(report)={width=100%};
column _page _pagelbl _ord _indent _kind rowlabel col1 col2;
define _page / order order=internal noprint;
define _pagelbl / order noprint;
define _ord / order order=internal noprint;
define _indent / display noprint;
define _kind / display noprint;
define rowlabel / display "" style(column)={cellwidth=40% asis=on} style(header)={just=l};
define col1 / display "Standard of Care|(N=&_bign1.)" style(column)={cellwidth=30% just=c} style(header)={just=c};
define col2 / display "Clinwrightinib 200 mg|(N=&_bign2.)" style(column)={cellwidth=30% just=c} style(header)={just=c};
%if &_lspaged > 0 %then %do;
compute before _pagelbl / style={just=l};
line _pagelbl $200.;
endcomp;
%end;
break after _page / page;
run;
%mend _ls_report;
%_ls_report;
ods rtf close;
ods listing;
%ls_final_export;