Simulate values from (conditional) kernel.
1 2 | simulate_values_from_product_kernel(n, conditioning_obs, center,
kernel_components, theta)
|
theta |
a list with one component for each component of the kernel function. This component is a named list with arguments to the corresponding kernel function. |
train_obs |
a data frame with lagged observation vectors computed from the training data |
prediction_obs |
a data frame with the lagged observation vector computed from the prediction data. It is assumed that prediction_lagged_obs contains only one row. |
kcde_control |
a list of kcde_control parameters for kcde |
log |
boolean; if TRUE (default), return kernel values on the log scale |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.