https://larsvanderlaan.github.io
mu_hat <- as.stepfun(isoreg(mu_hat, Y))(mu_hat)
pi_hat <- as.stepfun(isoreg(pi_hat, A))(pi_hat)
(Or use the isoreg_with_xgboost function given in the paper, which I recommend)
mu_hat <- as.stepfun(isoreg(mu_hat, Y))(mu_hat)
pi_hat <- as.stepfun(isoreg(pi_hat, A))(pi_hat)
(Or use the isoreg_with_xgboost function given in the paper, which I recommend)
Working paper:
arxiv.org/pdf/2501.11868
Working paper:
arxiv.org/pdf/2501.11868