kern: Calculate the R square value and mean square error as...

Description Usage Arguments Value Author(s) See Also

View source: R/kern.R

Description

To determine the goodness of fit, we calculate the R square value for leave-one-out cross validated regressors. To determine the googness of approximating regression function, we calculate the mean square error for leave-one-out cross validated regressors.

Usage

1
kern(h, data_x, data_y, xm)

Arguments

h

Bandwidth chosen after MCMC

data_x

Regressors

data_y

Response

xm

Values of true regression function

Value

Values of R square and mean square error

Author(s)

Han Lin Shang

See Also

nrr


bbemkr documentation built on May 1, 2019, 10:53 p.m.