fit_wls: Fit weighted least squares

Description Usage Arguments

View source: R/internal-lm.r

Description

Fit weighted least squares

Usage

1
fit_wls(y, data, global = TRUE, kernel, bw, point, ...)

Arguments

y

outcome variable

data

data which is generated by clean_rd_data()

global

logical. use all observations?

kernel

character of kernel density ("uniform" or "triangular")

bw

bandwidth.

point

value of the running variable that the kernel weights weigh the most.

...

se and cholesky arguments


KatoPachi/discreteRD documentation built on Feb. 24, 2022, 12:32 a.m.