plot.h.mlcv: Plot for Maximum-Likelihood Cross-validation

Description Usage Arguments Value Author(s) See Also Examples

Description

The plot.h.mlcv function loops through calls to the h.mlcv function. Plot for maximum-likelihood cross-validation function for 1-dimensional data.

Usage

1
2
3
4
## S3 method for class 'h.mlcv'
plot(x, seq.bws=NULL, ...)
## S3 method for class 'h.mlcv'
lines(x,seq.bws=NULL, ...)

Arguments

x

object of class h.mlcv (output from h.mlcv).

seq.bws

the sequence of bandwidths in which to compute the maximum- likelihood cross-validation function. By default, the procedure defines a sequence of 50 points, from 0.15*hos to 2*hos (Over-smoothing).

...

other graphics parameters, see par in package "graphics".

Value

Plot of 1-d maximum-likelihood cross-validation function are sent to graphics window.

kernel

name of kernel to use.

seq.bws

the sequence of bandwidths.

mlcv

the values of the maximum-likelihood cross-validation function in the bandwidths grid.

Author(s)

Arsalane Chouaib Guidoum acguidoum@usthb.dz

See Also

h.mlcv.

Examples

1

Example output

$kernel
[1] "gaussian"

$seq.bws
 [1] 0.09664834 0.12097479 0.14530124 0.16962769 0.19395415 0.21828060
 [7] 0.24260705 0.26693350 0.29125996 0.31558641 0.33991286 0.36423931
[13] 0.38856577 0.41289222 0.43721867 0.46154512 0.48587157 0.51019803
[19] 0.53452448 0.55885093 0.58317738 0.60750384 0.63183029 0.65615674
[25] 0.68048319 0.70480965 0.72913610 0.75346255 0.77778900 0.80211545
[31] 0.82644191 0.85076836 0.87509481 0.89942126 0.92374772 0.94807417
[37] 0.97240062 0.99672707 1.02105353 1.04537998 1.06970643 1.09403288
[43] 1.11835933 1.14268579 1.16701224 1.19133869 1.21566514 1.23999160
[49] 1.26431805 1.28864450

$mlcv
 [1] -1.475321 -1.449227 -1.434351 -1.425757 -1.421179 -1.419327 -1.419423
 [8] -1.421046 -1.424009 -1.428243 -1.433707 -1.440356 -1.448126 -1.456943
[15] -1.466718 -1.477362 -1.488782 -1.500888 -1.513589 -1.526800 -1.540438
[22] -1.554424 -1.568683 -1.583143 -1.597740 -1.612411 -1.627099 -1.641751
[29] -1.656319 -1.670758 -1.685030 -1.699099 -1.712934 -1.726508 -1.739798
[36] -1.752786 -1.765457 -1.777798 -1.789800 -1.801460 -1.812773 -1.823739
[43] -1.834362 -1.844644 -1.854593 -1.864215 -1.873520 -1.882518 -1.891219
[50] -1.899636

kedd documentation built on May 2, 2019, 7:32 a.m.