suggestBandwith {covafillr} | R Documentation |
Suggest bandwith for local polynomial regression
Description
The bandwith is suggested coordinate wise to be
where p is the polynomial degree used and n is the number of coordinate points.
Usage
suggestBandwith(X, p)
Arguments
X |
A numeric matrix or vector of data coordinates |
p |
Polynomial degree to base the suggestion on |
Value
a vector or scalar of suggested bandwiths
Author(s)
Christoffer Moesgaard Albertsen
[Package covafillr version 0.4.4 Index]