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.
dsujatha)
psujatha)
qsujatha)
rsujatha)fitsujatha)gofsujatha)# install.packages("remotes")
# remotes::install_github("hosenur72/SujathaDist")
install.packages("SujathaDist", repos = c('https://hosenur72.r-universe.dev', 'https://cloud.r-project.org'))
Download the package source and install
install.packages("SujathaDist_1.0.0.tar.gz",
repos = NULL,
type = "source")
library(SujathaDist)
dsujatha(2, theta = 2)
psujatha(2, theta = 2)
qsujatha(0.50, theta = 2)
set.seed(123)
x <- rsujatha(100,
theta = 2)
head(x)
fit <- fitsujatha(x)
fit
Example output
Maximum Likelihood Fit of Sujatha Distribution
Parameter Estimate
theta = 2.08
summary(fit)
confint(fit)
vcov(fit)
gofsujatha(fit)
| 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 |
The package can be applied in
Shanker, R. (2016).
Sujatha Distribution and Its Applications.
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.
Hosenur Rahman Prodhani
Assistant Professor
Department of Statistics
B.N. College (Autonomous),Dhubri, Assam, India
Email: hosenur72@gmail.com
GPL (>= 3)