fstar: Nonsmooth density function with seven cusps.

Description Usage Arguments Details Value References See Also Examples

View source: R/OSCV_density.R

Description

Nonsmooth density f^* with seven cusps introduced in the article of Savchuk (2017).

Usage

1
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

sample_fstar, ISE_fstar.

Examples

1
2
3
4
5
6
7
## 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)

OSCV documentation built on May 2, 2019, 6:44 a.m.

Related to fstar in OSCV...