Learn R Programming

truncdist (version 1.0-2)

Truncated Random Variables

Description

A collection of tools to evaluate probability density functions, cumulative distribution functions, quantile functions and random numbers for truncated random variables. These functions are provided to also compute the expected value and variance. Nadarajah and Kotz (2006) developed most of the functions. QQ plots can be produced. All the probability functions in the stats, stats4 and evd packages are automatically available for truncation..

Copy Link

Version

Install

install.packages('truncdist')

Monthly Downloads

3,217

Version

1.0-2

License

GPL (>= 2)

Last Published

August 29th, 2016

Functions in truncdist (1.0-2)

vartrunc

Variance of a truncated random variable
dtrunc

Probability density function of truncated random variables
qqtrunc

QQ Plot for a Truncated Random Variable
extrunc

Expected value of a truncated random variable
rtrunc

Generate truncated random deviates
ptrunc

Cumulative distribution function of a truncated random variable
qtrunc

Quantitle Function for Truncated Random Variable