bisquare: Calculate weights via the bisquare kernel

Description Usage Arguments Value

Description

Calculate weights via the bisquare kernel

Usage

1
bisquare(d, bw)

Arguments

d

vector of distances from the center of the bisquare kernel

bw

bandwidth parameter for the bisquare kernel

Value

The weight given to each of the distances d by a bisquare function with the given bandwidth bw, which is zero if d>bw and (1-(d/bw)^2)^2 otherwise


wrbrooks/cox documentation built on May 4, 2019, 11:58 a.m.