fstar {OSCV} | R Documentation |
Nonsmooth density function with seven cusps.
Description
Nonsmooth density f^*
with seven cusps introduced in the article of Savchuk (2017).
Usage
fstar(u)
Arguments
u |
numerical vecror of argument values in the range [-3,3]. |
Details
The function f^*
consists of straight lines with different slopes connected together. The support of the density is [-3,3].
Value
The vector of values of f^*
corresponding to the values of the vector u
.
References
Savchuk, O.Y. (2017). One-sided cross-validation for nonsmooth density functions, arXiv:1703.05157.
See Also
Examples
## Not run:
dev.new()
plot(seq(-3.5,3.5,len=1000),fstar(seq(-3.5,3.5,len=1000)),'l',lwd=3,
main="Nonsmooth density fstar with seven cusps", xlab="argument", ylab="density",cex.main=1.5,
cex.axis=1.7,cex.lab=1.7)
## End(Not run)
[Package OSCV version 1.0 Index]