Skip to contents

This function calculates the scaled kernel \(K_b(v) = b^{-1}K(v/b)\) where \(K(v) = \max\{1 - |v|\}.\)

Usage

bartlett_uni(v, b)

Arguments

v

Input value.

b

Bandwidth.