alrKDE: Objective function for KDE arc length matching.

Description Usage Arguments Value

Description

The arc lengths over specified intervals, in the domain of kernel density estimates, are matched.

Usage

1
alrKDE(beta, gamma, aly, q1, q2, type)

Arguments

beta

Vector of regression parameters.

gamma

Design matrix.

aly

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

q1

A vector of points (not quantiles) specifying the lower limit of the arc length segments.

q2

A vector of points (not quantiles) specifying the upper limit of the arc length segments.

type

An integer specifying the bandwidth selection method, see bw.

Value

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


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