powered by
This function evaluates a kernel of order 4.
kernel4(x)
A vector of the same length as x where each entry is ( 15/32 ) * ( 1 - x^2 ) * ( 3 - 7 * x^2 ) if abs(x) < 1 and 0 otherwise.
x
( 15/32 ) * ( 1 - x^2 ) * ( 3 - 7 * x^2 )
abs(x) < 1
A vector of real numbers.
Alejandra Martinez, ale_m_martinez@hotmail.com, Matias Salibian-Barrera
This function evaluates a kernel of order 4. A kernel L is a kernel of order 4 if it integrates 1, the integrals of u^j L(u) are 0 for 1 <= j < 4 (j integer) and the integral of u^4 L(u) is different from 0.
x <- seq(-2,2,length=10) kernel4(x)
Run the code above in your browser using DataLab