support.facto: "De Facto" Support

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/GoFKernel.r

Description

support.facto computes the de facto numerical limits of a density function with theoretical infinite support. This function is an (internal) function of the GoFKernel package.

Usage

1
support.facto(f, lower = -Inf, upper = Inf)

Arguments

f

a density function.

lower

theoretical lower limit of the support of the random variable, default -Inf.

upper

theoretical upper limit of the support of the random variable, default, Inf.

Details

support.facto requires that the two first ordinary moments of f exist; otherwise, support.facto returns the introduced limits.

Value

A two components vector with the de facto lower and upper limits of f.

Author(s)

Jose M. Pavia

See Also

area.between, dgeometric.test, inverse, random.function and fan.test.

Examples

1

Example output

Loading required package: KernSmooth
KernSmooth 2.23 loaded
Copyright M. P. Wand 1997-2009
[1] -9.500817  9.500817

GoFKernel documentation built on May 2, 2019, 11:41 a.m.