calculate_bandwidth: Helper function for kernel smoother

View source: R/test-script-2025-01-20.r

calculate_bandwidthR Documentation

Helper function for kernel smoother

Description

Calculates the appropriate bandwidth for Nadaraya-Watson kernel smoother.

Usage

calculate_bandwidth(s)

Arguments

s

Vector of surrogate values.

Value

Desired bandwidth for kernel smoother.

Author(s)

Emily Hsiao


SurrogateParadoxTest documentation built on April 4, 2025, 5:11 a.m.