int_val: Lp integral (Internal Function)
Description
Local polynomial integral evaluation
calculation of elements of S_y and middle integral (evaluating integral at end points).
Usage
int_val(l, a, b, kernel_type)
Arguments
- l
Degree of polynomial being integrated.
- a
Lower limit of integration.
- b
Upper limit of integration.
- kernel_type
Type of kernel function. Choose from "uniform", "triangular", "epanechnikov".