Learn R Programming

bbemkr (version 1.3)

kern: Calculate the R square value as a measure of goodness of fit

Description

To determine the goodness of fit, we calculate the R square value for leave-one-out regressors.

Usage

kern(data_x, x, kerntype = c("Gaussian", "Epanechnikov", "Quartic", "Triweight", "Triangular", "Uniform"))

Arguments

data_x
Regressors
x
Bandwidths of the regressors, after the MCMC iterations
kerntype
Type of kernel function. By default, Gaussian kernel is used

Value

  • Value of R square

See Also

nrr