Description Usage Arguments Details Value Author(s) See Also Examples
Analyses the trials simulated by SimulateSimonDsgn
.
1 | AnalyzeSimonDsgn(replicates = NA, basedir = NA)
|
replicates |
Number of trials to be analysed. By default all simulated trials are analysed. |
basedir |
The root directory in which simulations were performed. The current
working directory is assumed by default. It must contain all the files and folders
created by |
In addition to hypothesis testing, the response rate is estimated
using different estimators: pm
, pg
, pu
,
pp
and pk
.
Creates two data files in basedir
containing results for optimal
(ResultsOptimalDesign.csv) and minimax (ResultsMinimaxDesign.csv).
The files contain a trial
ID, stage 1, stage 2 and overall number of
successful responses, s1
, s2
and s
, sample sizes
(equal to those pre-specified by design), n1
, n2
and n
,
and critical values, r1
and r
. p0
the response rate
assumed under H_0 and dsgnp1
under H_1. p1
is the
true response rate (used for generating trial data). pm1
and pm2
are, respectively, pm
based only of stage 1 and stage 2 data.
stop
indicates whether the trial stopped at first stage (stop = 1
),
and success
indicates whether H_0 was rejected (success = 1
).
Arsenio Nhacolo
CalculateSimonDsgn
, SimulateSimonDsgn
,
AnalyzePerformanceSimon
and AnalyzeSimonDsgnAdaptN
.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.