fhat | R Documentation |
Function for estimating the density function and its derivatives.
fhat(x_data, y_data, x, y_grid, p, q, mu, nu, h, kernel_type)
x_data |
Covariate dataset, vector or matrix. |
y_data |
Response variable dataset, vector. |
x |
Numeric vector or matrix, specifies the grid of evaluation points along x-direction. |
y_grid |
Numeric vector, specifies the grid of evaluation points along y-direction. |
p |
Polynomial order for y. |
q |
Polynomial order for covariates. |
mu |
Degree of derivative with respect to y. |
nu |
Degree of derivative with respect to x. |
h |
Numeric, bandwidth vector. |
kernel_type |
Kernel function choice. |
Conditional density estimate at all grid points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.