Skip to contents

Variables of SimData

The variables in SimData are created during data generation and depend on the current simulation. It stores outputs produced by integration points such as response, enrollment, dropout, or randomization. Any optional custom outputs defined at an endpoint are also included as columns in this data frame. Common and useful variables include:

Variable Description Notes
Response Vector of length equal to the number of subjects, containing the generated responses for all subjects. Not available for Endpoint Type = Time-to-Event or Continuous with Repeated Measures. See the Output section of Integration Point: Response - Binary Outcome, Integration Point: Response - Continuous Outcome, or Integration Point: Response - Dual Endpoints for more information.
Response, Response1, …, ResponseNumVisit Vectors of length equal to the number of subjects, containing the generated responses for all subjects for each visit. Only available for Endpoint Type = Continuous with Repeated Measures. See the Output section of Integration Point: Response - Continuous Outcome with Repeated Measures for more information.
SurvivalTime Vector of length equal to the number of subjects, containing the time to response values for all subjects for each visit. Only available for Endpoint Type = Time-to-Event. See the Output section of Integration Point: Response - Time-to-Event for more information.
ArrivalTime Vector of length equal to the number of subjects, containing the generated arrival times for all subjects. See the Output section of Integration Point: Enrollment for more information.
TreatmentID Vector of length equal to the number of subjects, containing the allocation indices for all subjects:
0: Control arm.
1: First experimental arm.
– etc.
See the Output section of Integration Point: Randomization for more information.
CensorInd or CensorIndOrg Vector of length equal to the number of subjects, containing the generated censor indicator values for all subjects:
0: Dropout.
1: Completer.
Only available for Endpoint Type = Continuous or Binary. See the Output section of Integration Point: Dropout - Continuous Outcome or Integration Point: Dropout - Binary Outcome for more information.
DropOutTime Vector of length equal to the number of subjects, containing the generated dropout times for all subjects. Only available for Endpoint Type = Time-to-Event, Continuous with Repeated Measures or Vaccine Efficacy (Binary), or Dual. See the Output section of Integration Point: Dropout - Time-to-Event Outcome, Integration Point: Dropout - Continuous Outcome with Repeated Measures, Integration Point: Dropout - Binary Outcome, or Integration Point: Dropout - Dual Endpoints for more information.
DropoutVisitID Vector of length equal to the number of subjects, containing the visit ID after which each subject drops out. Only available for Endpoint Type = Continuous with Repeated Measures. See the Output section of Integration Point: Dropout - Continuous Outcome with Repeated Measures for more information.
CensorInd1, CensorInd2, …, CensorIndNumVisit Vectord of length equal to the number of subjects, containing the generated censor indicator values for all subjects for each visit:
0: Dropout.
1: Completer.
Only available for Endpoint Type = Continuous with Repeated Measures. See the Output section of Integration Point: Dropout - Continuous Outcome with Repeated Measures for more information.