Description Usage Arguments Details Value Author(s) Examples
Implements the local nonparametric method, local linear regression estimator with box kernel (default), for conditional mean functions.
1 | lplm(x, y, h, xx)
|
x |
The conditioning covariate |
y |
The response variable |
h |
The bandwidth parameter |
xx |
The points at which the function is to be estimated |
The function uses a box kernel.
xx |
The design points at which the evaluation occurs |
fitted.values |
The estimated function values at these design points |
Wesley Graybill, Mingli Chen, Victor Chernozhukov, Ivan Fernandez-Val, Alfred Galichon
1 2 3 4 5 6 7 | data(GrowthChart)
attach(GrowthChart)
ages <- unique(sort(age))
lplm.fit1 <- lplm(age,height,h=1,xx=ages)
detach(GrowthChart)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.