R/Q1.R

Defines functions Q1

Documented in Q1

Q1 <- function(h_xt_mat, int_X, size_X_grid, n, Yi){

  g_help = b_selection_prep_g(h_xt_mat, int_X, size_X_grid, n, Yi)

  return(sum(g_help* Yi, na.rm = TRUE))
}

Try the HQM package in your browser

Any scripts or data that you put into this service are public.

HQM documentation built on Jan. 8, 2026, 9:08 a.m.