Skip to Content
MathematicsMathematics
  • Article
  • Open Access

24 April 2026

Interval Estimation for the Difference and Ratio of Variances Under the Zero-Inflated Two-Parameter Rayleigh Distribution

,
and
Department of Applied Statistics, Faculty of Applied Sciences, King Mongkut’s University of Technology North Bangkok, Bangkok 10800, Thailand
*
Author to whom correspondence should be addressed.

Abstract

The zero-inflated two-parameter Rayleigh (ZITR) distribution provides a flexible framework for modeling data with excess zeros and positive observations following a two-parameter Rayleigh distribution. It is particularly suitable for right-skewed data and has applications in areas such as road traffic mortality and survival analysis. This study develops and compares several methods for constructing confidence intervals for the difference and ratio of variances from two independent ZITR populations. The considered methods include Bayesian approaches based on Markov Chain Monte Carlo (MCMC) and highest posterior density (HPD) intervals, as well as the generalized confidence interval (GCI), method of variance estimates recovery (MOVER), approximate normal (AN), percentile bootstrap (PB), and bootstrap with standard error (BS). The performance of these methods is evaluated via Monte Carlo simulations under various parameter settings and sample sizes, using coverage probability and expected interval length as performance criteria. The results indicate that the Bayesian HPD method generally performs well across a wide range of scenarios. A real-data application using road traffic mortality data from January 2025 in Chanthaburi and Narathiwat provinces is also presented, demonstrating the practical usefulness of the proposed approaches for comparing the variance structure between the two regions.

1. Introduction

Probability distributions form a fundamental basis of statistical analysis, as they describe the behavior of data or random variables and summarize key characteristics such as dispersion, skewness, and kurtosis through a set of unknown parameters [1]. The choice of an appropriate distribution depends largely on the nature of the data under study. For continuous right-skewed data, commonly used distributions include the Rayleigh, Weibull, exponential, Gamma, and lognormal distributions [2,3].
The coexistence of excess zeros and occasional extreme values poses challenges for statistical analysis, particularly when high estimation accuracy is required. Applying standard continuous distributions without accounting for the large proportion of zeros may lead to biased inference and inflated variability. A fundamental framework for handling such data was introduced by Aitchison [4], who proposed a mixed-distribution model in which observations arise from two components: a degenerate distribution assigning positive probability to zero and a continuous distribution governing positive outcomes. This idea provided the foundation for later developments in delta and zero-inflated models. Subsequently, Fletcher [5] and Lecomte et al. [6] extended skewed continuous distributions by incorporating an explicit probability mass at zero, enhancing model flexibility for datasets with many zeros. Lambert [7] later formalized the zero-inflated modeling framework, particularly for cases where the observed number of zeros exceeds that expected under standard count models. This concept was further extended to continuous settings, allowing zero and positive observations to arise from distinct underlying processes. As a result, zero-inflated models have been widely applied in various fields, including environmental science, biomedicine, actuarial science, and reliability analysis (see [8,9]).
The Rayleigh distribution was originally introduced as a one-parameter model characterized by a scale parameter and is primarily used to describe positively skewed continuous data [10]. In its basic form, the distribution is limited in flexibility, as it accounts mainly for skewness without accommodating location shifts. To address this limitation, the two-parameter Rayleigh distribution was developed by incorporating a location parameter, thereby enhancing its flexibility in modeling a wider range of data patterns. This extended form was discussed in early works such as those of Johnson et al. [11], where the fundamental properties of continuous distributions, including the Rayleigh family, were systematically presented. Subsequently, the two-parameter Rayleigh distribution has been widely studied in statistical inference, particularly for estimating unknown parameters and deriving related measures [12,13]. In addition, recent studies have explored Bayesian estimation approaches for the Rayleigh distribution under different loss functions. For example, Seal et al. [14] investigated Bayesian estimation in the Rayleigh distribution under a distance-type loss function, demonstrating its applicability in modeling lifetime data and improving estimation performance under asymmetric loss structures. This highlights the continued relevance of the Rayleigh distribution in lifetime data analysis and modern inferential frameworks.
In many applied settings, particularly in fields involving real-world data analysis, observations often exhibit a combination of features, including a substantial proportion of zero outcomes together with a positively skewed distribution for positive values. Although the two-parameter Rayleigh distribution has been widely used for modeling right-skewed continuous data, its standard form cannot accommodate structural zeros, which are typically generated by underlying system mechanisms rather than random variation. Ignoring this feature may therefore lead to biased parameter estimates and unreliable statistical inference. To address this limitation, a zero-inflated extension of the two-parameter Rayleigh distribution has been proposed in recent studies [15], in which a point mass at zero is incorporated alongside the continuous Rayleigh component, allowing the data-generating process to be decomposed into a zero-generating mechanism and a positive outcome mechanism. In this study, inference on the difference between parameters and the ratio of population means is also considered within this framework. As a result, the model provides a more flexible framework that better reflects the underlying structure of data characterized by both excess zeros and right-skewed positive observations, making it particularly suitable for such applications.
Variance analysis measures dispersion by describing how observations vary around the mean [1]. It provides insight into the level of risk or uncertainty in a dataset. High variability may indicate instability or reduced predictability; therefore, accurate estimation and comparison of variances are essential for reliable statistical inference and evidence-based decision making.
When comparing the variances of two populations, inference is commonly based on either the difference or the ratio of variances. The difference quantifies the absolute disparity in dispersion, whereas the ratio provides a relative, scale-free comparison. Interval estimation within these frameworks has been widely studied. Bebu and Mathew [16] examined comparisons of means and variances under the bivariate log-normal distribution. Herbert et al. [17] developed confidence intervals for the difference between two independent variances using an analytical approach. Wongyai and Suwan [18] proposed confidence interval methods for the ratio of non-normal variances based on a kurtosis-based estimator. Subsequently, Maneerat et al. [19] and Khooriphan et al. [20] developed interval procedures for variance differences under skewed distributions with excess zeros. Similarly, Ratasukharom et al. [21] constructed confidence intervals for both the difference and the ratio of variances under the zero-modified Birnbaum–Saunders distribution. Puggard et al. [22] further developed confidence intervals for comparing variances of two independent Birnbaum–Saunders distributions. Despite these contributions, no study has addressed interval estimation for the difference and ratio of variances under the zero-inflated two-parameter Rayleigh distribution, leaving a gap in the literature on variance comparison for non-normal continuous models.
This study develops confidence intervals for both the difference and the ratio of variances between two zero-inflated two-parameter Rayleigh populations. These measures provide complementary perspectives: the variance difference reflects absolute disparity, whereas the variance ratio offers a relative comparison. Seven inferential approaches are considered: Bayesian Markov Chain Monte Carlo (MCMC), Bayesian highest posterior density (HPD) intervals, the asymptotic approximate normal (AN), the generalized confidence interval (GCI), the method of variance estimates recovery (MOVER), the percentile bootstrap (PB), and the bootstrap standard error method (BS). Their performance is evaluated through simulation using coverage probability and expected interval length.
In this study, an empirical application is presented using accident-related mortality data from January 2025 in Narathiwat and Chanthaburi provinces, Thailand. The data exhibit pronounced right-skewness and contain a large number of zero observations, corresponding to districts with no reported fatalities. Differences in demographic structure, infrastructure, and transportation conditions between the two provinces provide a meaningful basis for examining both absolute and relative measures of dispersion. By integrating methodological development, simulation-based evaluation, and real-data analysis, this study offers practical guidance for comparative inference on dispersion parameters in zero-inflated continuous models, with particular emphasis on the two-parameter Rayleigh distribution.

2. Materials and Methods

Let X i j = ( X i 1 , , X i n i ) for i = 1 , 2 , j = 1 , 2 , , n i , be independent random samples drawn from a zero-inflated two-parameter Rayleigh model with parameters δ i , λ i , and μ i denoted by X i j ( μ i , λ i , δ i ) . Here, δ i ( 0 δ i 1 ) denotes the probability mass at zero, whereas λ i and μ i correspond to the scale and location parameters of the underlying Rayleigh component. The probability density function (PDF) [13] is given by
f x i j ; μ i , λ i , δ i = δ i ; x i j = 0 1 δ i 2 λ i ( x i j μ i ) e λ i x i j μ i 2 ; x i j > μ i ,
where P ( X i j = 0 ) = δ i . The sample contains n i observations, which can be partitioned into n i ( 0 ) zero observations and n i ( 1 ) positive observations, with n i = n i ( 0 ) + n i ( 1 ) . The number of zero observations follows a binomial distribution, n i ( 0 ) Bin ( n i , δ i ) . Accordingly, the maximum likelihood estimator of the zero-inflation parameter is δ ^ i = n i ( 0 ) n i . The unknown parameters μ i and λ i are estimated using maximum likelihood estimation. Since closed-form solutions are not available [13,23], numerical methods are employed. The estimator of the location parameter μ i is obtained by solving
2 n 2 i ( 1 ) ( x ¯ μ ) j = 1 n i ( 1 ) ( x i j μ i ) 2 = j = 1 n i ( 1 ) ( x i j μ i ) 1 ,
which is solved numerically. Once μ ^ i is obtained, the maximum likelihood estimator of the scale parameter is
λ ^ i = n i ( 1 ) j = 1 n i ( 1 ) ( x i j μ i ) 2 .
In practice, the profile log-likelihood is maximized, and the root-finding procedure for μ i is implemented using the uniroot function in R version 4.4.1 with a convergence tolerance of 10 5 .
The variance of the zero-inflated two-parameter Rayleigh distribution can be expressed as shown in the following equation, with the full derivation provided in Appendix A:
Var ( X i ) = ξ i = 4 ( 1 δ i ) ( 1 δ i ) 2 π 4 λ i + μ i λ i π δ i ( 1 δ i ) + μ i 2 δ i ( 1 δ i ) .
Let x 1 and x 2 be two independent samples of sizes n 1 and n 2 drawn from populations with parameters ( μ 1 , λ 1 , δ 1 ) and ( μ 2 , λ 2 , δ 2 ) , respectively. The parameters of interest are the difference and ratio of the variances, defined as
θ = ξ 1 ξ 2 = 4 ( 1 δ 1 ) ( 1 δ 1 ) 2 π 4 λ 1 + μ 1 λ 1 π δ 1 ( 1 δ 1 ) + μ 1 2 δ 1 ( 1 δ 1 ) 4 ( 1 δ 2 ) ( 1 δ 2 ) 2 π 4 λ 2 + μ 2 λ 2 π δ 2 ( 1 δ 2 ) + μ 2 2 δ 2 ( 1 δ 2 ) ,
and
τ = ξ 1 ξ 2 = 4 ( 1 δ 1 ) ( 1 δ 1 ) 2 π 4 λ 1 + μ 1 λ 1 π δ 1 ( 1 δ 1 ) + μ 1 2 δ 1 ( 1 δ 1 ) 4 ( 1 δ 2 ) ( 1 δ 2 ) 2 π 4 λ 2 + μ 2 λ 2 π δ 2 ( 1 δ 2 ) + μ 2 2 δ 2 ( 1 δ 2 ) .
These statistics are used to construct confidence intervals for the variance difference θ and the variance ratio τ using seven proposed methods.

2.1. Bayesian Credible Interval

The Bayesian credible interval integrates prior information with observed data to update uncertainty about model parameters through the posterior distribution [24]. In this study, it is used to assess both the difference and the ratio of two population variances. Since the posterior distributions are not available in closed form, inference relies on Markov Chain Monte Carlo (MCMC) sampling [25], and interval estimates are obtained using highest posterior density (HPD) intervals [26], which allow direct probabilistic interpretation.

2.1.1. Bayesian Markov Chain Monte Carlo (MCMC)

Two independent samples, X i j = ( X i 1 , , X i n i ) for i = 1 , 2 and j = 1 , 2 , , n i , are assumed to follow a zero-inflated two-parameter Rayleigh distribution. The focus of this study is Bayesian inference for two measures of variability: the variance difference θ and the variance ratio τ , both defined in terms of the model parameters. Since the posterior distribution does not have a closed-form expression, simulation-based inference is required. A Markov Chain Monte Carlo (MCMC) algorithm is applied to obtain posterior samples, from which the quantities θ and τ are evaluated iteratively to construct their empirical posterior distributions.
The model parameters are assigned the following prior distributions: a gamma prior for the scale parameter λ , a uniform prior for the location parameter μ , and a beta prior for the zero-inflation parameter δ . These prior choices are used to ensure parameter constraints and improve numerical stability. All computations are implemented in R using the R2OpenBUGS version 3.2.1 package. Bayesian credible intervals for difference variances θ and ratio variances τ are obtained from the corresponding posterior quantiles based on the MCMC output.
Accordingly, the posterior samples obtained from the MCMC procedure are used to construct the Bayesian credible intervals for θ and τ , defined as follows:
C I θ ( MCMC ) = L θ ( MCMC ) , U θ ( MCMC ) = θ MCMC α / 2 , θ MCMC 1 α / 2 ,
and
C I τ ( MCMC ) = L τ ( MCMC ) , U τ ( MCMC ) = τ MCMC α / 2 , τ MCMC 1 α / 2 .
The construction of credible intervals for the variances difference and variances ratio using Bayesian MCMC is summarized in Algorithm 1.
Algorithm 1 Bayesian Markov Chain Monte Carlo (MCMC)
  • 1. Random samples are generated from the zero-inflated two-parameter Rayleigh distribution X i j ZITR ( μ i , λ i , δ i ) , i = 1 , 2 , and prior distributions are assigned to the unknown parameters. In particular, the zero-inflation parameter follows a Beta distribution, the scale parameter follows a Gamma distribution, and the location parameter is modeled using a Uniform distribution, expressed as
    δ i Beta ( α 1 i , β 1 i ) , λ i Gamma ( α 2 i , β 2 i ) , μ i Uniform ( a 1 i , b 1 i ) ,
    where the hyperparameters are determined via a trial-and-error calibration to ensure appropriate prior specification.
  • 2. A Bayesian estimation framework is implemented via a Gibbs sampling algorithm. The procedure is carried out in R with OpenBUGS version 3.2.3 to generate samples from the joint posterior distribution of the parameters. This approach is used because the posterior distributions are not available in closed form.
  • 3. At each iteration of the Markov Chain Monte Carlo, the quantities of interest are computed, namely the difference of variances θ and the ratio of variances τ . The MCMC algorithm is run for T iterations, and the first C iterations are discarded as burn-in to mitigate the influence of initial values and to enhance convergence to the stationary distribution.
  • 4. Based on the retained MCMC samples, denoted by θ ^ MCMC and τ ^ MCMC , the 95 % Bayesian credible intervals are constructed using empirical quantiles of the posterior draws, providing interval estimates that reflect posterior uncertainty without relying on asymptotic assumptions.

2.1.2. Bayesian Highest Posterior Density (HPD)

The highest posterior density (HPD) credible interval is defined as a subset of the posterior distribution such that all points within the interval have higher density than those outside, while maintaining the shortest possible interval length [26]. This feature allows the HPD interval to provide a concise summary of parameter uncertainty.
In this study, HPD credible intervals are used to assess the uncertainty of the variance difference and variance ratio, denoted by θ and τ , respectively. These intervals are derived from posterior samples obtained using the HDInterval package in the R environment. Based on the simulated posterior samples, the two-sided HPD credible interval for θ and τ are given by
C I θ ( HPD ) = L θ ( HPD ) , U θ ( HPD ) = θ HPD α / 2 , θ HPD 1 α / 2 ,
and
C I τ ( HPD ) = L τ ( HPD ) , U τ ( HPD ) = τ HPD α / 2 , τ HPD 1 α / 2 .
The procedure for constructing Bayesian HPD credible intervals for the variance difference and variance ratio under the zero-inflated two-parameter Rayleigh distribution is summarized in Algorithm 2.
Algorithm 2 Bayesian Highest Posterior Density (HPD)
  • 1. Draw random samples from X i j ZITR ( μ i , λ i , δ i ) for i = 1 , 2 . Specify prior distributions for the model parameters as follows:
    δ i Beta ( α 1 i , β 1 i ) , λ i Gamma ( α 2 i , β 2 i ) , μ i Uniform ( a 1 i , b 1 i ) ,
    where the hyperparameters are determined based on prior information or preliminary investigation.
  • 2. Apply a Gibbs sampling scheme implemented in R through OpenBUGS to obtain samples from the joint posterior distribution.
  • 3. At each iteration, evaluate the variance difference θ ( t ) and the variance ratio τ ( t ) . The Markov chain is run for T iterations, with the first C samples discarded as burn-in to reduce the effect of initial values.
  • 4. Based on the retained posterior draws of θ and τ , construct highest posterior density intervals using the HDInterval package in R. The corresponding 95% Bayesian HPD credible intervals for θ and τ are then obtained.

2.2. Generalized Confidence Interval (GCI)

The generalized confidence interval (GCI) approach provides an inferential framework based on generalized pivotal quantities (GPQs) and is particularly useful when the sampling distribution of an estimator is not available in closed form [27]. A generalized pivotal quantity is constructed so that its distribution is free of unknown nuisance parameters, while its observed value depends only on the sample data. This feature allows its distribution to be approximated directly through simulation, without relying on asymptotic results.
Wu and Hsieh [28] and Krishnamoorthy et al. [23] further extended this approach. Wu and Hsieh employed variance-stabilizing transformations to obtain tractable forms, whereas Krishnamoorthy and co-authors proposed alternative GPQ constructions to facilitate interval estimation.
Following these developments, the generalized pivotal quantities for the variance difference and variance ratio under the proposed model are defined as
Q θ = Q ξ 1 Q ξ 2 ,
and
Q τ = Q ξ 1 Q ξ 2 ,
respectively, where
Q ξ i = 4 1 Q δ i 1 Q δ i 2 π 4 Q λ i + Q μ i Q λ i π Q δ i 1 Q δ i + Q μ i 2 Q δ i 1 Q δ i .
Since the distributions of Q θ and Q τ do not involve unknown parameters, their empirical distributions can be obtained via Monte Carlo simulation. The ( 1 α ) generalized confidence intervals are then constructed from the empirical quantiles of Q θ and Q τ . Specifically,
C I θ ( GCI ) = Q θ α / 2 , Q θ 1 α / 2 ,
and
C I τ ( GCI ) = Q τ α / 2 , Q τ 1 α / 2 .
Here, Q θ ( α / 2 ) and Q τ ( α / 2 ) denote the 100 ( α / 2 ) th percentiles of Q θ and Q τ , respectively. The procedure for constructing these intervals under the zero-inflated two-parameter Rayleigh distribution is summarized in Algorithm 3.
Algorithm 3 Generalized Confidence Interval (GCI)
  • 1. Generate random samples from X i j ZITR ( μ i , λ i , δ i ) for i = 1 , 2 .
  • 2. Obtain MLEs of the parameters, denoted as a ^ i and b ^ i .
  • 3. For each group, generate simulated observations from the two-parameter Rayleigh component of the model. These simulated values can be produced, for instance, under the parameter setting ( a = 0 , b = 1 ) , or equivalently ( μ = 0 , λ = 0.5 ) .
  • 4. For each simulated sample, compute the corresponding maximum likelihood estimates, a ^ i and b ^ i , to be used in constructing the generalized pivotal quantities.
  • 5. Construct the generalized pivotal quantities for the zero-inflation and Rayleigh parameters as follows: For the zero-inflation parameter, define T = 2 n arcsin δ ^ arcsin δ N ( 0 , 1 ) and compute Q δ = sin 2 arcsin δ ^ T 2 n . For the Rayleigh parameters, define Q a = a ^ b ^ a ^ b ^ , Q b = b ^ b ^ , Q μ = Q a , Q λ = 1 2 Q b 2 . Using these expressions, derive the generalized pivotal quantities for the variance difference and ratio, Q θ and Q τ .
  • 6. Repeat the above steps q times to approximate the empirical distributions of the generalized pivotal quantities Q θ and Q τ .
  • 7. Sort the simulated values of Q θ and Q τ in ascending order and extract the appropriate percentiles to construct the 95% generalized confidence intervals, as given in Equations (10) and (11).

2.3. Method of Variance Estimates Recovery (MOVER)

Donner and Zou [29] proposed a method for constructing confidence intervals for both the difference and the ratio of two distribution parameters. This approach is particularly useful when deriving analytical expressions for the variances of the estimators is difficult, and thus offers a practical alternative for interval estimation of both measures.
In this study, the confidence intervals for the variance difference and variance ratio, denoted by θ and τ , are expressed as
C I θ ( MOVER ) = L θ ( MOVER ) , U θ ( MOVER ) ,
and
C I τ ( MOVER ) = L τ ( MOVER ) , U τ ( MOVER ) .
The lower and upper bounds for θ are given by
L θ ( MOVER ) = ξ ^ 1 ξ ^ 2 ξ ^ 1 l 1 2 u 2 ξ ^ 2 2 ,
and
U θ ( MOVER ) = ξ ^ 1 ξ ^ 2 + u 1 ξ ^ 1 2 ξ ^ 2 l 2 2 .
The corresponding bounds for the variance ratio τ are given by
L τ ( MOVER ) = ξ ^ 1 ξ ^ 2 ξ ^ 1 ξ ^ 2 2 l 1 u 2 2 ξ ^ 1 l 1 2 ξ ^ 2 u 2 u 2 2 ξ ^ 2 u 2 ,
and
U τ ( MOVER ) = ξ ^ 1 ξ ^ 2 + ξ ^ 1 ξ ^ 2 2 u 1 l 2 2 ξ ^ 1 u 1 2 ξ ^ 2 l 2 l 2 2 ξ ^ 2 l 2 .
Here, ( l 1 , u 1 ) and ( l 2 , u 2 ) denote the confidence intervals for the individual variance parameters, obtained using the generalized confidence interval (GCI) approach. These limits are incorporated into the MOVER framework to construct the confidence intervals for θ and τ , as outlined in Algorithm 4.
Algorithm 4 Method of Variance Estimates Recovery (MOVER)
  • 1. Generate two independent random samples, X 1 j Z I T R ( μ 1 , λ 1 , δ 1 ) and X 2 j Z I T R ( μ 2 , λ 2 , δ 2 ) .
  • 2. Obtain the estimates ξ ^ 1 and ξ ^ 2 using the generalized confidence interval (GCI) approach.
  • 3. Construct the confidence intervals for ξ 1 and ξ 2 based on the GCI procedure.
  • 4. Derive the confidence intervals for θ and τ according to Equations (12) and (13).

2.4. Approximate Normal

The normal approximation approach is based on the delta method, which provides an asymptotic variance approximation using a first-order Taylor expansion of the transformation of the estimators [30]. Let θ ^ and τ ^ denote the estimators of the difference and ratio of variances, respectively. Their asymptotic variances are obtained using the delta method, and the detailed derivations are omitted here for brevity and provided in Appendix B.
Under the assumption of asymptotic normality, approximate ( 1 α ) 100 % confidence intervals are constructed as
C I θ ( A N ) = θ ^ z α / 2 V ^ ( θ ^ ) , θ ^ + z α / 2 V ^ ( θ ^ ) ,
and
C I τ ( A N ) = τ ^ z α / 2 V ^ ( τ ^ ) , τ ^ + z α / 2 V ^ ( τ ^ ) ,
where z α / 2 denotes the upper α / 2 quantile of the standard normal distribution.
The detailed expressions of V ^ ( θ ^ ) and V ^ ( τ ^ ) are obtained using the delta method and are presented in Appendix B. Based on these variance approximations, confidence intervals for the difference and ratio of variances of the zero-inflated two-parameter Rayleigh distribution are constructed according to the procedure described in Algorithm 5.
Algorithm 5 Approximate Normal (AN)
  • 1. Generate two independent random samples, X 1 j Z I T R ( μ 1 , λ 1 , δ 1 ) and X 2 j Z I T R ( μ 2 , λ 2 , δ 2 ) .
  • 2. Obtain MLEs for μ ^ i , λ ^ i , and δ ^ i .
  • 3. Compute the variance estimators for the difference and ratio of variances using the delta method (see Appendix A).
  • 4. Construct the confidence interval for the difference and ratio variance based on Equations (18) and (19).

2.5. Bootstrap Method

Bootstrap is a resampling-based technique introduced by Efron and Tibshirani [31]. It approximates the sampling distribution of an estimator by repeatedly drawing samples with replacement from the observed data. This approach is particularly useful when analytical expressions for variance are difficult to obtain or when large-sample approximations are unreliable.
In this study, two bootstrap confidence interval methods are considered: the percentile bootstrap and the bootstrap standard error method. The percentile approach constructs intervals directly from the empirical quantiles of the bootstrap distribution, whereas the standard error method combines the bootstrap estimate of variability with a normal approximation.

2.5.1. Percentile Bootstrap (PB)

The percentile bootstrap is a resampling technique employed to approximate the sampling distribution of a statistic and to obtain confidence intervals without imposing strong parametric assumptions. Let X i j = X i 1 , X i 2 , , X i n i denote a random sample from Z I T R . A bootstrap sample X i b = X i 1 b , X i 2 b , , X i n i b is obtained by sampling with replacement from the original data, and this procedure is repeated B times.
For each bootstrap sample, the statistics of interest are computed. Let θ denote the difference between two variances and τ the ratio of two variances. Denote by θ ^ and τ ^ the estimators obtained from the original sample. For the bth bootstrap sample, let θ ^ b and τ ^ b be the corresponding bootstrap estimates for b = 1 , 2 , , B . The empirical distributions of these bootstrap replicates are used to determine the confidence limits.
The two-sided percentile bootstrap confidence interval for the difference of variances is defined as
C I θ ( P B ) = L θ ( P B ) , U θ ( P B ) = θ ^ α 2 , θ ^ 1 α 2 ,
where θ ^ α 2 and θ ^ 1 α 2 are the empirical α 2 and 1 α 2 quantiles of the ordered bootstrap estimates θ ^ b .
Similarly, the two-sided percentile bootstrap confidence interval for the ratio of variances is given by
C I τ ( P B ) = L τ ( P B ) , U τ ( P B ) = τ ^ α 2 , τ ^ 1 α 2 ,
where τ ^ α 2 and τ ^ 1 α 2 denote the corresponding empirical quantiles of the bootstrap distribution.
Thus, the percentile bootstrap provides an approximate 100 ( 1 α ) % confidence interval for both the difference and the ratio of variances under the zero-inflated two-parameter Rayleigh model. The detailed implementation steps are summarized in Algorithm 6.
Algorithm 6 Percentile Bootstrap (PB)
  • 1. Generate two independent random samples X i j = X i 1 , X i 2 , , X i n i from the distribution Z I T R ( μ i , λ i , δ i ) for i = 1 , 2 and j = 1 , 2 , , n i .
  • 2. For each sample, draw a bootstrap sample X i b = X i 1 b , X i 2 b , , X i n i b by sampling with replacement from the observed data x i .
  • 3. Using the bth bootstrap sample, obtain the maximum likelihood estimates μ ^ i b , λ ^ i b , and δ ^ i b for i = 1 , 2 .
  • 4. Compute the bootstrap estimates of the variance difference θ ^ b and the variance ratio τ ^ b based on the estimated parameters from Step 3.
  • 5. Repeat Steps 2–4 for b = 1 , 2 , , B , where B denotes the total number of bootstrap replications.
  • 6. Arrange the bootstrap values θ ^ 1 , , θ ^ B and τ ^ 1 , , τ ^ B in ascending order.
  • 7. Determine the lower and upper bounds of the 100 ( 1 α ) % percentile bootstrap confidence intervals for θ and τ from the empirical quantiles as defined in Equations (20) and (21).

2.5.2. The Bootstrap with Standard Error (BS)

The bootstrap method with standard error estimation constructs confidence intervals by approximating the variability of an estimator through repeated resampling from the observed data. Unlike conventional procedures, this approach avoids the explicit analytical derivation of the variance of the parameter of interest. Instead, the dispersion of the bootstrap replicates is used to estimate the standard error, providing a practical alternative when the sampling distribution is complex or analytically intractable.
Let θ and τ denote the difference and the ratio of variances, respectively, under Z I T R . Suppose that θ ^ b and τ ^ b , b = 1 , 2 , , B are the bootstrap estimates obtained from B resamples. The bootstrap means are defined as
θ ¯ = 1 B b = 1 B θ ^ b , τ ¯ = 1 B b = 1 B τ ^ b .
The standard errors are estimated by the sample standard deviations of the bootstrap distributions:
S E ( θ ^ ) = 1 B 1 b = 1 B θ ^ b θ ¯ 2 ,
S E ( τ ^ ) = 1 B 1 b = 1 B τ ^ b τ ¯ 2 .
Accordingly, the two-sided 100 ( 1 α ) % confidence interval for the difference of variances is given by
C I θ ( B S ) = L θ ( B S ) , U θ ( B S ) = θ ¯ Z α / 2 S E ( θ ^ ) , θ ¯ + Z α / 2 S E ( θ ^ ) ,
and the confidence interval for the ratio of variances is
C I τ ( B S ) = L τ ( B S ) , U τ ( B S ) = τ ¯ Z α / 2 S E ( τ ^ ) , τ ¯ + Z α / 2 S E ( τ ^ ) ,
where Z α / 2 denotes the upper α / 2 quantile of the standard normal distribution. The computational steps for constructing these bootstrap confidence intervals are summarized in Algorithm 7.
Algorithm 7 The Bootstrap with Standard Error (BS)
  • 1. Generate two independent random samples X i j = X i 1 , X i 2 , , X i n i from the distribution Z I T R ( μ i , λ i , δ i ) for i = 1 , 2 and j = 1 , 2 , , n i .
  • 2. For each sample, draw a bootstrap resample X i b = X i 1 b , X i 2 b , , X i n i b by sampling with replacement from the observed data.
  • 3. Based on the bth bootstrap sample, compute the estimators of the variance difference θ ^ b and the variance ratio τ ^ b .
  • 4. Repeat Steps 2 and 3 for b = 1 , 2 , , B , where B denotes the number of bootstrap replications.
  • 5. Calculate the bootstrap means θ ¯ = 1 B b = 1 B θ ^ b and τ ¯ = 1 B b = 1 B τ ^ b , and then evaluate the corresponding standard errors using S E ( θ ^ ) = 1 B 1 b = 1 B θ ^ b θ ¯ 2 , S E ( τ ^ ) = 1 B 1 b = 1 B τ ^ b τ ¯ 2 .
  • 6. Construct the two-sided 100 ( 1 α ) % confidence intervals for θ and τ using the standard error method as presented in Equations (22) and (23).

3. Results

This study examines the construction of confidence intervals for the difference and ratio of variances under the ZITR distribution. The methods considered include Bayesian Markov Chain Monte Carlo (MCMC) credible intervals, Bayesian highest posterior density (HPD) intervals, generalized confidence intervals (GCI), the method of variance estimates recovery (MOVER), the approximate normal (AN) method, percentile bootstrap (PB), and bootstrap with standard error (BS).
The performance of these methods was evaluated through a Monte Carlo simulation study conducted in the R statistical computing environment. For each configuration, 1000 simulation runs were performed. In the resampling-based approaches, 1000 bootstrap samples were generated for both the percentile bootstrap and bootstrap standard error methods. For the GCI approach, 2500 generalized pivotal quantities were generated in each run.
For the Bayesian methods, posterior inference was obtained using a Markov Chain Monte Carlo algorithm implemented via Gibbs sampling. In each run, 20,000 iterations were generated to approximate the joint posterior distributions of the model parameters. To reduce the influence of initial values and ensure convergence, the first 5000 iterations were discarded as burn-in. The remaining samples were used to compute point estimates and to construct Bayesian MCMC and HPD intervals for both the variance difference and variance ratio. Convergence was assessed using trace plots and by examining the stability of posterior summaries.
The interval estimators were evaluated using two criteria: coverage probability (CP) and expected interval length (EL). A method was considered satisfactory if its CP was close to or exceeded the nominal level of 0.95 while maintaining a relatively short EL. These criteria provided a balanced assessment of reliability and precision. The detailed computational procedure for CP and EL is summarized in Algorithm 8.
Random samples were generated from the ZITR distribution under various combinations of sample sizes and parameter settings. The sample size pairs considered were ( n 1 , n 2 ) = ( 20 , 20 ) , ( 20 , 50 ) , ( 20 , 70 ) , ( 20 , 100 ) , ( 50 , 50 ) , ( 50 , 70 ) , ( 50 , 100 ) , ( 70 , 70 ) , ( 70 , 100 ) , ( 100 , 100 ) , ( 200 , 200 ) . Representative parameter configurations were selected to maintain clarity while ensuring practical relevance. The scale parameters were specified as ( λ 1 , λ 2 ) = ( 0.2 , 0.2 ) , ( 0.2 , 1 ) , ( 1 , 1 ) , and the zero-inflation probabilities were defined as ( δ 1 , δ 2 ) = ( 0.1 , 0.1 ) , ( 0.1 , 0.3 ) , ( 0.3 , 0.3 ) . These settings covered scenarios with low-to-moderate zero inflation, as well as equal and unequal scale parameters, allowing a comprehensive comparison of the interval estimation methods for the variance difference and ratio under the ZITR distribution.
Algorithm 8 CP and EL for difference and ratio variances of Z I T R
  • 1. Set the simulation design parameters, including the number of Monte Carlo replications M, sample sizes n 1 and n 2 , number of MCMC iterations T, bootstrap resamples B, and generalized pivotal replications C. Let ( μ i , λ i , δ i ) for i = 1 , 2 denote the model parameters. Define ξ i as the variance of the ith population, and consider the parameters of interest:
    θ = ξ 1 ξ 2 , τ = ξ 1 ξ 2 .
  • 2. For each replication m = 1 , 2 , , M , generate two independent random samples from the zero-inflated two-parameter Rayleigh distribution: X i j Z I T R ( μ i , λ i , δ i ) , i = 1 , 2 .
  • 3. Apply all competing interval estimation procedures to each generated dataset to obtain confidence intervals for θ and τ , including: Bayesian MCMC, Bayesian HPD, generalized confidence interval (GCI), MOVER, delta method, percentile bootstrap, and bootstrap standard error methods.
  • 4. For each method and replication, obtain an interval ( L m , U m ) and define an indicator variable:
    P m = 1 , if the true parameter is contained in the interval , 0 , otherwise .
  • 5. Compute the corresponding interval length for each method as: Length m = U m L m .
  • 6. After completing all replications, summarize the performance of each method using:
    CP = 1 M m = 1 M P m , EL = 1 M m = 1 M ( U m L m ) .
Based on the simulation study, the performance of the 95% confidence intervals for the variance difference under the Z I T R distribution was evaluated in terms of coverage probability (CP) and expected length (EL), as presented in Table 1, Table 2 and Table 3, with the corresponding graphical results illustrated in Figure 1 and Figure 2. Overall, the results indicate that the Bayesian HPD method provides a good balance between coverage and interval length, maintaining nominal coverage while yielding relatively short intervals.
Table 1. CP and EL for 95% confidence intervals for the difference between two variances of Z I T R when ( μ 1 , μ 2 ) = ( 0.5 , 0.5 ) , ( λ 1 , λ 2 ) = ( 0.2 , 0.2 ) , and ( δ 1 , δ 2 ) = ( 0.1 , 0.1 ) , ( 0.1 , 0.3 ) , ( 0.3 , 0.3 ) .
Table 2. CP and EL for 95% confidence intervals for the difference between two variances of Z I T R when ( μ 1 , μ 2 ) = ( 0.5 , 0.5 ) , ( λ 1 , λ 2 ) = ( 0.2 , 1 ) , and ( δ 1 , δ 2 ) = ( 0.1 , 0.1 ) , ( 0.1 , 0.3 ) , ( 0.3 , 0.3 ) .
Table 3. CP and EL for 95% confidence intervals for the difference between two variances of Z I T R when ( μ 1 , μ 2 ) = ( 0.5 , 0.5 ) , ( λ 1 , λ 2 ) = ( 1 , 1 ) , and ( δ 1 , δ 2 ) = ( 0.1 , 0.1 ) , ( 0.1 , 0.3 ) , ( 0.3 , 0.3 ) .
Figure 1. The coverage probabilities (CPs) for the confidence intervals of the difference in variances under the Z I T R distribution were evaluated for the parameter setting μ 1 , μ 2 = ( 0.5 , 0.5 ) , λ 1 , λ 2 = ( 0.2 , 0.2 ) , and δ 1 , δ 2 = ( 0.1 , 0.1 ) . Several methods were considered, and a method was regarded as satisfactory if its CP was at least 0.95 , which corresponds to the nominal confidence level that is represented by the dashed line in the figure, indicating adequate coverage of the true parameter. The results in the table show that the AN, MCMC, and HPD methods consistently produced CP values that were close to or exceeded the nominal level, suggesting that these approaches provide reliable interval estimation for this scenario.
Figure 2. The expected lengths (ELs) of the confidence intervals for the difference in variances under the Z I T R distribution were examined for the parameter configuration μ 1 , μ 2 = ( 0.5 , 0.5 ) , λ 1 , λ 2 = ( 0.2 , 0.2 ) , and δ 1 , δ 2 = ( 0.1 , 0.1 ) . The assessment focused on methods that achieved coverage probabilities (CPs) close to or exceeding the nominal confidence level of 0.95, while also yielding the shortest interval lengths. From this setting, the AN, MCMC, and HPD methods satisfied the CP criterion. Among these, the HPD approach produced the smallest expected length, indicating a more efficient interval estimate under the given conditions.
The Bayesian MCMC, Bayesian HPD, GCI, and MOVER methods achieved coverage probabilities close to or above the nominal level of 0.95 across most of the scenarios. In contrast, the PB and AN methods showed improved coverage as the sample sizes increased, performing more satisfactorily in the larger samples.
In terms of interval precision, measured by expected length, the PB and BS methods produced the shortest intervals. However, their coverage probabilities fell below the nominal level in several cases, and they were therefore not considered further. Among the methods that met the coverage criterion, the Bayesian HPD method consistently yielded the shortest expected lengths, indicating greater efficiency.
The coverage probabilities and expected interval lengths of the 95% confidence intervals for the ratio variances under the Z I T R distribution are presented in Table 4, Table 5 and Table 6, with the corresponding graphical results illustrated in Figure 3 and Figure 4. Similar patterns were observed for both the variance difference and the variance ratio, and the main conclusions remained consistent across the two settings.
Table 4. Coverage probability (CP) and expected length (EL) of 95% confidence intervals for the ratio of two variances of Z I T R when ( μ 1 , μ 2 ) = ( 0.5 , 0.5 ) , ( λ 1 , λ 2 ) = ( 0.2 , 0.2 ) , and ( δ 1 , δ 2 ) = ( 0.1 , 0.1 ) , ( 0.1 , 0.3 ) , ( 0.3 , 0.3 ) .
Table 5. Coverage probability (CP) and expected length (EL) of 95% confidence intervals for the ratio of two variances of Z I T R when ( μ 1 , μ 2 ) = ( 0.5 , 0.5 ) , ( λ 1 , λ 2 ) = ( 0.2 , 1 ) , and ( δ 1 , δ 2 ) = ( 0.1 , 0.1 ) , ( 0.1 , 0.3 ) , ( 0.3 , 0.3 ) .
Table 6. Coverage probability (CP) and expected length (EL) of 95% confidence intervals for the ratio of two variances of Z I T R when ( μ 1 , μ 2 ) = ( 0.5 , 0.5 ) , ( λ 1 , λ 2 ) = ( 1 , 1 ) , and ( δ 1 , δ 2 ) = ( 0.1 , 0.1 ) , ( 0.1 , 0.3 ) , ( 0.3 , 0.3 ) .
Figure 3. The coverage probabilities (CPs) of the confidence intervals for the ratio of variances under the Z I T R distribution were evaluated for the parameter setting μ 1 , μ 2 = ( 0.5 , 0.5 ) , λ 1 , λ 2 = ( 1 , 1 ) , and δ 1 , δ 2 = ( 0.1 , 0.3 ) . Several methods were considered, and a method was regarded as satisfactory if its CP was at least 0.95 , which corresponds to the nominal confidence level represented by the dashed line in the figure, indicating adequate coverage of the true parameter. The results show that most of the methods, particularly GCI, MOVER, AN, MCMC, and HPD, produced CP values close to or above this nominal level, suggesting that these approaches provide reliable interval estimates in this case.
Figure 4. The expected lengths (ELs) of the confidence intervals for the ratio variances under the Z I T R distribution were evaluated for the parameter setting ( μ 1 , μ 2 ) = ( 0.5 , 0.5 ) , ( λ 1 , λ 2 ) = ( 1 , 1 ) , and ( δ 1 , δ 2 ) = ( 0.1 , 0.3 ) . The comparison focused on the methods that achieved coverage probabilities (CPs) close to or above the nominal level of 0.95 , while also providing shorter interval lengths. In this setting, the GCI, MOVER, AN, MCMC, and HPD methods met the CP criterion. Among them, the HPD method yielded the smallest expected length, indicating more efficient interval estimation under these conditions.
The Bayesian MCMC, Bayesian HPD, GCI, and MOVER methods maintained coverage probabilities close to or above 0.95 in most cases. Although the PB and BS methods again produced shorter intervals, their coverage performance was inadequate in several settings and they were excluded from further consideration. As the sample sizes increased, the PB and AN methods showed improved coverage behavior.
Overall, a consistent pattern in performance was evident across all the scenarios. The Bayesian HPD method demonstrated the most favorable balance between coverage probability and interval length. In contrast, although the PB and BS methods tended to produce shorter intervals, their reliability was compromised by under-coverage. This difference in performance may be attributed to the capacity of the Bayesian HPD approach to more effectively account for posterior uncertainty, thereby yielding interval estimates that are both well-calibrated and efficient.

4. Application

This study applied the proposed confidence and credible interval methods for the difference and ratio of variances to real-world road traffic accident data from January 2025 for two provinces in Thailand, Chanthaburi and Narathiwat. The data were obtained from the Thai Road Safety Collaboration (ThaiRSC) database and aggregated at the district level to reflect variation within each province.
The district-level counts for Chanthaburi were 1 , 1 , 0 , 0 , 0 , 0 , 2 , 2 , 1 , 1 ,
whereas those for Narathiwat were 0 , 1 , 0 , 0 , 0 , 1 , 0 , 2 , 2 , 0 , 1 , 1 , 0 .
Both datasets contained a considerable number of zero observations, corresponding to districts with no reported accidents during the study period. The positive counts varied across districts, indicating differences in accident intensity within each province.
Given these features, the analysis began by examining the distribution of the positive observations. The suitability of candidate models for the non-zero component was assessed using the Akaike Information Criterion (AIC) and the Bayesian Information Criterion (BIC). The results (see Table 7 and Table 8) indicate that the two-parameter Rayleigh distribution provided a suitable fit to the positive data for both provinces.
Table 7. AIC and BIC comparison Across candidate distributions for January 2025 road fatality counts in Chanthaburi province.
Table 8. AIC and BIC comparison across candidate distributions for January 2025 road fatality counts in Narathiwat province.
The presence of excess zeros together with right-skewed positive values supported the use of a zero-inflated two-parameter Rayleigh model. This framework allows separate modeling of districts with no recorded accidents and those with positive counts, thereby capturing structural differences that may arise from variations in traffic density, road conditions, enforcement policies, or other local factors.
Using the datasets described above, the proposed confidence interval methods for the difference and ratio of variance parameters were applied to the empirical data. The intervals were constructed following the procedures developed in this study, allowing a direct comparison of variability between the two provinces under the specified model.
The resulting confidence intervals and associated measures are reported in Table 9 and Table 10, which summarize the results for both the variance difference and variance ratio. These findings illustrate the practical applicability of the proposed methods to real accident data.
Table 9. Confidence interval estimates for the difference in variances under Z I T R : January 2025 road traffic fatalities in Chanthaburi and Narathiwat provinces.
Table 10. Confidence interval estimates for the ratio of variances under Z I T R : January 2025 road traffic fatalities in Chanthaburi and Narathiwat provinces.
The analysis of the road traffic fatality data from January 2025 for Chanthaburi and Narathiwat revealed clear differences in the performance of the interval estimation methods under the Z I T R model. For the variance difference, the MCMC and HPD methods produced the shortest intervals with stable and interpretable bounds. In contrast, the GCI, MOVER, and AN methods yielded substantially wider intervals, indicating greater estimation uncertainty. The bootstrap methods (PB and BS) resulted in intervals of moderate width, although these remained wider than those obtained from the Bayesian approaches.
A similar pattern was observed for the variance ratio. The HPD interval was slightly shorter than the MCMC interval, whereas the GCI and MOVER methods again produced considerably wider ranges. Notably, the AN and BS methods yielded intervals that included negative values, which are not theoretically valid for variance ratios.
It is important to note that the sample sizes in this application were relatively small. The simulation results indicate that under small-sample conditions the PB, BS, and AN methods often fail to achieve coverage probabilities at the nominal level. This undercoverage likely contributed to their weaker performance in the empirical analysis. In contrast, the HPD method maintained coverage probabilities close to the nominal level while producing reasonably short intervals. Although the bootstrap methods occasionally produced shorter intervals in the simulations, their coverage was not consistently adequate.
Overall, the evidence from both the simulation study and the real-data analysis supports the use of the HPD method. It provides a more reliable balance between coverage accuracy and interval length for both the variance difference and variance ratio under the zero-inflated two-parameter Rayleigh distribution.

5. Discussion

Based on the construction of confidence intervals for the difference and ratio of variances under the zero-inflated two-parameter Rayleigh distribution, the results indicate that the GCI, Bayesian MCMC, and Bayesian HPD methods provide reliable performance in terms of coverage probability. All three approaches consistently achieved coverage probabilities close to the nominal level, suggesting that they are capable of capturing the true parameter values with satisfactory accuracy.
From a practical standpoint, however, interval efficiency is also an important consideration. Among the methods that met the coverage requirement, the Bayesian approaches generally yielded shorter intervals than the GCI method, reflecting greater precision. In particular, the Bayesian HPD interval consistently produced the narrowest intervals while maintaining adequate coverage. This indicates that the HPD approach offers a more efficient alternative, especially in small-to-moderate sample sizes where both precision and reliability are of concern.
In applied settings, these findings suggest that the Bayesian HPD method is a suitable choice when both accuracy and precision are required, such as in reliability analysis and risk assessment involving zero-inflated lifetime data. Although the GCI and Bayesian MCMC methods remain valid and reliable, the HPD approach provides a more favorable balance between interval length and coverage performance.
These findings are in line with previous studies on interval estimation for dispersion measures in skewed distributions. For example, Khooriphan et al. [19] reported that Bayesian methods, particularly HPD intervals, tend to achieve higher efficiency while maintaining acceptable coverage. Similar behavior has also been observed in gamma-type and other right-skewed models, where Bayesian interval estimators often perform competitively with, and in many cases better than, classical approaches, especially in finite-sample situations. In addition, Kijsason et al. [14] demonstrated that Bayesian interval estimation methods provide reliable and consistent performance for zero-inflated two-parameter Rayleigh models. Their study also constructed confidence intervals for both the difference and the ratio of means, further supporting the effectiveness of Bayesian approaches in handling data with excess zeros.

6. Conclusions

In this paper, only a selected subset of parameter configurations was presented to provide an overview and facilitate comparison of the confidence interval methods across different scenarios. This study developed interval estimation procedures for the difference and ratio of variances under the zero-inflated two-parameter Rayleigh distribution. The methods considered included Bayesian MCMC, Bayesian HPD, the asymptotic approximate normal (AN) method, the generalized confidence interval (GCI), MOVER, the percentile bootstrap, and the bootstrap with standard error. Their performance was evaluated through a Monte Carlo simulation study and further illustrated using real data on road traffic fatalities.
The comparison was based on two criteria: coverage probability (CP) and expected length (EL). For the variance difference, the Bayesian HPD method showed the best overall performance across most of the sample sizes. In most scenarios, it achieved coverage probabilities close to the nominal level while producing shorter intervals than the competing methods. An exception occurred when λ 1 = 0.2 , λ 2 = 1 , and δ 1 = δ 2 = 0.3 . Under this setting, the CPs of the Bayesian MCMC and HPD methods fell slightly below the nominal level, whereas GCI and MOVER maintained adequate coverage. Nevertheless, the Bayesian methods still produced comparatively shorter intervals.
A similar pattern was observed for the variance ratio. The HPD method performed well in most settings, particularly for small-to-moderate sample sizes. However, when the scale parameters differed substantially, the Bayesian methods did not fully achieve the nominal coverage level. In such cases, GCI provided more reliable coverage and, in some settings, narrower intervals than MOVER. These results suggest that although the Bayesian HPD method is generally the most efficient, scenarios with pronounced scale heterogeneity may favor generalized approaches.
To assess practical applicability, the proposed procedures were applied to road traffic fatality data from the Chanthaburi and Narathiwat provinces. The empirical findings were consistent with the simulation results. Overall, the Bayesian HPD method provided the most balanced performance in terms of precision and reliability and was therefore selected as the preferred approach for reporting interval estimates in the real-data analysis.

Author Contributions

Conceptualization, S.-A.N. and S.N.; methodology, S.K.; software, S.K.; validation, S.K. and S.-A.N.; formal analysis, S.K. and S.N.; investigation, S.-A.N. and S.N.; resources, S.K. and S.N.; data curation, S.-A.N.; writing—original draft preparation, S.K. and S.N.; writing—review and editing, S.-A.N. and S.N.; visualization, S.K.; supervision, S.-A.N. and S.N.; project administration, S.-A.N.; funding acquisition, S.-A.N. and S.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research budget was allocated by the National Science, Research, and Innovation Fund (NSRF) and King Mongkut’s University of Technology North Bangkok (Project no. KMUTNB-FF-69-B-06).

Data Availability Statement

The data analyzed during the current study are publicly available from the Thai Road Safety Culture Data Center (https://www.thairsc.com/ (accessed on 11 February 2026)).

Acknowledgments

The authors are profoundly grateful to the academic editor and the anonymous reviewers for their time, dedication, and thorough assessment of this manuscript. Their constructive feedback and perceptive suggestions have played a crucial role in strengthening and refining this study. The authors further extend their sincere appreciation to King Mongkut’s University of Technology North Bangkok for its continued support and the resources that made this research possible.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
MCMCBayesian Markov Chain Monte Carlo
HPDBayesian highest posterior density
GCIGeneralized confidence interval method
MOVERMethod of variance estimates recovery
ANApproximate normal based on delta method
PBPercentile bootstrap confidence interval
BSBootstrap method with standard error
CPCoverage probability
ELExpected length
AICAkaike information criterion
BICBayesian information criterion

Appendix A

This appendix present variances of zero-inflated two-parameter Rayleigh distribution then the probability density function (PDF) defined as
f x i j ; μ i , λ i , δ i = δ i ; x i j = 0 1 δ i 2 λ i ( x i j μ i ) e λ i x i j μ i 2 ; x i j > μ i ,
Let a k = E x k and b k = E x μ k . In particular,
b 2 = E x μ 2 = E x 2 2 x μ + μ 2 .
Using the moment properties of the shifted Rayleigh component, we obtain
b k = E x μ k = δ 1 λ 1 2 Γ k 2 + 1 b 2 = E x μ 2 = δ 1 λ Γ 2 = δ λ a 2 = δ λ + 2 μ δ 1 λ 1 2 Γ 3 2 + μ δ μ 2 = δ λ + 2 μ δ λ 1 2 Γ 3 2 + 2 δ μ 2 δ μ 2 E x 2 = δ 1 λ + μ π λ 1 2 + μ 2
  • from V x = E x 2 E x 2 ,
  • then E x = 1 δ μ + 1 λ Γ 3 2 .
    V x = δ 1 λ + μ π λ 1 2 + μ 2 δ μ + 1 λ Γ 3 2 2 = δ λ + μ δ π λ 1 2 + δ μ 2 δ 2 π 4 λ μ δ 2 π λ 1 2 δ 2 μ 2 = δ λ δ 2 π 4 λ + μ δ π λ 1 2 μ δ 2 π λ 1 2 + δ μ 2 δ 2 μ 2 = 4 δ δ 2 π 4 λ + μ δ π 1 δ λ 1 2 + δ μ 2 1 δ ,
    so that variance of X i is estimated by
    Var ( X i ) = ξ i = 4 ( 1 δ i ) ( 1 δ i ) 2 π 4 λ i + μ i λ i π δ i ( 1 δ i ) + μ i 2 δ i ( 1 δ i ) .

Appendix B

This appendix presents the derivation of the variance approximation for θ ^ and τ ^ using the delta method. Let ξ ^ i = g ( δ ^ i , μ ^ i , λ ^ i ) , where the variance of the zero-inflated two-parameter Rayleigh distribution is expressed as
g ( δ i , μ i , λ i ) = 4 ( 1 δ i ) ( 1 δ i ) 2 π 4 λ i + μ i λ i 1 / 2 π δ i ( 1 δ i ) + μ i 2 δ i ( 1 δ i ) .
The delta method is a fundamental tool in the normal approximation framework and is commonly used to obtain the asymptotic distribution of a function of estimators. Let g ( U 1 , U 2 , U 3 , U 4 , U 5 , U 6 ) be a continuously differentiable scalar-valued function defined in terms of the parameters of interest, and let
G = g ( U ^ 1 , U ^ 2 , U ^ 3 , U ^ 4 , U ^ 5 , U ^ 6 )
denote its estimator. To derive the asymptotic distribution of G, a first-order Taylor expansion of g ( · ) is taken about the true parameter vector ( ω 1 , ω 2 , ω 3 , ω 4 , ω 5 , ω 6 ) , corresponding to ( U 1 , U 2 , U 3 , U 4 , U 5 , U 6 ) . Under standard regularity conditions and as the sample size increases, this expansion implies that G is asymptotically normally distributed. This result allows approximate expressions for the mean and variance of G to be obtained, which are then used to construct confidence intervals for θ and τ .
g U 1 , U 2 , U 3 , U 4 , U 5 , U 6 g ω 1 , ω 2 , ω 3 , ω 4 , ω 5 , ω 6 + i = 1 6 g ω 1 , ω 2 , ω 3 , ω 4 , ω 5 , ω 6 u i U i ω i .
In this setting, define the vector of basic statistics as U 1 = δ ^ 1 , U 2 = μ ^ 1 , U 3 = λ ^ 1 , U 4 = δ ^ 2 , U 5 = μ ^ 2 , U 6 = λ ^ 2 , where δ ^ 1 , μ ^ 1 , λ ^ 1 , δ ^ 2 , μ ^ 2 , λ ^ 2 are the maximum likelihood estimators (MLEs) of δ 1 , μ 1 , λ 1 , δ 2 , μ 2 , λ 2 , respectively. Substituting these estimators into the function g ( · ) yields the estimator of θ as
θ ^ = g ( δ ^ 1 , μ ^ 1 , λ ^ 1 , δ ^ 2 , μ ^ 2 , λ ^ 2 ) = 4 1 δ ^ 1 1 δ ^ 1 2 π 4 λ ^ 1 + μ ^ 1 λ ^ 1 1 2 π δ ^ 1 1 δ ^ 1 + μ ^ 1 2 δ ^ 1 1 δ ^ 1 4 1 δ ^ 2 1 δ ^ 2 2 π 4 λ ^ 2 + μ ^ 2 λ ^ 2 1 2 π δ ^ 2 1 δ ^ 2 + μ ^ 2 2 δ ^ 2 1 δ ^ 2 ,
and the estimator of τ as
τ ^ = g ( δ ^ 1 , μ ^ 1 , λ ^ 1 , δ ^ 2 , μ ^ 2 , λ ^ 2 ) = 4 1 δ ^ 1 1 δ ^ 1 2 π 4 λ ^ 1 + μ ^ 1 λ ^ 1 1 2 π δ ^ 1 1 δ ^ 1 + μ ^ 1 2 δ ^ 1 1 δ ^ 1 4 1 δ ^ 2 1 δ ^ 2 2 π 4 λ ^ 2 + μ ^ 2 λ ^ 2 1 2 π δ ^ 2 1 δ ^ 2 + μ ^ 2 2 δ ^ 2 1 δ ^ 2 .
= 4 λ ^ 2 4 1 δ ^ 1 1 δ ^ 1 2 π + 4 λ ^ 1 1 2 μ ^ 1 π δ ^ 1 1 δ ^ 1 + 4 λ ^ 1 μ ^ 1 2 δ ^ 1 1 δ ^ 1 4 λ ^ 1 4 1 δ ^ 2 1 δ ^ 2 2 π + 4 λ ^ 2 1 2 μ ^ 2 π δ ^ 2 1 δ ^ 2 + 4 λ ^ 2 μ ^ 2 2 δ ^ 2 1 δ ^ 2
The first-order partial derivatives of θ ^ with respect to the components of the parameter vector are obtained as follows:
g δ ^ 1 , μ ^ 1 , λ ^ 1 , δ ^ 2 , μ ^ 2 , λ ^ 2 δ ^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 ξ ^ 2 2 λ 2 2 n 2 ( 1 )
By substituting these derivatives together with the asymptotic variances of δ ^ , μ ^ , and λ ^ into the delta method formula, the estimator V ^ ( θ ^ ) and V ^ ( τ ^ ) are obtained and subsequently used in Section 2.

References

  1. Casella, G.; Berger, R.L. Statistical Inference, 2nd ed.; Duxbury Press: Pacific Grove, CA, USA, 2002. [Google Scholar]
  2. Meeker, W.Q.; Escobar, L.A. Statistical Methods for Reliability Data; Wiley: New York, NY, USA, 1998. [Google Scholar]
  3. Lawless, J.F. Statistical Models and Methods for Lifetime Data, 2nd ed.; Wiley: Hoboken, NJ, USA, 2003. [Google Scholar]
  4. Aitchison, J. On the distribution of a positive random variable having a discrete probability mass at the origin. J. Am. Stat. Assoc. 1955, 50, 901–908. [Google Scholar] [CrossRef] [Scilit]
  5. Lambert, D. Zero-inflated Poisson regression, with an application to defects in manufacturing. Technometrics 1992, 34, 1–14. [Google Scholar] [CrossRef] [Scilit]
  6. Fletcher, D. Confidence intervals for the mean of the delta-lognormal distribution. Environ. Ecol. Stat. 2008, 15, 175–189. [Google Scholar] [CrossRef] [Scilit]
  7. Lecomte, J.B.; Benoît, H.P.; Ancelet, S.; Etienne, M.P.; Bel, L.; Parent, E. Compound Poisson-gamma vs. delta-gamma to handle zero-inflated continuous data under a variable sampling volume. Methods Ecol. Evol. 2013, 4, 1159–1166. [Google Scholar] [CrossRef] [Scilit]
  8. Hall, D.B. Zero-inflated Poisson and binomial regression with random effects: A case study. Biometrics 2000, 56, 1030–1039. [Google Scholar] [CrossRef] [Scilit]
  9. Min, Y.; Agresti, A. Random effect models for repeated measures of zero-inflated count data. Stat. Model. 2005, 5, 1–19. [Google Scholar] [CrossRef] [Scilit]
  10. Rayleigh, L. On the resultant of a large number of vibrations of the same pitch and of arbitrary phase. Philos. Mag. 1880, 10, 73–78. [Google Scholar] [CrossRef] [Scilit]
  11. Johnson, N.L.; Kotz, S.; Balakrishnan, N. Continuous Univariate Distributions, 2nd ed.; Wiley: New York, NY, USA, 1994; Volume 1. [Google Scholar]
  12. Khan, H.M.; Provost, S.B.; Singh, A. Predictive inference from a two-parameter Rayleigh life model given a doubly censored sample. Commun.-Stat. Theory Methods 2010, 39, 1237–1246. [Google Scholar] [CrossRef] [Scilit]
  13. Dey, S.; Dey, T.; Kundu, D. Two-parameter Rayleigh distribution: Different methods of estimation. Am. J. Math. Manag. Sci. 2014, 33, 55–74. [Google Scholar] [CrossRef] [Scilit]
  14. Seal, B.; Banerjee, P.; Bhunia, S.; Ghosh, S.K. Bayesian estimation in Rayleigh distribution under a distance type loss function. Pak. J. Stat. Oper. Res. 2023, 19, 219–232. [Google Scholar] [CrossRef] [Scilit]
  15. Kijsason, S.; Niwitpong, S.A.; Niwitpong, S. Confidence Intervals for the Difference and Ratio Means of Zero-Inflated Two-Parameter Rayleigh Distribution. Symmetry 2026, 18, 109. [Google Scholar] [CrossRef] [Scilit]
  16. Bebu, I.; Mathew, T. Comparing the means and variances of a bivariate log-normal distribution. Stat. Med. 2008, 27, 2684–2696. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Herbert, R.D.; Hayen, A.; Macaskill, P.; Walter, S.D. Interval estimation for the difference of two independent variances. Commun. Stat. Simul. Comput. 2011, 40, 744–758. [Google Scholar] [CrossRef] [Scilit]
  18. Wongyai, C.; Suwan, S. Comparisons of confidence interval for a ratio of non-normal variances using a kurtosis estimator. In Proceedings of the 12th International Conference of the Thailand Econometric Society (TES2019), Chiang Mai, Thailand, 9–11 January 2019. [Google Scholar] [CrossRef] [Scilit]
  19. Maneerat, P.; Niwitpong, S.A.; Niwitpong, S. Bayesian confidence intervals for the difference between variances of delta-lognormal distributions. Biom. J. 2020, 62, 1769–1790. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Khooriphan, W.; Niwitpong, S.A.; Niwitpong, S. Confidence interval for the difference between variances of delta-gamma distribution. Appl. Sci. Eng. Prog. 2023, 16, 6509. [Google Scholar] [CrossRef] [Scilit]
  21. Ratasukharom, N.; Niwitpong, S.A.; Niwitpong, S. Estimation methods for the difference and ratio of the variances of Birnbaum–Saunders distributions containing zero values and application to wind speed data. Lobachevskii J. Math. 2024, 45, 4292–4310. [Google Scholar] [CrossRef] [Scilit]
  22. Puggard, W.; Niwitpong, S.A.; Niwitpong, S. Confidence intervals for comparing the variances of two independent Birnbaum–Saunders distributions. Symmetry 2022, 14, 1492. [Google Scholar] [CrossRef] [Scilit]
  23. Krishnamoorthy, K.; Waguespack, D.; Hoang-Nguyen-Thuy, N. Confidence interval, prediction interval and tolerance limits for a two-parameter Rayleigh distribution. J. Appl. Stat. 2020, 47, 160–175. [Google Scholar] [CrossRef] [Scilit]
  24. Gelman, A.; Carlin, J.B.; Stern, H.S.; Rubin, D.B. Bayesian Data Analysis; Chapman and Hall/CRC: Boca Raton, FL, USA, 1995. [Google Scholar]
  25. Robert, C.P.; Casella, G. Monte Carlo Statistical Methods, 2nd ed.; Springer: New York, NY, USA, 2004. [Google Scholar]
  26. Box, G.; Tiao, G.C. Bayesian Inference in Statistical Analysis; Wiley Classics: New York, NY, USA, 1973. [Google Scholar]
  27. Weerahandi, S. Generalized confidence intervals. J. Am. Stat. Assoc. 1993, 88, 899–905. [Google Scholar] [CrossRef]
  28. Wu, W.H.; Hsieh, H.N. Generalized confidence interval estimation for the mean of delta-lognormal distribution: An application to New Zealand trawl survey data. J. Appl. Stat. 2014, 41, 1471–1485. [Google Scholar] [CrossRef] [Scilit]
  29. Donner, A.; Zou, G.Y. Closed-form confidence intervals for functions of the normal mean and standard deviation. Stat. Methods Med. Res. 2012, 21, 347–359. [Google Scholar] [CrossRef] [Scilit]
  30. Cramér, H. Mathematical Methods of Statistics; Princeton University Press: New Jersey, NJ, USA, 1999. [Google Scholar]
  31. Efron, B.; Tibshirani, R.J. An Introduction to the Bootstrap; Chapman & Hall/CRC: New York, NY, USA, 1993. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.