code: def logistic_regression_rows_wald_nd(mt_path):
      mt = hl.read_matrix_table(mt_path)
      mt = mt.head(2000)
      num_phenos = 5
      num_covs = 2
      pheno_dict = {
          f"pheno_{i}": hl.rand_bool(0.5, seed=i)
          for i in range(num_phenos)
      }
      cov_dict = {
          f"cov_{i}": hl.rand_unif(0, 1, seed=i)
          for i in range(num_covs)
      }
      mt = mt.annotate_cols(**pheno_dict)
      mt = mt.annotate_cols(**cov_dict)
      res = hl._logistic_regression_rows_nd(
          test="wald",
          y=[mt[key] for key in pheno_dict.keys()],
          x=mt.x,
          covariates=[mt[key] for key in cov_dict.keys()],
      )
      res._force_count()
  
imports: import hail
  from .resources import *
  from .utils import benchmark
label_desc: Use image node_id 23 for calling a global function with example usage: logistic_regression_rows_wald_nd(mt_path) without return types