get_avg_fyx {rbbnp}R Documentation

Kernel point estimation

Description

Computes the point estimate using the specified kernel function.

Usage

get_avg_fyx(Y, X, x, h, inf_k)

Arguments

Y

A numerical vector representing the sample data of variable Y.

X

A numerical vector representing the sample data of variable X.

x

A scalar representing the point where the density is estimated.

h

A scalar bandwidth parameter.

inf_k

Kernel function used for the computation.

Value

A scalar representing the kernel density estimate at point x.


[Package rbbnp version 0.1.0 Index]