Skip to content

Commit 58e6d22

Browse files
committed
Updated probit BCF
1 parent 7b3a5ae commit 58e6d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/bcf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ bcf <- function(X_train, Z_train, y_train, propensity_train = NULL, rfx_group_id
740740
# treatment_effect_forest_params.
741741
p <- 0.6827
742742
q_quantile <- qnorm((p+1)/2)
743-
sigma2_leaf_tau <- ((delta_max/(q_quantile*dnorm(0)))^2)/num_trees_tau
743+
sigma_leaf_tau <- ((delta_max/(q_quantile*dnorm(0)))^2)/num_trees_tau
744744
current_leaf_scale_tau <- as.matrix(diag(sigma_leaf_tau, ncol(Z_train)))
745745
} else {
746746
if (!is.matrix(sigma_leaf_tau)) {

0 commit comments

Comments
 (0)