Description Usage Arguments Value Examples
View source: R/basicFunctionsKernel.R
Evaluates the estimated density of new observations (testing points) of a "FlexCoDE" object
1 2 |
objectCDE |
Object of the class "FlexCoDE", typically fitted used |
B |
Number of point where f(z|x) will be evaluated (on the z scale). This will be equally spaced between zMin and zMax |
xNew |
Matrix with nTest rows and same number of columns as xTrain, containing x's for which the estimates are desired. |
The return value is an object with the following components
z |
Points where the density was evaluate |
CDE |
Matrix with value of the density at points z. Each row corresponds to a different observation x (i-th row of CDE corresponds to i-th row of xTest). |
th |
(If predictionBandProb is not FALSE) Threshold values for each estimated density. The region where estimated densities are above these values have the approximate coverage probability desired. See |
1 | # See \code{\link{fitFlexCoDE}}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.