my.local_poly: Local polynomial estimator

Description Usage Arguments Examples

View source: R/my.local_poly.R

Description

This function returns point estimates and the variance-covariance matrix. Written for data.table arguments.

Usage

1
2
3
4
5
6
7
8
9
my.local_poly(
  Yvar,
  Xvar,
  read_data,
  predict_data,
  tolerance = 1e-16,
  degree = 1L,
  bandwidth = 1
)

Arguments

Yvar

Dependent variable

Xvar

Running variable

read_data

Of type data.table - data for reading

predict_data

Of type data.table - Xvar points for predicting values

tolerance

Tolerance level for matrix inversion

degree

Degree of polynomial

bandwidth

Bandwidth of data for Xvar

Examples

1

joshuadhigbee/myAppliedMetrics documentation built on March 19, 2021, 3:45 p.m.