Package: TruncExpFam 1.2.0
TruncExpFam: Truncated Exponential Family
Handles truncated members from the exponential family of probability distributions. Contains functions such as rtruncnorm() and dtruncpois(), which are truncated versions of rnorm() and dpois() from the stats package that also offer richer output containing, for example, the distribution parameters. It also provides functions to retrieve the original distribution parameters from a truncated sample by maximum-likelihood estimation.
Authors:
TruncExpFam_1.2.0.tar.gz
TruncExpFam_1.2.0.zip(r-4.5)TruncExpFam_1.2.0.zip(r-4.4)TruncExpFam_1.2.0.zip(r-4.3)
TruncExpFam_1.2.0.tgz(r-4.4-any)TruncExpFam_1.2.0.tgz(r-4.3-any)
TruncExpFam_1.2.0.tar.gz(r-4.5-noble)TruncExpFam_1.2.0.tar.gz(r-4.4-noble)
TruncExpFam_1.2.0.tgz(r-4.4-emscripten)TruncExpFam_1.2.0.tgz(r-4.3-emscripten)
TruncExpFam.pdf |TruncExpFam.html✨
TruncExpFam/json (API)
NEWS
# Install 'TruncExpFam' in R: |
install.packages('TruncExpFam', repos = c('https://ocbe-uio.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ocbe-uio/truncexpfam/issues
Last updated 2 months agofrom:ca40b0e904. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-win | OK | Oct 26 2024 |
R-4.5-linux | OK | Oct 26 2024 |
R-4.4-win | OK | Oct 26 2024 |
R-4.4-mac | OK | Oct 26 2024 |
R-4.3-win | OK | Oct 26 2024 |
R-4.3-mac | OK | Oct 26 2024 |
Exports:dtruncdtruncbetadtruncbinomdtruncchisqdtrunccontberndtruncexpdtruncgammadtruncinvgammadtruncinvgaussdtrunclnormdtruncnbinomdtruncnormdtruncpoisempiricalParametersmlEstimationTruncDistnatural2parametersparameters2naturalprobdistptruncptruncbetaptruncbinomptruncchisqptrunccontbernptruncexpptruncgammaptruncinvgammaptruncinvgaussptrunclnormptruncnbinomptruncnormptruncpoisqtruncqtruncbetaqtruncbinomqtruncchisqqtrunccontbernqtruncexpqtruncgammaqtruncinvgammaqtruncinvgaussqtrunclnormqtruncnbinomqtruncnormqtruncpoisrtruncrtrunc_directrtruncbetartruncbinomrtruncchisqrtrunccontbernrtruncexprtruncgammartruncinvgammartruncinvgaussrtrunclnormrtruncnbinomrtruncnormrtruncpois
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Prints welcome message on package load | .onAttach |
Averages out the sufficient statistics T(y) | averageT |
Probability Density Function | dtrunc dtrunc.trunc_nbinom dtruncbeta dtruncbinom dtruncchisq dtrunccontbern dtruncexp dtruncgamma dtruncinvgamma dtruncinvgauss dtrunclnorm dtruncnbinom dtruncnorm dtruncpois |
Calculate empirical parameters | empiricalParameters |
Extract parameters | empiricalParameters.numeric |
Generates an rtrunc-dispatchable class | genrtruncClass |
ML Estimation of Distribution Parameters | mlEstimationTruncDist |
Convert natural parameters to distribution parameters | natural2parameters |
Convert distribution parameters to natural parameters | parameters2natural |
Print sample from truncated distribution | print.trunc print.trunc_beta print.trunc_binomial print.trunc_chisq print.trunc_contbern print.trunc_exp print.trunc_gamma print.trunc_invgamma print.trunc_invgauss print.trunc_lognormal print.trunc_nbinom print.trunc_normal print.trunc_poisson |
Probability distribution class | probdist probdist-class |
Cumulative Distribution Function | ptrunc ptruncbeta ptruncbinom ptruncchisq ptrunccontbern ptruncexp ptruncgamma ptruncinvgamma ptruncinvgauss ptrunclnorm ptruncnbinom ptruncnorm ptruncpois |
Quantile Function | qtrunc qtruncbeta qtruncbinom qtruncchisq qtrunccontbern qtruncexp qtruncgamma qtruncinvgamma qtruncinvgauss qtrunclnorm qtruncnbinom qtruncnorm qtruncpois |
The Truncated Exponential Family | rtrunc rtruncbeta rtruncbinom rtruncchisq rtrunccontbern rtruncexp rtruncgamma rtruncinvgamma rtruncinvgauss rtrunclnorm rtruncnbinom rtruncnorm rtruncpois rtrunc_direct |
Truncated Exponential Family | TruncExpFam-package TruncExpFam |
Validate family parameters | validateFamilyParms |