momKDE: Objective function for KDE moment matching.

Description Usage Arguments Value

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).


mtloots/alR documentation built on May 23, 2019, 8:18 a.m.