Calculates weights under I = 1, using the non-parametric method
non_parm(Y, X, control = NULL, wgt = rep(1, length(Y)), lambda = 100,
...)
outcome vector (must be numeric without NA's).
numeric data frame or matrix of factors to be considered.
numeric data frame or matrix of factors to control for. these are factors that we can't consider while looking for the optimal intervention (e.g. race).
an optional vector of weights.
the lagrange multiplier. also known as the shadow price of an intervention.
additional arguments.
vector of weights under I = 1