-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
91 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,5 @@ | |
^.lintr$ | ||
^vignettes/presentation_onearm$ | ||
^README\.Rmd$ | ||
^doc$ | ||
^Meta$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ docs | |
.lintr | ||
paper | ||
paper_testing_vs_estimation | ||
/doc/ | ||
/Meta/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
citHeader("To cite OptimalGoldstandardDesigns in publications use:") | ||
|
||
bibentry( | ||
bibtype = "Article", | ||
author = as.person("Jan Meis, Maximilian Pilz, Carolin Herrmann, Björn Bokelmann, Geraldine Rauch, Meinhard Kieser"), | ||
title = "Point estimation, confidence intervals, and P-values for optimal adaptive two-stage designs with normal endpoints", | ||
journal = "Statistics in Medicine", | ||
volume = "43", | ||
number = "8", | ||
pages = "1577-1603", | ||
keywords = "bias, confidence intervals, optimal adaptive designs, P-values, point estimation", | ||
doi = "10.1002/sim.10020", | ||
year = {2024}, | ||
textVersion = paste( | ||
"Meis, J, Pilz, M, Herrmann, C, Bokelmann, B, Rauch, G, Kieser, M. Point estimation, confidence intervals, and P-values for optimal adaptive two-stage designs with normal endpoints. Statistics in Medicine. 2024; 43(8): 1577–1603. doi:10.1002/sim.10020" | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# test_that("implicit rejection boundary from Neyman-Pearson test matches c2", | ||
# { | ||
# p2 <- get_stagewise_estimators(NeymanPearsonOrderingPValue(0, 0.4), | ||
# Normal(FALSE), | ||
# FALSE, | ||
# designad, | ||
# 1, | ||
# FALSE)[[2]] | ||
# expect_equal( | ||
# implied_c2( | ||
# designad, | ||
# adoptr:::scaled_integration_pivots(designad), | ||
# p2, | ||
# 1, | ||
# FALSE, | ||
# 0.025 | ||
# ), | ||
# designad@c2_pivots, | ||
# tolerance = 1e-3 | ||
# ) | ||
# }) | ||
test_that("implicit rejection boundary from Neyman-Pearson test matches c2", | ||
{ | ||
p2 <- get_stagewise_estimators(NeymanPearsonOrderingPValue(0, 0.4), | ||
Normal(FALSE), | ||
FALSE, | ||
designad, | ||
1, | ||
FALSE)[[2]] | ||
expect_equal( | ||
implied_c2( | ||
designad, | ||
adoptr:::scaled_integration_pivots(designad), | ||
p2, | ||
1, | ||
FALSE, | ||
0.025 | ||
), | ||
designad@c2_pivots, | ||
tolerance = 1e-3 | ||
) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters