LocalLm.X0 {npmlda}R Documentation

Local linear fit at X0 with Epanechnikov kernel

Description

Local linear fit at X0 with Epanechnikov kernel

Usage

LocalLm.X0(Xvec, Yvec, X0, Bndwdth, Wt = 1)

Arguments

Xvec, Yvec

numeric vectors of data values, Xvec and Yvec must have the same length.

X0

a given value

Bndwdth

a bandwidth of the kernel

Wt

a weight vector or a constant. For longitudinal data, Wt=1/N corresponds to measurement uniform weight and Wt=1/(nni) corresponds subject uniform weight.

Examples

 # see usage of LocalLm

[Package npmlda version 1.0.0 Index]