Package: UniLindleyApprox 0.1.0

UniLindleyApprox: Bayesian Point Estimation Using Lindley's Approximation Under Censoring Schemes

Performs Bayesian point estimation using Lindley's Approximation (1980) <doi:10.1111/j.2517-6161.1980.tb01102.x> for arbitrary univariate probability distributions under numerous censoring and truncation schemes. Users supply the probability density function (PDF), cumulative distribution function (CDF), survival function, log-prior density, initial parameter vector, support bounds, and observed data; the package automatically computes Bayesian point estimates under various loss functions using Lindley's approximation. Supported schemes include complete data, right censoring, left censoring, interval censoring, random censoring, block random censoring, Type-I censoring, Type-II censoring, progressive Type-II censoring, progressive first failure censoring, joint Type-I censoring, joint Type-II censoring, balanced joint progressive Type-II censoring, hybrid censoring, hybrid Type-I censoring, hybrid Type-II censoring, Type-I hybrid censoring, Type-II progressively hybrid censoring, doubly Type-II censoring, middle censoring, right truncation, and left truncation. The package computes posterior expectations of arbitrary smooth functions, supports multiple loss functions (squared error loss function (SELF), weighted squared error loss function (WSELF), modified quadratic squared error loss function (MQSELF), precautionary loss function (PLF), entropy loss function (ELF), linear-exponential (LINEX), generalized entropy loss function (GELF), Kullback-Leibler loss function (K-Loss), and user-defined), provides model selection criteria (Akaike information criterion (AIC), Bayesian information criterion (BIC), corrected Akaike information criterion (AICc), Hannan-Quinn information criterion (HQIC), consistent Akaike information criterion (CAIC), Kullback information criterion (KIC)), goodness-of-fit statistics (Kolmogorov-Smirnov, Anderson-Darling, Cramer-von Mises, Watson, Chi-square), residual analysis (Cox-Snell, Martingale, Deviance, Pearson, Generalized, Randomized quantile), comprehensive visualization tools, prediction utilities, and simulation functions for benchmarking estimators. Methods are described in Lindley (1980) <doi:10.1111/j.2517-6161.1980.tb01102.x>, Tierney and Kadane (1986) <doi:10.2307/2234555>, Tierney, Kass, and Kadane (1989) <doi:10.2307/2335663>, Nagar, Kumar, and Krishna (2026) <doi:10.59467/IJASS.2026.22.1>, Goel, Kumar, and Krishna (2026, "Estimation in power Lindley distributions using balanced joint progressively Type-II censored data"), Wu and Kus (2009) <doi:10.1016/j.csda.2009.03.010>, Goel and Krishna (2026) <doi:10.1007/s13198-026-03208-w>, Balakrishnan and Aggarwala (2000, ISBN:978-1-4612-1334-5), Mondal and Kundu (2020) <doi:10.1080/03610926.2018.1554128>, Ding and Gui (2023) <doi:10.3390/math11092003>, Prajapati, Mitra, and Kundu (2019) <doi:10.1007/s13571-018-0167-0>, Yadav, Jaiswal, and Yadav (2026) <doi:10.1007/s11135-026-02647-8>, Iyer, Jammalamadaka, and Kundu (2008) <doi:10.1016/j.jspi.2007.03.062>, Banerjee and Kundu (2008) <doi:10.1109/TR.2008.916890>, and Kundu and Joarder (2006) <doi:10.1016/j.csda.2005.05.002>.

Authors:Shikhar Tyagi [aut, cre], Arvind Pandey [aut], Bhupendra Singh [aut], Vrijesh Tripathi [aut]

UniLindleyApprox_0.1.0.tar.gz
UniLindleyApprox_0.1.0.zip(r-4.7-any)UniLindleyApprox_0.1.0.zip(r-4.6-any)UniLindleyApprox_0.1.0.zip(r-4.5-any)
UniLindleyApprox_0.1.0.tgz(r-4.6-any)UniLindleyApprox_0.1.0.tgz(r-4.5-any)
UniLindleyApprox_0.1.0.tar.gz(r-4.7-any)UniLindleyApprox_0.1.0.tar.gz(r-4.6-any)
UniLindleyApprox_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
UniLindleyApprox/json (API)

# Install 'UniLindleyApprox' in R:
install.packages('UniLindleyApprox', repos = c('https://shikhartyagi.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.00 score 260 downloads 56 exports 2 dependencies

Last updated from:10db56dcd1. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK115
source / vignettesOK155
linux-releaseOK120
macos-releaseOK88
macos-oldrelOK117
windows-develOK82
windows-releaseOK82
windows-oldrelOK81
wasm-releaseOK94

Exports:AIC.lindleyfitAICcbayes_estimateBIC.lindleyfitCAICcoef.lindleyfitdiagnosticsdiagnostics.lindleyfitfitted.lindleyfitgof_adgof_chisqgof_cvmgof_ksgof_watsonHQICKIClindley_fitlindley.controllog_prior_betalog_prior_exponentiallog_prior_gammalog_prior_invgammalog_prior_jeffreyslog_prior_lognormallog_prior_normallog_prior_uniformlog_prior_weibulllogLik.lindleyfitloss_elfloss_gelfloss_klossloss_linexloss_mqselfloss_plfloss_selfloss_wselfplot.lindleyfitposterior_expectationposterior_meanposterior_medianpredict.lindleyfitprint.lindleyfitresiduals.lindleyfitsimulate_completesimulate_hybridsimulate_intervalsimulate_leftsimulate_left_truncationsimulate_middlesimulate_progressivesimulate_randomsimulate_rightsimulate_right_truncationsimulate_type1simulate_type2summary.lindleyfit

Dependencies:MASSnumDeriv

Benchmark Analyses and Case Studies with UniLindleyApprox
Introduction | Weibull Distribution under Progressive Type-II Censoring | Lindley Distribution

Last update: 2026-08-06
Started: 2026-08-06

Introduction to UniLindleyApprox: Bayesian Estimation via Lindley's Approximation
Overview | Features | Example: Exponential Distribution under Complete Data | Bayes Estimation Under Multiple Loss Functions | Diagnostics & Model Information Criteria

Last update: 2026-08-06
Started: 2026-08-06

Readme and manuals

Help Manual

Help pageTopics
UniLindleyApprox: Bayesian Point Estimation Using Lindley's ApproximationUniLindleyApprox-package UniLindleyApprox
AIC Method for lindleyfit ObjectsAIC.lindleyfit
AIC Method for lindleyfit Objects Corrected Akaike Information Criterion (AICc)AICc
AICc Method for lindleyfit ObjectsAICc.lindleyfit
Autoplot Method for lindleyfit Objectsautoplot.lindleyfit
Compute Bayes Estimate Under Specified Loss Functionbayes_estimate
BIC Method for lindleyfit ObjectsBIC.lindleyfit
Consistent Akaike Information Criterion (CAIC)CAIC
CAIC Method for lindleyfit ObjectsCAIC.lindleyfit
Coefficient Method for lindleyfit Objectscoef.lindleyfit
Compare Predictionscompare_predictions
Extract Diagnostic Informationdiagnostics
Diagnostics Method for lindleyfit Objectsdiagnostics.lindleyfit
Fitted Method for lindleyfit Objectsfitted.lindleyfit
Anderson-Darling Statisticgof_ad
Chi-Square Goodness-of-Fit Statisticgof_chisq
Cramér-von Mises Statisticgof_cvm
Kolmogorov-Smirnov Statisticgof_ks
Goodness-of-Fit Statisticsgof_stats
Watson Statisticgof_watson
Hannan-Quinn Information Criterion (HQIC)HQIC
HQIC Method for lindleyfit ObjectsHQIC.lindleyfit
Create Independent Product Priorindependent_prior
Kullback Information Criterion (KIC)KIC
KIC Method for lindleyfit ObjectsKIC.lindleyfit
Bayesian Estimation Using Lindley's Approximationlindley_fit
Control Parameters for Lindley Approximationlindley.control
Create Multivariate Normal Priorlog_prior_mvn
Prior Distributions for Bayesian Estimationlog_priors log_prior_beta log_prior_exponential log_prior_gamma log_prior_invgamma log_prior_jeffreys log_prior_lognormal log_prior_normal log_prior_uniform log_prior_weibull
Log-Likelihood Method for lindleyfit ObjectslogLik.lindleyfit
Loss Functions for Bayesian Estimationloss_elf loss_functions loss_gelf loss_kloss loss_linex loss_mqself loss_plf loss_self loss_wself
Mean Absolute Errormae
Mean Squared Errormse
Plot Fitted Distributionplot_fitted
Plot Likelihood Surfaceplot_likelihood_surface
Plot Posterior Surfaceplot_posterior_surface
Plot Prior vs Posteriorplot_prior_posterior
Plot Log-Likelihood Profileplot_profile
Plot Residualsplot_residuals
Plot Method for lindleyfit Objectsplot.lindleyfit
Visualization Functions for UniLindleyApproxplots
Compute Posterior Expectation of Arbitrary Functionposterior_expectation
Compute Posterior Mean Approximationposterior_mean
Compute Posterior Median Approximationposterior_median
Predict Cumulative Hazardpredict_cumhaz
Predict Failure Probabilitypredict_failure_prob
Predict Hazard Functionpredict_hazard
Prediction Intervals (Based on Quantiles)predict_interval
Predict Median Time to Failurepredict_median
Predict Mean Time to Failurepredict_mttf
Predict for New Datapredict_new
Predict Quantilespredict_quantiles
Predict Remaining Lifetimepredict_remaining_lifetime
Predict Survival Probabilitiespredict_survival
Predict Probability of Survival to Time Tpredict_survival_prob
Predict Method for lindleyfit Objectspredict.lindleyfit
Prediction Functions for UniLindleyApproxprediction
Prediction Summaryprediction_summary
Print Method for lindleyfit Objectsprint.lindleyfit
Residuals Method for lindleyfit Objectsresiduals.lindleyfit
Root Mean Squared Errorrmse
Simulate Complete Datasimulate_complete
Simulate Hybrid Censored Datasimulate_hybrid
Simulate Interval Censored Datasimulate_interval
Simulate Left Censored Datasimulate_left
Simulate Left Truncated Datasimulate_left_truncation
Simulate Middle Censored Datasimulate_middle
Simulate Progressive Type-II Censored Datasimulate_progressive
Simulate Random Censored Datasimulate_random
Simulate Right Censored Datasimulate_right
Simulate Right Truncated Datasimulate_right_truncation
Simulate Type-I Censored Datasimulate_type1
Simulate Type-II Censored Datasimulate_type2
Simulation Utilities for Censoring Schemessimulation
Simulation Study for Bayesian Estimatorssimulation_study
Summary Method for lindleyfit Objectssummary.lindleyfit
Utility Functions for UniLindleyApproxutilities