Learn R Programming

pi0 (version 1.3-250)

dt.lap: Laplace approximation to the noncentral t-density

Description

Laplace approximation to noncentral t-density

Usage

dt.lap(x, df, ncp = 0, log = FALSE, normalize = c("central", 
      "integral", "none"), ...)

Arguments

x
A numeric vector of quantiles
df
A numeric vector of degrees of freedom
ncp
A numeric vector of noncentrality parameters
log
logical; if TRUE, log densities are returned
normalize
character. If central, the normalization is such that the approxiamtion is exact when ncp=0. If integral, numerical integration is performed such that the density integrate to 1 (not implemented yet). If
...
currently not used.

Value

  • numeric vector of densities

References

Young, G.A. and Smith R.L. 2005. Essentials of statistical inference. Cambridge University Press. Cambridge, UK.

See Also

dt.int2, dt.sad, dt