Description Usage Arguments Value See Also Examples
Computes univariate averaged shifted histogram (polynomial kernel)
1 | ash1(bins, m, kopt)
|
bins |
(input list) |
m |
(input) optional integer smoothing parameter; default=5. |
kopt |
(input) vector of length 2 specifying the kernel, which is proportional to ( 1 - abs(i/m)^kopt(1) )i^kopt(2); (2,2)=biweight (default); (0,0)=uniform; (1,0)=triangle; (2,1)=Epanechnikov; (2,3)=triweight. |
returns structure suitable for input to plot
dd
x=t |
vector of bin center locations |
y=f |
vector of ash estimates |
ier |
0=normal exit; 1=estimate nonzero outside interval ab |
1 2 3 |
[1] "ash estimate nonzero outside interval ab"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.