Find the probability distribution that can constrain the first two moments while imposing the minimal structure in the data.
Usage
kernel_entropy(x, mean, sigma = NULL)
# S3 method for default
kernel_entropy(x, mean, sigma = NULL)
# S3 method for numeric
kernel_entropy(x, mean, sigma = NULL)
# S3 method for matrix
kernel_entropy(x, mean, sigma = NULL)
# S3 method for ts
kernel_entropy(x, mean, sigma = NULL)
# S3 method for xts
kernel_entropy(x, mean, sigma = NULL)
# S3 method for tbl_df
kernel_entropy(x, mean, sigma = NULL)
# S3 method for data.frame
kernel_entropy(x, mean, sigma = NULL)
Arguments
- x
An univariate or a multivariate distribution.
- mean
A numeric vector in which the kernel should be centered.
- sigma
The uncertainty (volatility) around the mean. When
NULL
, only the mean is constrained.