SujathaDist

Overview

SujathaDist is an R package for statistical analysis based on the Sujatha distribution, a one-parameter lifetime distribution proposed by Shanker (2016). The package provides functions for probability calculations, random number generation, parameter estimation using Maximum Likelihood Estimation (MLE), and goodness-of-fit analysis.

The package is intended for researchers, statisticians, reliability engineers, and students working with lifetime and reliability data.


Features


Installation

Install from GitHub

# install.packages("remotes")
# remotes::install_github("hosenur72/SujathaDist")
install.packages("SujathaDist", repos = c('https://hosenur72.r-universe.dev', 'https://cloud.r-project.org'))

Install from Source

Download the package source and install

install.packages("SujathaDist_1.0.0.tar.gz",
                 repos = NULL,
                 type = "source")

Load the Package

library(SujathaDist)

Examples

Density Function

dsujatha(2, theta = 2)

Distribution Function

psujatha(2, theta = 2)

Quantile Function

qsujatha(0.50, theta = 2)

Random Number Generation

set.seed(123)

x <- rsujatha(100,
            theta = 2)

head(x)

Parameter Estimation

fit <- fitsujatha(x)

fit

Example output

Maximum Likelihood Fit of Sujatha Distribution

Parameter Estimate

theta = 2.08

Summary

summary(fit)

Confidence Interval

confint(fit)

Variance-Covariance Matrix

vcov(fit)

Goodness-of-Fit

gofsujatha(fit)

Included Functions

Function Description
dsujatha() Probability density function
psujatha() Cumulative distribution function
qsujatha() Quantile function
rsujatha() Random number generation
fitsujatha() Maximum likelihood estimation
gofsujatha() Goodness-of-fit analysis

Applications

The package can be applied in


References

Shanker, R. (2016).

Sujatha Distribution and Its Applications.

Statistics in Transition: new Series, 17 (3), 391-410,

Citation

If you use SujathaDist in your research, please cite both the package and the original paper introducing the Sujatha distribution.

Example

Prodhani, H. R.(2026).

SujathaDist:
  An R Package for Statistical Analysis Using the Sujatha Distribution.

Version 1.0.0.

Author

Hosenur Rahman Prodhani

Assistant Professor

Department of Statistics

B.N. College (Autonomous),Dhubri, Assam, India

Email: hosenur72@gmail.com


License

GPL (>= 3)