Description Usage Arguments Value Examples
Computes optimal weights and bandwidths for inference for nonparametric regression function values
under Hölder space, with an aid of RDHonest
package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
y |
vector of dependent variables |
x |
vector of regressors |
eval |
evaluation points |
C |
bound on the second derivative |
level |
confidence level |
kern |
specifies kernel function used in the local regression; default = |
se.initial |
method for estimating initial variance for computing optimal bandwidt; default = |
se.method |
methods for estimating standard error of estimate; default = |
J |
number of nearest neighbors, if "nn" is specified in se.method. |
TE |
logical specifying whether there are treatment and control groups. |
d |
a vector of indicator variables specifying treatment and control group status;
relevant only when |
bw.eq |
if |
list with components
matrix of optimal weigths with a dimension length(y)
by length(eval)
corresponding to the evaluation points
vector of optimal bandwidths corresponding to the evaluation points
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.