We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e04dbb commit 9ec108bCopy full SHA for 9ec108b
R/double_ml.R
@@ -737,12 +737,12 @@ DoubleML = R6Class("DoubleML",
737
#' a `matrix()` with adjusted p_values.
738
p_adjust = function(method = "romano-wolf", return_matrix = TRUE) {
739
if (all(is.na(self$coef))) {
740
- stop("apply fit() before p_adust().")
+ stop("apply fit() before p_adjust().")
741
}
742
743
if (tolower(method) %in% c("rw", "romano-wolf")) {
744
if (is.null(self$boot_t_stat) | all(is.na(self$coef))) {
745
- stop("apply fit() & bootstrap() before p_adust().")
+ stop("apply fit() & bootstrap() before p_adjust().")
746
747
k = self$data$n_treat
748
pinit = p_val_corrected = vector(mode = "numeric", length = k)
0 commit comments