Learn R Programming

npmlda (version 1.0.0)

LocalLm.X0: 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

Run this code
# NOT RUN {
 # see usage of LocalLm
# }

Run the code above in your browser using DataLab