Modify document: improve Vignettes file of package aides with much more information regarding sequential analysis.
** Note:** functions DoSA()
and DoOSA()
work as argument IV
for parameter poolProp
with package lme4 1.1-35.2. Users have to downgrade package lme4 to version 1.1-35 if they would like to run functions DoSA()
and DoOSA()
with argument GLMM
for parameter poolProp
.
Release: submit aides 1.3.3 to the CRAN.
Modify function: improve function DoSA()
by introducing two new parameters, including trnsfrm
and poolProp
. The two parameters support users to obtain proportion of risk in each group using different method. Parameter trnsfrm
is added for allowing users to calculate proportion of risk with transformation by log, logit, arcsine, or double arcsine approach. Parameter poolProp
enables users to pool proportion of risk using inverse variance method and generalized linear mixed model.
Modify function: improve function DoOSA()
by introducing two new parameters, including trnsfrm
and poolProp
. The two parameters support users to obtain proportion of risk in each group using different method. Parameter trnsfrm
is added for allowing users to calculate proportion of risk with transformation by log, logit, arcsine, or double arcsine approach. Parameter poolProp
enables users to pool proportion of risk using inverse variance method and generalized linear mixed model.
Modify document: improve Vignettes file of package aides with much more information regarding sequential analysis.
Release: submit aides 1.3.2 to the CRAN.
Modify function: improve function DoSA()
by introducing two new parameters, including smooth
and SAP
. Parameter smooth
is added for allowing users to generate sequential plot with smooth boundaries, and parameter SAP
enables users to calculate sequential-adjusted power. Pooling method was added on the plot during this modification. Besides, scale on the x axis scale was limited for reducing plot size.
Modify function: improve function DoOSA()
by introducing a new parameter, anchor
, enabling users to specify anchor-based minimal important difference in order to estimate required information size. Pooling method was added on the plot during this modification.
Modify function: improve function PlotOSA()
by introducing a new parameter, lgcZone
, enabling users to show six zones of finding. Pooling method was also added on the plot during this modification.
Modify function: improve function DOSA()
, DoOSA()
, and PlotOSA()
for avoiding the overlapping between OIS information and legend on the plot.
Modify function: improve function DoSA()
by introducing a new parameter, RRR
, enabling users to specify a pre-assumed relative risk reduction for estimation of required information size. This parameter is designed exclusively for dichotomous outcomes and replaces the argument of PES
parameter.
Modify document: improve Vignettes file of package aides with much more information regarding sequential analysis.
Modify document: improve README file of package aides with appropriate plot size.
Release: submit aides 1.3.1 to the CRAN.
Modify document: improve package aides vignette by illustrating an example for the function PlotPower()
, and ensuring consistency by utilizing the same data set to illustrate examples for the functions DoSA()
, DoOSA()
, and PlotOSA()
.
Modify document: improve package aides manual by introducing a detailed section for the PlotPower()
function, and ensuring consistency by utilizing the same data set to illustrate examples for the functions DoSA()
, DoOSA()
, and PlotOSA()
.
Release: submit aides 1.3.0 to the CRAN.
Add function: PlotPower()
has been added in the package aides to visualize sequential-adjusted power.
Modify function: improve function DoOSA()
by setting argument "D2"
as default for parameter adjust
and calculating sequential-adjusted power.
Modify function: improve function DoSA()
by setting argument "D2"
as default for parameter adjust
.
Modify function: improve function PlotOSA()
for better visualization.
Modify function: improve function PlotDistrSS()
with parameters method
for indicating normality test method in terms of Shapiro test or Kolmogorov-Smirnov test.
Modify function: improve function TestDisparity()
with parameters for user-defined cutoff value of proportion of excessive cases in outlier-based disparity test, and for user-defined bootstrap replications for obtaining probability in variability-based disparity test.
parameter
ctf
with a numeric argument can be used for determining the threshold for proportion of excessive cases in outlier-based disparity test.parameter
rplctns
with an integer argument can be used for assigning bootstrap replications for obtaining probability of variability-based disparity test.
Release: submit aides 1.2.0 to the CRAN.
Add function: PlotOSA()
has been added in the package aides to visualize observed sequential analysis.
Add function: DoOSA()
has been added in the package aides to facilitate sequential method employing observed data, thereby distinguishing it from information derived from prospective planning.
Add function: PlotDistrSS()
has been added in the package aides to assist decision on the method selection for outlier detection and variability in disparity test.
Modify document: improve package aides manual by adding details section for function DoSA()
.
Modify function: improve function DoSA()
for showing information of relative risk reduction.
Modify function: improve function PlotDisparity()
for fixing bug of labeling proportion of excessive cases.
Modify document: improve package aides vignette.
Modify function: improve function TestDisparity()
with robust Coefficient of Variations.
Modify document: improve package aides manual by detailing returned values from function TestDisparity()
.
Modify function: improve function TestDisparity()
with default method for outlier detection according to distribution.
Modify function: improve function PlotDisparity()
with parameters for legend information, user-defined color of the association line between standard deviation and sample size on disparity plot (variability), and angle of study labels on disparity plot (outlier).
parameter
lgcDtls
with logic valueTRUE
orFALSE
can be used for determining whether to show details of disparity test on the plot.parameter
txtLbl
with argumentn
,n.excessive
, orprop.excessive
can be used for showing study information of each observed point on disparity plot (outlier).parameter
szFntEC
with a numeric value between 0 and 5 can be used for setting font size of study label on axis X for those studies with excessive cases.parameter
szFntLbl
with numeric value(s) between 0 and 5 can be used for setting font size of observed values.parameter
szFntLblEC
with a numeric value between 0 and 5 can be used for setting font size of observed value(s) among those studies with excessive cases.parameter
clrLnCV
with a color name can be used for changing line of the association between standard deviation and cases on disparity plot (variability).parameter
clrLbl
with color name(s) can be used for coloring observed values on disparity plot (outlier).parameter
clrLblEC
with a color name can be used for coloring observed value(s) among those studies with excessive cases on disparity plot (outlier).parameter
anglAxsX
with a numeric value between 0 and 360 can be used for setting angle of study labels on disparity plot (outlier).parameter
anglLbl
with a numeric value between 0 and 5 can be used for setting angle of observed values on disparity plot (outlier).
Add function: PlotDisparity()
to illustrate disparity plot.
Release: submit aides 1.1.0 to the CRAN.
Modify function: improve function TestDisparity()
with parameters for sorting data and building a data frame for user-defined disparity plot.
parameter
sort
with options of reference for data sorting (i.e. time, size, and excessive cases).returning a data frame for user-defined disparity plot by argument
TRUE
for parameterplot
.
Modify function: improve function TestDisparity()
with summary information.
displaying the results of outlier detection.
displaying information of outlier detection method.
removing results of normal distribution test from the summary infomation.
Modify function: improve function TestDisparity()
with parameters for data input and outlier detection.
parameter
data
can be used for importing a data frame for disparity test.parameter
time
is a vector of study year.calculation of outlier detection (default with GESD and MAD for normal and non-normal distribution respectively).
parameter
outlier
consists of four outlier detection methods (i.e. IQR, Z, GESD, and MAD).
Modify function: improve function DoSA()
with parameters for sequential analysis.
parameter
PV
for presumed variance (default with post-hoc analysis mode).parameter
ref
with options of reference group (i.e. 1 and 2; default with 2).parameter
pooling
with options of pooling method (e.g. inverse variance, Mantel-Haensze, and Peto; default with IV).parameter
adjust
with options of adjustment factor (including D-squared, I-squared, and conceptual heterogeneity; default none).
Modify function: improve function DoSA()
with information and displaying appearance on plot.
information on model of the meta-analysis and method for heterogeneity estimetor.
displaying spending boundaries with continuous curve rather lines between observed fraction points.
displaying cumulative z score with weighted points according to weights of each data source in the meta-analysis.
displaying required information size with red dash line.
displaying labels of each data source using parameter
id = TURE
.displaying y axis title with inverted favorable direction using parameter
invert = TRUE
.displaying beta-spending boundaries using parameter
BSB = TRUE
.
Modify function: improve function DoSA()
with structured summary information as follows:
1. information on main outputs of sequential analysis
1.1. acquired sample size
1.2. required sample size
1.3. cumulative z score
1.4. alpha-spending boundary
1.5. adjusted confidence interval (based on alpha-spending boundary)
2. presumed parameters for sequential analysis
2.1. probability of type I error.
2.2. probability of type II error.
2.3. statistic power.
2.4. effect size (including risk in each group for outcome with binary data).
2.5. variance.
3. meta-analysis
3.1. settings for the meta-analysis.
3.2. result of the meta-analysis.
4. adjustment factor
4.1. diversity (D-squared).
4.2. heterogeneity (I-squared).
4.3. value of the adjustment.
Release: submit aides 1.0.0 to the CRAN.
Initiation: Build package aides with first three functions including TestDisparity()
, TestDiscordance()
, and DoSA()
.
TestDisparity()
is to test assumption of disparity in sample size.
TestDiscordance()
is to test assumption of discordance between theoretical and observed study scale.
DoSA()
is to conduct sequential analysis.
This package is mainly written according to Google’s R style. For readers, details of naming rules are listed as follows:
.R file is named using lower case with underscore "_" between words (e.g. test_disparity.R).
function is named using verb or verb with noun, and the first character of each word is written in capital letter (e.g.
TestDiscordance()
).object is named using noun with the first word in lower case, but the first character of rest words is written using capital letter (e.g.
dataCases
).variable is named using noun written in lower case. Words of variable name are separated by “.” if a variable name consists of more than two words (e.g.
dataDiSS$w.normality
).
version number consists of three integers with a period between them (eg. version 1.0.0).
Updating the first integer refers to a modification with new methodological impact.
Changing the second integer refers to an update with a new function without new methodological impact.
Updating the third integer refers to a modification in a function.