Skip to contents

All functions

AnalyzeUsingBetaBinomial()
Analyze for efficacy using a beta prior to compute the posterior probability that experimental is better than standard of care.
AnalyzeUsingEastManualFormula()
Compute the statistic using formula 28.2 in the East manual
AnalyzeUsingEastManualFormulaNormal()
Last Modified Date: 04/18/2024
AnalyzeUsingHazardRatioLimitsOfCI()
Analyze using a simplified limits of confidence interval design
AnalyzeUsingMeanLimitsOfCI()
Analyze using a simplified limits of confidence interval design
AnalyzeUsingPropLimitsOfCI()
Analyze using a simplified limits of confidence interval design.
AnalyzeUsingPropTest()
Analyze using the prop.test function in base R.
AnalyzeUsingTTestNormal()
Analyze Using t-test Normal
CombineAllRFiles()
This function combines the contents of all R files in a specified directory into one file.
ComputeScaleGivenShapeMedian()
Compute the scale parameter for the Weibull distribution with median = dMedian and scale parameter = dScale
CreateCyneRgyExample()
Create new CyneRgy example using provided templates. The directory created can be used in connection with Cytel-R integration.
CreateCyneRgyFunction()
Create a new CyneRgy function using provided templates that can be utilized with R integration points in Cytel products.
GetDecision()
GetDecision
InitLoadCyneRgy()
Initialize is used to load required libraries and create any global variables that other integration points need
ReplaceTagsInFile()
Replace tags in a file.
RunExample()
Run an example from CyneRgy.
SelectExpThatAreBetterThanCtrl()
Select treatments that are higher than control or, if none are greater, select the treatment with the largest probability of response.
SelectExpUsingBayesianRule()
Select treatments to advance based on a Bayesian rule to select any that have at least a user-specified probability of being greater than a user-specified historical response rate.
SelectExpWithPValueLessThanSpecified()
Compare treatment and experimental to control with a chi-squared test, selecting treatments with a p-value less than specified value. If UserParam is supplied, the list must contain the following named element:
UserParam$dMaxPValue

A value (0,1) that defines the comparison chi-squared probability for selecting which treatments to advance. Any treatment with less than the specified p-value will be advanced to the second stage

SelectSpecifiedNumberOfExpWithHighestResponses()
Select user-specified number of treatments to advance that have the largest number of responses.
SimulatePatientOutcomePercentAtZero()
Simulate patient outcomes from a normal distribution with a percent of patients having an outcome of 0.
SimulatePatientOutcomePercentAtZeroBetaDist()
Simulate patient outcomes from a normal distribution with a percent of patients having an outcome of 0 where the probability of a 0 is drawn from a Beta distribution.
SimulatePatientSurvivalMixtureExponentials()
This function simulates from exponential, just included as a simple example as a starting point.
SimulatePatientSurvivalWeibull()
Simulate patient outcomes from a Weibull distribution.