get_sigma: Estimation of sigma

View source: R/utils.R

get_sigmaR Documentation

Estimation of sigma

Description

Computes the sigma estimate for given parameters.

Usage

get_sigma(X, x, h, inf_k)

Arguments

X

A numerical vector of sample data.

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 sigma estimate at point x. Returns 0 if the density estimate is negative.


rbbnp documentation built on June 8, 2025, 10:46 a.m.