f.2: Function f_2

View source: R/Reg_fcns.R

f.2R Documentation

Function f_2

Description

Function f_2 in the version 20201104

Usage

f.2(x, C, th, b1 = 1/3, b2 = 2/3)

Arguments

x

vector of regressor values.

C

smoothness parameter.

th

true RD parameter.

b1

the first knot value; the default is b1 = 1/3.

b2

the second knot value; the default is b2 = 2/3.

Value

vector of regression function values

Examples

x <- runif(100, -1, 1)
f.2(x, 1, 1)

koohyun-kwon/rdadapt documentation built on May 8, 2022, 8:49 p.m.