Description Usage Arguments Value
Solve for optimal weigths by the quantile matching method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
method |
character string used to define the parameter of interest and the function space. Possible choices are
|
C.vec |
smoothness parameter for the function space; possibly a vector. |
y |
dependent variable; possibly a matrix with |
x |
a vector of independent variable |
d |
a vector of treatment indicator; it can be arbitrarily specified when not used. |
eval |
a vector of indices |
T.grad.mat |
A |
level |
level of quantile |
deg |
degree of local polynomial regression to be used |
kern |
kernel used to calculate conditional variance function;
supports |
M |
number of bootstrap simulations |
seed |
seed for the random number generation; default is |
useloop |
If |
root.robust |
if |
ng |
the number of grids of quantile values over which the diagnostic test would be peformed
if |
resid.1 |
residuals corresponding to the treated observations; it can be a vector
or a matrix if |
resid.0 |
residuals corresponding to the control observations; it can be a vector
or a matrix if |
var.reg |
nonparametric regression method used to calculate residuals;
either |
c.method |
method to calculate the optimal value of c_n. Currently,
using the default value |
c.supp |
value of c_n to be used when |
a list of the following components
a 3-dim array of weigths corresponding to the treated observations;
the second and third dimension correponds to ncol(y)
and length(eval)
a 3-dim array of weigths corresponding to the control observations;
the second and third dimension correponds to ncol(y)
and length(eval)
.
If there is no control observations, returns array of 0.
the quantile value corresponding to the optimal weigths.
boolean value testing whether the objective function is increasing or not;
provided only if root.robust = TRUE
a data.frame
object containing evaluations of the objective function
over grid values of quantiles; provided only if root.robust = TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.