This macro creates the output tables for type 3 cohort.
More...
This macro creates the output tables for type 3 cohort.
- Select all output levels relevant to t1_cida/t2_cida.
- Remove tte_value as a stratification if tree extraction is running.
- Loop through groups. It will loop through all groups because several stratifiers can differ between groups.
- Compute numerators for each stratification and output.
- Square stratifications variables.
- Summarize data.
- Output to msoc and dplocal.
- Supress variables when conducting tree extraction.
- The output tables will be stratified by the levels provided in the userstrata inputfile.
- Program inputs
- dplocal.&RUNID._mstr (Dataset for Type 1 and Type 2 analyses with one record per individual per index date for every GROUP.)
- infolder.&COHORTFILE. (Dataset used to define enrollment and demographic requirements, type of cohort identification strategy.)
- infolder.&TYPE3FILE. (Dataset required for a self-controlled risk interval design cohort identification strategy.)
- infolder.&USERSTRATA. (Dataset with ouput tables and stratifications specification.)
- Program outputs
- dplocal.&RUNID._numcounts (Dataset for Type 1 and Type 2 analyses with cohort metrics for the T::_CIDA table.)
- msoc.&RUNID._t3_cida (Dataset including the number of individuals and exposure episodes in the exposure and analytic cohorts, number of individuals and exposure episodes censored, and number of HOIs observed.)
Usage
%ms_cidatablest3();
- Parameters
- None.
SAS Macros Dependencies
- Author
- Sentinel Coordinating Center (info@.nosp@m.sent.nosp@m.inels.nosp@m.yste.nosp@m.m.org)