- y_data
Numeric matrix/data frame, the raw data of independent.
- x_data
Numeric matrix/data frame, the raw data of covariates.
- x
Numeric, specifies the evaluation point in the x-direction. Default is median of the dataset.
- y_grid
Numeric, specifies the grid of evaluation points. When set to default, grid points
will be chosen as 0.05-0.95 percentiles of the data, with a step size of 0.05.
- p
Nonnegative integer, specifies the order of the local polynomial for Y
used to
construct point estimates. (Default is 2
.)
- q
Nonnegative integer, specifies the order of the local polynomial for X
used to
construct point estimates. (Default is 1
.)
- grid_spacing
String, If equal to "quantile" will generate quantile-spaced grid evaluation points, otherwise will generate equally spaced points.
- ng
Int, number of grid points to be used in generating bandwidth estimates.
- mu
Nonnegative integer, specifies the derivative with respect to Y
of the
distribution function to be estimated. 0
for the distribution function,
1
(default) for the density funtion, etc.
- nu
Nonnegative integer, specifies the derivative with respect to X
of the
distribution function to be estimated.
- kernel_type
String, specifies the kernel function, should be one of
"triangular"
, "uniform"
or "epanechnikov"
.
- bw_type
String, specifies the method for data-driven bandwidth selection. This option will be
ignored if bw
is provided. Implementable with "mse-rot"
(default, mean squared error-optimal
bandwidth selected for each grid point)
- regularize
Boolean (default TRUE). Option to regularize bandwidth selection to have atleast
20+max(p, q)+1 datapoints when evaluating the estimator.