s_fun: Function s(x) in Armstrong and Kolesar (2020)

Description Usage Arguments References Examples

View source: R/DGP.R

Description

Function s(x) as defined in Section 5 of Armstrong and Kolesár (2020).

Usage

1
s_fun(x)

Arguments

x

a vector of x values

References

Armstrong, Timothy B., and Michal Kolesár. 2020. "Simple and Honest Confidence Intervals in Nonparametric Regression." Quantitative Economics 11 (1): 1–39.

Examples

1
2
x <- runif(100, -1, 1)
s_fun(x)

koohyun-kwon/HTEBandSim documentation built on Dec. 21, 2021, 7:43 a.m.