Computes the ASH density estimate at point x.
Arguments
- x
Object of class
"ASH".- data
Numeric matrix or data frame of observations (
n x d).- b
Positive numeric vector of bandwidths (length
d).- m
Positive integer vector of shifts (length
d).- min_vals
Numeric vector of lower grid bounds (length
d).- max_vals
Numeric vector of upper grid bounds (length
d).- ...
Additional arguments (unused).
Value
A list with class c("glbfp_fit", "ASH") containing:
x, estimation, b, m, method, and dimension.
Details
m controls the number of shifted histograms used in each dimension. Missing
and non-finite values are not accepted; remove or impute them before calling
the estimator.
References
Scott, D. W. (1992). Multivariate Density Estimation: Theory, Practice, and Visualization. Wiley. doi:10.1002/9780470316849.