Description Usage Arguments References See Also Examples
Plots the "confidence set" which can be received by invoking "get_confidence_set". Also the "uniformly minimal variance unbiased estimator" and the acceptance area are included in the plot.
1 | plot_confidence_set(t, u, r1, n1, n, pc0, pt0, alpha)
|
t |
observed responses in the subset endpoint. |
u |
observed responses in the superset endpoint. |
r1 |
critical value for the first stage. |
n1 |
sample size for the first stage. |
n |
overall sample size. |
pc0 |
the response probability for the subset endpoint under the null hypothesis. |
pt0 |
the response probability for the superset endpoint under the null hypothesis. |
alpha |
overall significance level the trial was planned for. |
Kunz, C. U. (2011), Two-stage designs for phase II trials with one or two endpoints. http://d-nb.info/1024218457
get_confidence_set
, get_UMVUE_GMS_subset_second_total
, get_UMVUE_GMS
1 2 3 4 5 6 7 8 9 10 11 | #Setup "sub1"-object
sub1 <- setupSub1Design(pc0 = 0.5, pt0 = 0.6)
#Calculate a subset design
design <- getSolutionsSub1(sub1, skipN1 = FALSE)$Solutions[4,]
#Assume 11 responses in the subset endpoint and 12 responses in the superset endpoint were observed.
t = 10
u = 12
plot_confidence_set(t, u, design$r1, design$n1, design$n, design$pc0, design$pt0, 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.