Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is an example of an ADaM dataset designed to capture the reference data describing historical transitional probabilities. When there are two products in the TOBACCO PRODUCT CATEGORY there are 27 different possible transitions. In the example data below, STRTM4 captures the combination of tobacco products of interest for this particular set of probabilities and STRTM5 captures the status of product(s) of interest  pre-transition. STRTM6 captures the transition type of the combination of usage at the point of probability and STRTM7 captures the status of product(s) of interest post-transition.

Dataset wrap
NameRFTRANSP
Rowcaps
Row 1:Shows INITIATION of both products going from NEVER/NEVER to CURRENT/CURRENT.
Row 2:Shows CESSATION of both products going from CURRENT/CURRENT to FORMER/FORMER.
Row 3:Shows RELAPSE of both products going from FORMER/FORMER to CURRENT/CURRENT
Rows 4-27:Show various combinations and pathways of transitional probabilities that are captured in the historical data.
ENDS
Dataset2
tableidrftransp.xpt

Row

STRTM1

STRVAL1

STRTM2

STRVAL2

STRTM3

STRVAL3

STRTM4STRVAL4STRTM5STRVAL5STRTM6STRVAL6STRTM7STRVAL7INPRMINPRMVALINPRMU

1

YEAR2000AGE
0
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONNEVER/NEVERTOBACCO PRODUCT USE TRANSITION TYPE
INIT
INITIATIONTOBACCO PRODUCT
CIGARETTES
USE STATUS POST-TRANSITIONCURRENT/CURRENTTRANSITION PROBABILITY0.15RATIO / 10 PER 1000
2YEAR2000AGE
1
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONCURRENT/CURRENTTOBACCO PRODUCT USE TRANSITION TYPE
INIT
CESSATIONTOBACCO PRODUCT
USE STATUS POST-TRANSITIONFORMER/FORMER
CIGARETTES
TRANSITION PROBABILITY0.03RATIO / 10 PER 1000
3YEAR2000AGE
2
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONFORMER/FORMERTOBACCO PRODUCT USE TRANSITION TYPE
INIT
RELAPSETOBACCO PRODUCT
USE STATUS POST-TRANSITIONCURRENT/CURRENT
CIGARETTES
TRANSITION PROBABILITY0.02RATIO / 10 PER 1000
4YEAR2000AGE
3
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONNEVER/NEVERTOBACCO PRODUCT USE TRANSITION TYPE
INIT
INITIATIONTOBACCO PRODUCT
USE STATUS POST-TRANSITIONNEVER/CURRENT
CIGARETTES
TRANSITION PROBABILITY0.02RATIO / 10 PER 1000
5YEAR2000AGE
4
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONNEVER/CURRENTTOBACCO PRODUCT USE TRANSITION TYPE
INIT
SWITCHINGTOBACCO PRODUCT
USE STATUS POST-TRANSITIONCURRENT/FORMER
CIGARETTES
TRANSITION PROBABILITY0.02RATIO / 10 PER 1000
6YEAR2000AGE
0
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONNEVER/CURRENTTOBACCO PRODUCT USE TRANSITION TYPE
QUIT
CESSATIONTOBACCO PRODUCT
USE STATUS POST-TRANSITIONNEVER/FORMER
CIGARETTES
TRANSITION PROBABILITY0.
0001
06RATIO / 10 PER 1000
7YEAR2000AGE
1
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONCURRENT/FORMERTOBACCO PRODUCT USE TRANSITION TYPE
QUIT
SWITCHINGTOBACCO PRODUCT
USE STATUS POST-TRANSITIONFORMER/CURRENT
CIGARETTES
TRANSITION PROBABILITY0.
0001
03RATIO / 10 PER 1000
8YEAR2000AGE
2
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONCURRENT/FORMERTOBACCO PRODUCT USE TRANSITION TYPE
QUIT
CESSATIONTOBACCO PRODUCT
USE STATUS POST-TRANSITIONFORMER/FORMER
CIGARETTES
TRANSITION PROBABILITY0.
0001
02RATIO / 10 PER 1000
9YEAR2000AGE
3
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONFORMER/FORMERTOBACCO PRODUCT USE TRANSITION TYPE
QUIT
RELAPSETOBACCO PRODUCT
USE STATUS POST-TRANSITIONCURRENT/FORMER
CIGARETTES
TRANSITION PROBABILITY0.
0001
02RATIO / 10 PER 1000

10

YEAR2000AGE
4
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONCURRENT/FORMERTOBACCO PRODUCT USE TRANSITION TYPE
QUIT
RELAPSETOBACCO PRODUCT
USE STATUS POST-TRANSITIONCURRENT/CURRENT
CIGARETTES
TRANSITION PROBABILITY0.
0001
02RATIO / 10 PER 1000
11YEAR2000AGE
0
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONCURRENT/CURRENTTOBACCO PRODUCT USE TRANSITION TYPE
RELAPSE
CESSATIONTOBACCO PRODUCT
USE STATUS POST-TRANSITIONCURRENT/FORMER
CIGARETTES
TRANSITION PROBABILITY0.
0001
01RATIO / 10 PER 1000
12YEAR2000AGE
1
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONNEVER/FORMERTOBACCO PRODUCT USE TRANSITION TYPE
RELAPSE
INITIATIONTOBACCO PRODUCT
USE STATUS POST-TRANSITIONCURRENT/FORMER
CIGARETTES
TRANSITION PROBABILITY0.
0001
02RATIO / 10 PER 1000
13YEAR2000AGE
2
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONNEVER/FORMERTOBACCO PRODUCT USE TRANSITION TYPERELAPSETOBACCO PRODUCT
USE STATUS POST-TRANSITIONNEVER/CURRENT
CIGARETTES
TRANSITION PROBABILITY0.
0001
02RATIO / 10 PER 1000
14YEAR2000AGE
3
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONNEVER/FORMERTOBACCO PRODUCT USE TRANSITION TYPERELAPSETOBACCO PRODUCT
USE STATUS POST-TRANSITIONCURRENT/CURRENT
CIGARETTES
TRANSITION PROBABILITY0.
0001
02RATIO / 10 PER 1000
15YEAR2000AGE
4
24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONNEVER/NEVERTOBACCO PRODUCT USE TRANSITION TYPE
RELAPSE
INITIATIONTOBACCO PRODUCT
USE STATUS POST-TRANSITIONCURRENT/NEVER
CIGARETTES
TRANSITION PROBABILITY0.
0001
01RATIO / 10 PER 1000
16YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONCURRENT/NEVERTOBACCO PRODUCT USE TRANSITION TYPESWITCHINGTOBACCO PRODUCT USE STATUS POST-TRANSITIONFORMER/CURRENTTRANSITION PROBABILITY0.03RATIO / 10 PER 1000
17YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONCURRENT/NEVER
TRANSITION TYPE 1RELAPSEPRODUCT 1CIGARETTESTRANSITION TYPE 1RELAPSEPRODUCT 1
TOBACCO PRODUCT USE TRANSITION TYPECESSATIONTOBACCO PRODUCT USE STATUS POST-TRANSITIONFORMER/NEVERTRANSITION PROBABILITY0.04RATIO / 10 PER 1000
18YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITION

FORMER/NEVER

TOBACCO PRODUCT USE TRANSITION TYPERELAPSETOBACCO PRODUCT USE STATUS POST-TRANSITIONCURRENT/CURRENTTRANSITION PROBABILITY0.03RATIO / 10 PER 1000
19YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONFORMER/NEVERTOBACCO PRODUCT USE TRANSITION TYPERELAPSETOBACCO PRODUCT USE STATUS POST-TRANSITIONCURRENT/NEVERTRANSITION PROBABILITY0.
0001
02RATIO / 10 PER 1000
20YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITION

FORMER/NEVER

TOBACCO PRODUCT USE TRANSITION TYPEINITIATIONTOBACCO PRODUCT USE STATUS POST-TRANSITIONFORMER/CURRENTTRANSITION PROBABILITY0.05RATIO / 10 PER 1000
21YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONFORMER/CURRENTTOBACCO PRODUCT USE TRANSITION TYPERELAPSE
PRODUCT CIGARETTESGROUP AAGE0SEXFTRANSITION TYPERELAPSEPRODUCTENDS
TOBACCO PRODUCT USE STATUS POST-TRANSITIONCURRENT/CURRENTTRANSITION PROBABILITY0.02RATIO / 10 PER 1000
22YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONFORMER/CURRENTTOBACCO PRODUCT USE TRANSITION TYPECESSATIONTOBACCO PRODUCT USE STATUS POST-TRANSITIONFORMER/FORMERTRANSITION PROBABILITY0.02RATIO / 10 PER 1000
23YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONFORMER/FORMERTOBACCO PRODUCT USE TRANSITION TYPERELAPSETOBACCO PRODUCT USE STATUS POST-TRANSITIONFORMER/CURRENTTRANSITION PROBABILITY0.02RATIO / 10 PER 1000
24
GROUP A
YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONCURRENT/NEVERTOBACCO PRODUCT USE TRANSITION TYPEINITIATIONTOBACCO PRODUCT USE STATUS POST-TRANSITIONCURRENT/CURRENTTRANSITION PROBABILITY0.01RATIO / 10 PER 1000
25YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONCURRENT/CURRENTTOBACCO PRODUCT USE
1CIGARETTESCURRENT PRODUCT USE 2ENDS TRANSITION PRODUCT 1NONETRANSITION PRODUCT 2ENDS
TRANSITION TYPECESSATIONTOBACCO PRODUCT USE STATUS POST-TRANSITIONFORMER/CURRENTTRANSITION PROBABILITY0.01RATIO / 10 PER 1000
26YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONNEVER/CURRENTTOBACCO PRODUCT USE TRANSITION TYPEINITIATIONTOBACCO PRODUCT USE STATUS POST-TRANSITIONCURRENT/CURRENTTRANSITION PROBABILITY0.02RATIO / 10 PER 1000
27YEAR2000AGE24SEXFTOBACCO PRODUCT CATEGORYCIGARETTE/CIGARTOBACCO PRODUCT USE STATUS PRE-TRANSITIONFORMER/CURRENTTOBACCO PRODUCT USE TRANSITION TYPESWITCHINGTOBACCO PRODUCT USE STATUS POST-TRANSITIONCURRENT/FORMERTRANSITION PROBABILITY0.02RATIO / 10 PER 1000
DUAL USERPRODUCTCIGARETTESTRANSITION TYPEDUAL USERPRODUCTENDSTRANSITION TYPE
Definexmltable
LevelDataset
PurposeAnalysis
OIDRFTRANSP
NameRFTRANSP
DatasetDescriptionClassStructurePurposeKeysLocationDocumentation
RFTRANSPReference Data for Transition ProbREFERENCE DATA STRUCTUREone record per input valuereferenceSTRTM1, STRM2, STRTM3, STRTM4 STRTM5 STRTM6 STRTM7rftransp.xptNA
Definexmltable
Purpose
DatasetRFTRANSPCustomtrue
LevelVariable
AnalysisNameRFTRANSP
Variable NameVariable LabelTypeCodelist/Controlled TermsCoreNotes
STRTM1Stratum 1text
Year
YEARReqpopulate with the variable descriptor of one of the cell descriptors (either a row identifier or a column identifier) - the left-most column in this example

STRVAL1

Stratum 1 Value

text
Reqpopulate with the STRTM1 values in the source data (Age in this example)
STRTM2Stratum 2

text

Sex
AGECondpopulate with the variable descriptor of one of the cell descriptors (either a row identifier or a column identifier) - the first part of the second column concept in this example

STRVAL2

Stratum 2 Value

text
F

Condpopulate with the STRTM2 values in the source data (F in this example for displayed data)
STRTM3Stratum 3text
TRANSITION TYPE
SEXCondpopulate with the variable descriptor of one of the cell descriptors (either a row identifier or a column identifier) - the second part of the second column concept in this example

STRVAL3

Stratum 3 Value

text
Init;Quit;Relapse
FCondpopulate with the STRTM3 values in the source data (Transition Type in this example)
STRTM4Stratum 4text

TOBACCO PRODUCT CATEGORY

Condpopulate with the variable descriptor of one of the cell descriptors (either a row identifier or a column identifier) - the third part of the second column concept in this example

STRVAL4

Stratum 4 Value

text
Cigarettes

CIGARETTE/CIGAR

Condpopulate with the
STRTM3
STRTM4 values in the source data (Product in this example)
STRTM5Stratum 5text

TOBACCO PRODUCT USE STATUS PRE-TRANSITION

Condpopulate with the variable descriptor of one of the cell descriptors (either a row identifier or a column identifier) - the second part of the second column concept in this example

STRVAL5

Stratum 5 Value

text

CURRENT/CURRENT;CURRENT/FORMER;CURRENT/NEVER;FORMER/CURRENT;FORMER/FORMER;FORMER/NEVER;NEVER/CURRENT;NEVER/FORMER;NEVER/NEVER

Condpopulate with the STRTM5 values in the source data (Transition Type in this example)
STRTM6Stratum 6textTOBACCO PRODUCT USE TRANSITION TYPECondpopulate with the variable descriptor of one of the cell descriptors (either a row identifier or a column identifier) - the second part of the second column concept in this example

STRVAL6

Stratum 6 Value

textINITIATION;CESSATION;SWITCHING;RELAPSECondpopulate with the STRTM6 values in the source data (Transition Type in this example)
STRTM7Stratum 7textTOBACCO PRODUCT USE STATUS POST-TRANSITIONCondpopulate with the variable descriptor of one of the cell descriptors (either a row identifier or a column identifier) - the second part of the second column concept in this example

STRVAL7

Stratum 7 Value

text

CURRENT/CURRENT;CURRENT/FORMER;CURRENT/NEVER;FORMER/CURRENT;FORMER/FORMER;FORMER/NEVER;NEVER/CURRENT;NEVER/FORMER


Condpopulate with the STRTM7 values in the source data (Transition Type in this example)
INPRMInput ParametertextTRANSITION PROBABILITYReqpopulate with the concept describing the value in the cell being captured in the dataset. it may come from a spreadsheet tab name, a spreadsheet name, or any desired parameter indentifying value
INPRMVALInput Parameter Valuefloat
Reqpopulate with the cell value from the referenced data that is being described by the STRMVALy values
INPRMUInput Parameter UnittextRATIO / 10 PER 1000Permpopulate with the unit describing the cell values if appropriate