momKDE: Objective function for KDE moment matching.

Description Usage Arguments Value

View source: R/RcppExports.R

Description

The moments of kernel density estimates are matched.

Usage

1

Arguments

beta

Vector of regression parameters.

gamma

Design matrix.

momy

A numerical vector of moments to be matched to (same length as beta).

kdeGaussMom

A R function object to be passed that calculates exact moments.

type

An integer specifying the bandwidth selection method used, see bw.

Value

Square root of sum of squared differences between gamma*beta and momy (Eucledian distance).


alR documentation built on Dec. 7, 2017, 5:03 p.m.

Related to momKDE in alR...