Description Usage Arguments Details Value Author(s) See Also Examples

Computes local linear weights based on Kernel smoothing.

1 |

`x` |
Covariate values for obtaining estimates for the conditional probabilities. If missing, unconditioned probabilities will be computed. |

`kernel` |
A character string specifying the desired kernel. See details below for possible options. Defaults to "gaussian" where the gaussian density kernel will be used. |

`bw` |
A single numeric value to compute a kernel density bandwidth. |

`t1` |
Covariate value to compute the weight at. |

Possible options for argument window are "gaussian", "epanechnikov", "tricube", "boxcar", "triangular", "quartic" or "cosine".

A vector with local linear weights.

Luis Meira-Machado, Marta Sestelo and Gustavo Soutinho.

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.