Next Article in Journal
Multiple Inputs and Mixed Data for Alzheimer’s Disease Classification Based on 3D Vision Transformer
Previous Article in Journal
Using Machine Learning and Natural Language Processing for Unveiling Similarities between Microbial Data
Previous Article in Special Issue
Bayesian Deep Learning and Bayesian Statistics to Analyze the European Countries’ SARS-CoV-2 Policies
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Homogeneity Test of Ratios of Two Proportions in Stratified Bilateral and Unilateral Data

Department of Biostatistics, The State University of New York at Buffalo, Buffalo, NY 14214, USA
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(17), 2719; https://doi.org/10.3390/math12172719
Submission received: 25 July 2024 / Revised: 12 August 2024 / Accepted: 29 August 2024 / Published: 30 August 2024
(This article belongs to the Special Issue Current Research in Biostatistics)

Abstract

:
In paired-organ studies such as ophthalmology, otolaryngology, and rheumatology, etc., various approaches take highly correlated bilateral data into account for homogeneity tests but are less likely to focus on combined bilateral and unilateral data structures. Also, it is necessary and important to adjust the effect of confounders on stratified combined bilateral and unilateral data since, in these data structures, ignoring intra-class correlation and confounding effects can cause biased statistical inference. This article derived three homogeneity tests (the likelihood ratio test, the Wald test, and the score test) concerning these cooperative structure data to detect if ratios of proportions retain consistency across strata. Simulation shows that the score test provides a robust Type I error rate and satisfactory power performance. Finally, a real example is applied to demonstrate the application of these three proposed tests.

1. Introduction

Paired bilateral data occur naturally in clinical trial studies, especially in ophthalmology, otolaryngology, and rheumatology, etc. Numerous clinical trials in ophthalmology widely utilize data collection involving one or both eyes [1]. In these scenarios, each subject may contribute either bilaterally or unilaterally, resulting in the data structure being bilateral and unilateral data existing simultaneously. Also, in practice, to determine the effect of exposure, some clinical trial procedures desire to stratify the data to avoid confounding by stratifying two or more categories in subgroups, aiming to obtain unbiased treatment effects. Estimating the effect of exposure can be biased if the investigator fails to adjust for stratified factors when analyzing the homogeneity test during trials.
Data were stratified by some control variables such as location, age, gender, etc., to detect whether the inference we were interested in involved treatment-by-stratum interaction. In the stratified sample design with two groups, the homogeneity test concerning proportions ratios is often referred to as inspecting if relative risk maintains the same across strata. When the ratio of proportions in the two groups is significantly different, we can include a confounding effect. If homogeneity is claimed, stratified data can be combined in a pooled dataset to investigate statistical inference. Therefore, it was necessary and important that we applied a homogeneity test to the stratified clinical data.
We investigated three homogeneity test methods of ratios of proportions on stratified unilateral and bilateral data structures in two groups. For unilateral cases, the homogeneity test can be treated as independent and applied by a usual method that has been studied in detail and thoroughly in the literature [2]. Naturally, two eyes in the same patient tend to be highly correlated in bilateral cases [3]. Without considering such a situation, standard inference and test methods may produce misleading statistical significance and inadequate power. Previous studies have explored models specially designed to address intraclass correlated data. Rosner introduced an approach referred to as the “constant R model” with the assumption that dependence between two paired organs of the same subject is measured as a constant R. Tang et al. [4], Ma et al. [5], Shan and Ma [6], and Liu et al. [7] then developed related asymptotic and exact test methods based this model. Afterward, Dallal [8] pointed out that the “Constant R model” could have poor performance on compound multinomial sampling and then provided a new approach with the assumption that the conditional probability of one eye given the other eye in the same person is not connected to the probabilities of the individual in the general population. Donner [9] introduced a widely used model under the assumption that the intraclass correlation coefficient, denoted as “ ρ ”, is generally considered uniform across groups. The model, along with an adjusted chi-square test, has been further validated in subsequent studies ([10,11,12]). Additionally, asymptotic and exact testing methods ([7,13,14,15]) have been explored in later research. In this paper, we incorporate Donner’s ρ model since the ρ model can also be applied to an arbitrary number of units provided by an individual.
Statistical data analysis focusing on stratified data also has been extensively studied in clinical trials. Lui and Kelly [16] focused on the homogeneity test of risk difference in unilateral cases and then discussed sparse data with a bootstrap method to improve the power of previous test designs. Li and Tang [17] applied the ρ model to fit stratified matched-pair studies to develop computationally effective score test statistics. Tang and Qiu [18] conducted the homogeneity test for risk difference under Rosner’s R model. Then, Pei et al. [19], based on Donner’s model, explored homogeneity tests on stratified bilateral data. However, several issues have been raised here, considering the combined data structure. The aforementioned stratified data test methods only consider bilateral cases. Therefore, to evaluate treatment effectiveness in these scenarios, unilateral and bilateral cases occurred simultaneously. We further analyze and develop bilateral test methods appropriate to the combined data structure. In this paper, our goal is to develop new statistical test methods aiming to evaluate the homogeneity of the ratio of proportions across strata under a combined data structure without the assumption of a common ratio.
The remainder of this article is structured as follows. Section 2 derives both constrained and unconstrained maximum likelihood estimates for the parameters and examines three different testing procedures: the likelihood ratio test, the Wald test, and the score test. Section 3 presents Monte Carlo simulation studies designed to assess the performance of these tests in terms of empirical Type I error rates and statistical power. Section 4 provides an application of the methodologies to a real data example. Finally, Section 5 provides conclusions and remarks.

2. Methods

Suppose there are J strata, and for each stratum, there are M = M j patients, which provide bilateral records and N = N j patients, which provide unilateral records in g groups, g = 1 , 2 . m l i j represents the number of patients having l responses ( l = 0 , 1 , 2 ) in the ith group ( i = 1 , 2 ) of the jth stratum ( j = 1 , 2 , , J ). m l + j is the total number of patients having l responses among all groups, and m + i j is the total number of patients in the ith group. The same notations are also applied to the unilateral case. The data structure of the jth stratum is summarized in Table 1.
For the bilateral case, we denote Z i j h k = 1 as an event that the kth eye ( k = 1 , 2 ) of the hth patient in the ith treatment group from the jth stratum has an expected response, cured or effected, Z i j h k = 0 otherwise. Since we applied Donner’s ρ model here, it assumes that the correlations of response between two eyes are the same across all individuals in the two groups from a single stratum but can be different in different strata. Hence, for a given j stratum, we can express Donner’s model as P ( Z i j h k = 1 ) = π i j k , π i j 1 = π i j 2 = π i j ; C o r r ( Z i j h 1 , Z i j h 2 ) = ρ j , 1 ρ j 1 , where π i j is the ith group proportion in the jth stratum that has an expected event, and ρ j is the common correlation of the jth stratum. Then, the probabilities of an expected response for none, one, or both eyes are as follows:
p 0 i j = ρ j ( 1 π i j ) + ( 1 ρ j ) ( 1 π i j ) 2 , p 1 i j = 2 π i j ( 1 ρ j ) ( 1 π i j ) , p 2 i j = ρ j π i j + ( 1 ρ j ) π i j 2 .
Similarly, let Y i j h = 1 be the same event in the unilateral case that there is an expected response from hth patient in the ith treatment group of the jth stratum. Since π i j is the group probability of which patient has an exposure treatment, P ( Y i j h = 1 ) = π i j will be straightforward.

2.1. Maximum Likelihood Estimation

As previously mentioned, our lies in whether the risk ratio exhibits consistency across strata. Consequently, we can formulate the following hypotheses:
H 0 : δ 1 = = δ J ,
vs.
H 1 : δ s δ t , f o r a n y s t , 1 s , t J ,
where δ j = π 2 j π i j is the ratio of proportions between two groups in the jth stratum. Under this assumption, π 2 j = δ j π 1 j with δ j ( 0 , ) and the corresponding log-likelihood l ( π 1 , δ , ρ ) can be expressed as
l ( π 1 , δ , ρ ) = j = 1 J l j ( π 1 j , δ j , ρ j ) + log C ,
where
l j ( π 1 j , δ j , ρ j ) = m 01 j log [ ρ j ( 1 π 1 j ) + ( 1 ρ j ) ( 1 π 1 j ) 2 ] + m 11 j log [ 2 π 1 j ( 1 ρ j ) ( 1 π 1 j ) ] + m 21 j log [ ρ j π 1 j + ( 1 ρ j ) π 1 j 2 ] + n 01 j log ( 1 π 1 j ) + n 11 j log π 1 j + m 02 j log [ ρ j ( 1 δ j π 1 j ) + ( 1 ρ j ) ( 1 δ j π 1 j ) 2 ] + m 12 j log [ 2 δ j π 1 j ( 1 ρ j ) ( 1 δ j π 1 j ) ] + m 22 j log [ ρ j δ j π 1 j + ( 1 ρ j ) ( δ j π 1 j ) 2 ] + n 02 j log ( 1 δ j π 1 j ) + n 12 j log δ j π 1 j ,
and δ is the parameter that we focus on while π 1 , ρ are nuisance parameters.

2.1.1. Unconstrained Maximum Likelihood Estimate

Under the unconstrained condition, the maximum likelihood estimation (MLE) of π 1 j and ρ j , denoted as π ^ 1 j and ρ ^ j , can be determined as the solution to the following equations:
l π 1 j = 0 , l π 2 j = 0 , l ρ j = 0 , j = 1 , , J .
For a given ρ j in the jth stratum, we can simplify the above equation for π 1 j as a fourth-order polynomial, and let the data for the ith group be D i j = ( m 0 i j , m 1 i j , m 2 i j , n 0 i j , n 1 i j ) T . We have
π ^ i j = b b 2 3 c ( 2 M j + N j ) cos θ 3 sin θ ( 2 M j + N j ) 3 ρ j 3 ,
where
b = ρ ( 3 M j + N j + n 1 + j ) ( 2 , 3 , 4 , 1 , 2 ) D i j T , c = ρ 2 ( M j + n 1 + j ) ρ ( 2 , 4 , 4 , 1 , 3 ) D i j T + m 1 + j + 2 m 2 + j + n 1 + j , θ = 1 3 arccos 2 b 3 9 ( 2 M j + N j ) b c + 27 ( 2 M j + N j ) 2 ( m 1 + j + m 2 + j + n 1 + j ) ( 1 ρ j ) ρ j 2 b 2 3 c ( 2 M j + N j ) 3 / 2 .
The ( t + 1 ) th update for π i j can be computed directly from the formula above, whereas ρ is updated using the Fisher scoring algorithm.
ρ j ( t + 1 ) = ρ j ( t ) 2 l ρ j 2 ( π 1 j ( t ) , π 2 j ( t ) ; ρ ( t ) ) 1 l ρ j ( π 1 j ( t ) , π 2 j ( t ) ; ρ j ( t ) ) .
Continue iterating these steps until convergence is achieved. The form of the second derivative is detailed in Appendix A regarding the information matrix. Then, the risk ratio δ ^ j can be obtained by π ^ 2 j π ^ 1 j by each stratum. After the above iteration procedure, we obtain unconstrained MLEs denoted by ( π ^ 1 j , δ ^ j , ρ ^ j ) , j = 1 , , J .

2.1.2. Constrained Maximum Likelihood Estimates

Under the null hypothesis, δ 1 = δ 2 = = δ J = δ , δ j are same across strata. Then, we know π 2 j = δ π 1 j , which means that the response rates are known once we obtain π 1 j so that the log-likelihood function can be simplified as follows:
l ( π 1 , ρ ) = j = 1 J l 0 ( π 1 j , ρ j ) + log C ,
where
l 0 ( π 1 j , ρ j ) = m 01 j log [ ρ j ( 1 π 1 j ) + ( 1 ρ j ) ( 1 π 1 j ) 2 ] + m 11 j log [ 2 π 1 j ( 1 ρ j ) ( 1 π 1 j ) ] + m 21 j log [ ρ j π 1 j + ( 1 ρ j ) π 1 j 2 ] + n 01 j log ( 1 π 1 j ) + n 11 j log π 1 j + m 02 j log [ ρ j ( 1 δ π 1 j ) + ( 1 ρ j ) ( 1 δ π 1 j ) 2 ] + m 12 j log [ 2 δ π 1 j ( 1 ρ j ) ( 1 δ π 1 j ) ] + m 22 j log [ ρ j δ π 1 j + ( 1 ρ j ) ( δ π 1 j ) 2 ] + n 02 j log ( 1 δ π 1 j ) + n 12 j log δ π 1 j .
In the jth stratum, we begin by determining constrained MLEs by setting the score statistics l 0 ( π 1 j , ρ j ) for ρ j and π 1 j to zero,
l 0 π 1 j = m 01 j [ 2 ( 1 ρ j ) ( 1 π 1 j + ρ j ] ρ j ( π 1 j + ( 1 ρ j ) ( 1 π 1 j ) 2 + m 11 j ( 1 2 π 1 j ) π 1 j ( 1 π 1 j ) + m 21 j [ 2 π 1 j ( 1 ρ j ) + ρ j ] π 1 j ρ j + ( 1 ρ j ) π 1 j 2 n 01 j 1 1 π 1 j + n 11 j 1 π 1 j + δ { m 01 j [ 2 ( 1 ρ j ) ( 1 δ π 1 j + ρ j ] ρ j ( δ π 1 j + ( 1 ρ j ) ( 1 δ π 1 j ) 2 + m 11 j ( 1 2 δ π 1 j ) δ π 1 j ( 1 δ π 1 j ) + m 21 j [ 2 δ 0 π 1 j ( 1 ρ j ) + ρ j ] δ π 1 j ρ j + ( 1 ρ j ) δ 2 π 1 j 2 n 02 j 1 δ ( 1 δ π 1 j ) + n 12 j 1 δ 2 π 1 j } = 0 ,
l 0 ρ j = m 01 j π 1 j ρ j + ( 1 ρ j ) ( 1 π 1 j ) + m 02 j δ 0 π 1 j ρ j + ( 1 ρ j ) ( 1 δ 0 π 1 j ) m 11 j + m 12 j 1 ρ j + m 21 j ( 1 π 1 j ) ρ j + ( 1 ρ j ) π 1 j + m 22 j ( 1 δ 0 π 1 j ρ j + ) 1 ρ j ) δ 0 π 1 j = 0 .
However, there is no closed-form for these solutions, so we applied the iterative methods proposed by Ma and Liu [15]
(1) For the jth stratum, start with the initial value δ = 1 / J j = 1 J δ ^ j , then the initial estimates of π 1 j and ρ j can be obtained by treating data as a whole without a strata effect, which are also the same as the estimates under null hypotheses using Donner’s approach [20], which is as follows:
π ^ 1 j ( 0 ) = m 1 + j + 2 m 2 + j + n 1 + j 2 M j + N j ,
ρ j ^ ( 0 ) = 4 m 0 + j m 2 + j m 1 + j 2 ( m 1 + j + 2 m 0 + j ) ( m 1 + j + 2 m 2 + j ) .
(2) Since δ is constant across strata, we update this by
δ ( t + 1 ) = δ ( t ) 1 j = 1 J 2 l j δ 2 ( π 1 j ( t ) , ρ j ( t ) , δ ( t ) ) × j = 1 J l j δ ( π 1 j ( t ) , ρ j ( t ) , δ ( t ) ) .
(3) The ( t + 1 ) th updates for π 1 j and ρ j can be obtained by the Fisher Scoring algorithm as follows:
π 1 j ( t + 1 ) ρ j ( t + 1 ) = π 1 j ( t ) ρ j ( t ) + I 1 ( j ) 1 ( π 1 j ( t ) , ρ j ( t ) ) × l 0 π 1 j l 0 ρ j | δ = δ ( t + 1 ) , π 1 j = π 1 j ( t ) , ρ j = ρ j ( t ) ,
where I 1 ( j ) is the 2 × 2 Fisher information matrix with respect to π 1 j , π 2 j , ρ j . For more details on the derivation of the Fisher information matrix, please see Appendix A.
(4) Repeat steps (2) and (3) until convergence.
After the above iteration procedure, we obtain constrained MLEs denoted by ( π ^ 1 j , H 0 , δ ^ H 0 , ρ ^ j , H 0 ) , j = 1 , , J .

2.2. Hypothesis Testing Methods

2.2.1. Likelihood Ratio Test ( T L )

The likelihood ratio test is usually defined by
T L = 2 [ l ( π ^ 1 , δ ^ , ρ ^ ) l ( π ^ 1 , H 0 , δ ^ H 0 , ρ ^ H 0 ) ] = 2 j = 1 J [ l j ( π ^ 1 j , δ ^ j , ρ ^ j ) l j ( π ^ 1 j , H 0 , δ ^ H 0 , ρ ^ j , H 0 ) ] ,
which, under null hypothesis, asymptotically follows a chi-square distribution with J 1 degrees of freedom.

2.2.2. Wald-Type Test ( T W )

The null hypotheses H 0 : δ 1 = δ 2 = = δ J = δ is equivalent to π 2 j = δ π 1 j for all strata j = 1 , 2 , , J , which can be rewritten as follows:
C β T = 0
where β = [ δ 1 , π 11 , ρ 1 , δ 2 , π 12 , ρ 2 , , δ J , π 1 J , ρ J ] and
C = 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 J 1 , 3 J .
The Wald-type test statistic ( T W ) for testing H 0 can be defined as follows:
T W = ( β C T ) ( C I 1 C T ) 1 ( C β T ) | β = [ π ^ 11 , π ^ 12 , ρ ^ 1 , π ^ 12 , π ^ 22 , ρ ^ 2 , , π ^ 1 J , π ^ 2 J , ρ ^ J ] , δ = δ ^ H 0 ,
where I is the Fisher information matrix for β (see Appendix A) and still, T W is asymptotically distributed as a chi-square distribution with J-1 degrees of freedom. Then, H 0 should be rejected at the significant level α if T W > χ J 1 , 1 α 2 .
Then, the Wald test statistic is provided as the objective to test H 0 a : δ s = δ t vs. H 1 a : δ s δ t , s t given by
T W a = ( β c T ) ( c I 1 c T ) 1 ( c β T ) | β = [ π ^ 11 , π ^ 12 , ρ ^ 1 , π ^ 12 , π ^ 22 , ρ ^ 2 , , π ^ 1 J , π ^ 2 J , ρ ^ J ] , δ = δ ^ H 0 ,
where c = ( 0 , , 0 , 1 , 0 , 0 , , 0 , 1 , 0 , 0 , , 0 ) with ( 1 , 0 , 0 ) in the ( 3 s 2 ) th element to 3 s th element, ( 3 t 2 ) th element to 3 t th element, and 0 otherwise. T W a is asymptotically distributed as a chi-square distribution with 1 degree of freedom.

2.2.3. Score Tests ( T S C )

The score test statistic T S C utilizes constrained MLEs, and under the null hypothesis, each stratum has the same ratio δ ^ H 0 . T S C is given by
T S C 2 = U I 1 ( δ , π 1 , ρ ) U T | δ = δ ^ H 0 π 1 = π ^ 1 , H 0 , ρ = ρ ^ H 0 ,
where the score is
U ( U 1 , , U J ) = l δ , 0 , 0 , , l δ , 0 , 0 ,
since ρ is nuisance parameter. See Appendix A for the formula of I ( δ , π 1 , ρ ) .
T S C 2 is also asymptotically distributed as a chi-square distribution with 1 degree of freedom. Then, H 0 should be rejected at the α significance level if T S C > χ J 1 , 1 α 2 .

3. Simulations

In this section, we evaluate the performance of these three methods, T L , T W , and T S C , as investigated in the previous section, specifically assessing their effectiveness in controlling the Type I error rate and statistical power. Empirical Type I errors are summarized under various parameter settings: M j = N j = 25, 50, 100, with strata J = 2 , 4 , 8 , π 10 = 0.3 , 0.4 , and ρ = 0.2 , 0.5 , 0.7 for a balanced design. Additionally, different parameter settings consider ( M j , N j ) = ( 60 , 50 ) as the imbalanced data structure. Here, we choose δ 0 = 0.8 , 1 , 1.2 for the null hypothesis. For each parameter setting, we generate 50,000 random samples under the null hypothesis, and the empirical Type I error is calculated as the ratio of the number of rejections to 50,000. The results for all configurations with J = 2 , 4 , 8 are shown in Table 2, Table 3 and Table 4.
In addition to the specific parameter configurations mentioned earlier, we also construct the empirical Type I error rates for random parameter settings across each of J = 2 , 4 , 8 , and various sample sizes m = n = 20, 40, 80. The parameters ρ and π are drawn from a uniform distribution. For each of the 1000 configurations, we processed 50,000 replications and calculated the empirical Type I error rate. The 1000 empirical Type I error rates are summarized in the box plot shown in Figure 1. This plot reveals that the score test performs satisfactorily, as its Type I error remains close to the assumed nominal level of 0.05 across various configurations. The likelihood ratio test performs a wider range of empirical Type I error rates, while the Wald test tends to be more liberal compared to the other two tests across different configurations. Additionally, as the number of strata increases, the performance of the test becomes less stable, particularly for extra strata. However, the score test continues to demonstrate robustness within an acceptable range. As the group and sample size become larger, the discrepancy between the score test and the other two tests about the Type I error rate range becomes smaller, with the median of the Type I error rate among the three tests being closer than the small sample size of m , n .
As defined by Tang et al. [4], hypothesis testing is classified as liberal if the ratio of the empirical Type I error rate to the nominal Type I error rate is greater than 1.2 (i.e., exceeding 6% for α = 5%, emphasized as bolded numbers in the results). It is considered conservative if this ratio is below 0.8 (i.e., less than 4%, also highlighted in the results) and robust if the ratio falls between 0.8 and 1.2. The results presented in Table 2, Table 3 and Table 4 indicate that the score test T S C 2 consistently produces stable Type I error rates across all scenarios. In contrast, the likelihood ratio test is liberal, especially in cases with small sample sizes, while the Wald test exhibits a conservative behavior. Notably, the likelihood ratio test and Wald test tend to be either liberal or conservative with moderate or small sample size (e.g., m = 25 or fewer) and also show similar trends as the correlation coefficient increases. However, when the sample size is sufficiently large (e.g., m = n = 100 or more, as indicated by the simulation results), both the likelihood ratio test and the Wald test perform comparably to the score test, providing similar results for Type I error rate and power. Consequently, the score test and adjusted chi-square test are preferred for stable control of the Type I error rate.
Next, we assess the power performance of the proposed statistics under similar Type I error parameter settings. The empirical power for T S C , T L , and T W across these settings is shown in Table 5, Table 6 and Table 7. Each table includes footnotes specifying the different settings for each stratum. The simulation results indicate that the score test consistently provides satisfactory power compared to the others. The likelihood ratio test tends to overestimate power due to its empirical level exceeding the nominal level, whereas the Wald test often shows reduced power due to overfitting. As previously mentioned, increasing the sample size results in the power of the three statistics becoming more comparable. The score test is recommended for practical use among the methods evaluated as our conclusion from simulation results.

4. Application

To address the unilateral and bilateral combined data structure, a double-blinded clinical trial reported by Mandel et al. [21] and Le [20] provides us with the ability to implement our methodology for real-world data. This trial aimed to compare the efficacy of two antibiotics, Cefaclor and Amoxicillin, in treating acute otitis media with effusion (AOM) in children. The study sought to evaluate the safety and effectiveness of Cefaclor compared to Amoxicillin, the standard first-line treatment, in order to identify potentially more effective medications [22]. The trial involved 214 children (293 ears) who received either unilateral or bilateral tympanocentesis before being randomly assigned to one of the treatment groups. After a 14-day treatment course, outcomes were recorded. The unilateral group had binary outcomes (cured or not cured), while the bilateral group was categorized into three outcomes: cured (both ears AOM-free), partially cured (one ear AOM-free), and not cured. Table 8 summarizes the frequency of patients in each outcome category by intervention group at the end of the trial.
The parameter estimates shown in Table 9 and Table 10 provide the statistics and corresponding p-values for the three methods. Notably, all p-values are greater than 0.05. Table 9 indicates no evidence to reject the null hypothesis H 0 : δ 1 = δ 2 = = δ J = δ with J = 3 , suggesting that there is no significant difference in the proportions between Cefaclor and Amoxicillin across the strata.

5. Conclusions

In this article, we developed three test procedures to assess homogeneity in combined unilateral and bilateral samples within stratified two-group clinical trial data. For the estimation of unrestricted and restricted MLEs, we proposed relatively efficient iteration solutions by treating relative risks as common to decrease the estimator dimension.
Simulation results demonstrate that the score test performs robustly, maintaining a satisfactory Type I error rate and power across various parameter settings, including different group sizes and numbers of strata. In contrast, the likelihood ratio test tends to produce inflated results when sample sizes are small, while the Wald test is conservative and prone to overfitting with small sample sizes. However, as the number of strata increases and the relative risk becomes larger, the Wald test’s performance also becomes inflated. When the sample size is large, especially when it exceeds 100, the results of the three tests converge closely to the true values. Therefore, the score test is generally preferred for assessing homogeneity in combined sample designs. Simulation results furthermore indicated that a combined data structure incorporating unilateral and bilateral data at once could gain more power than bilateral data only [19].
This study utilizes a statistical approach grounded in Donner’s parametric model, which calculates the rate by aggregating outcomes across groups, treating paired organs and bilateral results as indistinguishable. Given the inflated or conservative Type I error rates observed in the likelihood ratio and Wald tests, future research may explore the development of an exact test tailored to small sample size settings. It is important to note that Donner’s model assumes a common intra-class correlation for bilateral outcomes, which may present challenges if significant differences in correlation exist between the paired organs of different individuals or across different groups in clinical trials. In other words, we should initially validate the correlation in conjunction with our model-based method presentation. In addition, there is necessity to adjust for confounding effect when we involves in strata. Furthermore, some research examines the difference between the paired organs such eyes can be dominant and non-dominant [23] while researchers usually do not collect (or it is hard to collect) the handedness of the individuals [1]. We could consider if those data are available in a real-world example. Considering the assumptions discussed above, we plan to explore these topics in future work to support our methods using a more stable foundation.
In addition to risk ratio exploration, Zhang and Ma [24] investigated homogeneity testing on the risk difference between stratified bilateral and unilateral combined data. She proposed that the score test is a worthwhile hypothesis testing with well-performed power and a robust Type I error rate, which can be evidence supporting that our model-based method on risk ratio holds more comprehensive conclusions.

Author Contributions

Conceptualization, H.W. and C.-X.M.; Methodology, H.W. and C.-X.M.; Writing—original Draft Preparation, H.W.; Writing—Review and Editing, H.W. and C.-X.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are openly available in reference.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Appendix A.1. Fisher Information Matrix for Given δ

Under the null hypothesis, π 1 j and ρ j can be obtained by the Fisher scoring algorithm. The Fisher information matrix for jth stratum is written as follows:
I 1 ( j ) = I 11 1 j I 12 1 j I 12 1 j I 22 1 j = m + 1 j A 1 + m + 2 j δ 2 A 2 + A 3 m + 1 j B 1 + m + 2 j δ B 2 m + 1 j B 1 + m + 2 j δ B 2 m + 1 j C 1 + m + 2 j C 2 ,
where
A 1 = ( 2 2 ρ j ) ( 2 π 1 j 2 2 π 1 j + 1 ) π 1 j ( 1 π 1 j ) + ( 2 π 1 j 2 + 1 ) ( 1 ρ j ) 2 2 π 1 j ( 1 ρ j ) ( 2 ρ j ) + 1 ( 1 π 1 j ) 2 ( 1 ρ j ) + ρ j ( 1 π 1 j ) + 2 π 1 j 2 ( 1 ρ j ) 2 + ρ j 2 + 2 π 1 j ρ j ( 1 ρ j ) π 1 j 2 ( 1 ρ j ) + π 1 j ρ j ,
A 2 = ρ j 2 + 2 δ 2 π 1 j 2 ( 1 ρ j ) 2 + 2 δ π 1 j ρ j ( 1 ρ j ) δ π 1 j ρ j δ 2 π 1 j 2 ( ρ j 1 ) + ( 2 δ 2 π 1 j 2 + 1 ) ( 1 ρ j ) 2 2 δ π 1 j ( 1 ρ j ) ( 2 ρ j ) + 1 ( 1 δ π 1 j ) 2 ( 1 ρ j ) + ρ j ( 1 δ π 1 j ) + ( 2 2 ρ j ) ( 2 δ 2 π 1 j 2 2 δ π 1 j + 1 ) δ π 1 j ( 1 δ π 1 j ) ,
A 3 = n + 1 j 1 π 1 j ( 1 π 1 j ) + n + 2 j δ π 1 j ( 1 δ π 1 j ) ,
B 1 = 1 π 1 j ρ j + ( 1 π 1 j ) ( 1 ρ j ) + π 1 j ρ j + π 1 j ( 1 ρ j ) ,
B 2 = 1 δ π 1 j ρ j + ( 1 δ π 1 j ) ( 1 ρ j ) + δ π 1 j ρ j + δ π 1 j ( 1 ρ j ) ,
C 1 = 2 π 1 j ( 1 π 1 j ) 1 ρ j + π 1 j 2 ( 1 π 1 j ) ρ j + ( 1 π 1 j ) ( 1 ρ j ) + π 1 j ( 1 π 1 j ) 2 ρ j + π 1 j ( 1 ρ j ) ,
C 2 = 2 δ π 1 j ( 1 δ π 1 j ) 1 ρ j + δ 2 π 1 j 2 ( 1 δ π 1 j ) ρ j + ( 1 δ π 1 j ) ( 1 ρ j ) + δ π 1 j ( 1 δ π 1 j ) 2 ρ j + δ π 1 j ( 1 ρ j ) .

Appendix A.2. Fisher Information Matrix for the Wald Test and Score Test

The Fisher information matrix I is a 3 J × 3 J block diagonal matrix.
I = I 1 0 0 0 I 2 0 0 I J ,
with the diagonal elements
I j = I 11 j I 12 j I 13 j I 12 j I 22 j I 23 j I 13 j I 23 j I 33 j ,
where
I 11 j = m + 2 j π 1 j 2 [ ( 2 2 ρ j ) ( 2 π 1 j 2 2 π 1 j + 1 ) π 1 j ( 1 π 1 j ) + ( 2 π 1 j 2 + 1 ) ( 1 ρ j ) 2 2 π 1 j ( 1 ρ j ) ( 2 ρ j ) + 1 ( 1 π 1 j ) 2 ( 1 ρ j ) + ρ j ( 1 π 1 j ) + 2 π 1 j 2 ( 1 ρ j ) 2 + ρ j 2 + 2 π 1 j ρ j ( 1 ρ j ) π 1 j 2 ( 1 ρ j ) + π 1 j ρ j ] + n + 2 j π 1 j 2 1 δ j π 1 j ( 1 δ j π 1 j ) ,
I 12 j = δ j π 1 j I w 11 j ,
I 13 j = m + 2 j π 1 j 1 δ π 1 j ρ j + ( 1 δ π 1 j ) ( 1 ρ j ) + δ π 1 j ρ j + δ π 1 j ( 1 ρ j ) ,
I 22 j = m + 1 j [ ( 2 2 ρ j ) ( 2 π 1 j 2 2 π 1 j + 1 ) π 1 j ( 1 π 1 j ) + ( 2 π 1 j 2 + 1 ) ( 1 ρ j ) 2 2 π 1 j ( 1 ρ j ) ( 2 ρ j ) + 1 ( 1 π 1 j ) 2 ( 1 ρ j ) + ρ j ( 1 π 1 j ) + 2 π 1 j 2 ( 1 ρ j ) 2 + ρ j 2 + 2 π 1 j ρ j ( 1 ρ j ) π 1 j 2 ( 1 ρ j ) + π 1 j ρ j ] + m + 2 j δ 2 [ ρ j 2 + 2 δ 2 π 1 j 2 ( 1 ρ j ) 2 + 2 δ π 1 j ρ j ( 1 ρ j ) δ π 1 j ρ j δ 2 π 1 j 2 ( ρ j 1 ) + ( 2 δ 2 π 1 j 2 + 1 ) ( 1 ρ j ) 2 2 δ π 1 j ( 1 ρ j ) ( 2 ρ j ) + 1 ( 1 δ π 1 j ) 2 ( 1 ρ j ) + ρ j ( 1 δ π 1 j ) + ( 2 2 ρ j ) ( 2 δ 2 π 1 j 2 2 δ π 1 j + 1 ) δ π 1 j ( 1 δ π 1 j ) ] + n + 1 j 1 π 1 j ( 1 π 1 j ) + n + 2 j δ π 1 j ( 1 δ π 1 j ) ,
I 23 j = m + 1 j 1 π 1 j ρ j + ( 1 π 1 j ) ( 1 ρ j ) + π 1 j ρ j + π 1 j ( 1 ρ j ) + m + 2 j δ 1 δ π 1 j ρ j + ( 1 δ π 1 j ) ( 1 ρ j ) + δ π 1 j ρ j + δ π 1 j ( 1 ρ j ) ,
I 33 j = m + 1 j 2 π 1 j ( 1 π 1 j ) 1 ρ j + π 1 j 2 ( 1 π 1 j ) ρ j + ( 1 π 1 j ) ( 1 ρ j ) + π 1 j ( 1 π 1 j ) 2 ρ j + π 1 j ( 1 ρ j ) + m + 2 j 2 δ π 1 j ( 1 δ π 1 j ) 1 ρ j + δ 2 π 1 j 2 ( 1 δ π 1 j ) ρ j + ( 1 δ π 1 j ) ( 1 ρ j ) + δ π 1 j ( 1 δ π 1 j ) 2 ρ j + δ π 1 j ( 1 ρ j ) .

References

  1. Fan, Q.; Teo, Y.Y.; Saw, S.M. Application of Advanced Statistics in Ophthalmology. Investig. Ophthalmol. Vis. Sci. 2011, 52, 6059–6065. [Google Scholar] [CrossRef]
  2. Burton, P.; Gurrin, L.; Sly, P. Extending the simple linear regression model to account for correlated responses: An introduction to generalized estimating equations and multi-level mixed modelling. Stat. Med. 1998, 17, 1261–1291. [Google Scholar] [CrossRef]
  3. Murdoch, I.E.; Morris, S.S.; Cousens, S.N. People and eyes: Statistical approaches in ophthalmology. Br. J. Ophthalmol. 1998, 82, 971–973. [Google Scholar] [CrossRef]
  4. Tang, N.S.; Tang, M.L.; Qiu, S.F. Testing the equality of proportions for correlated otolaryngologic data. Comput. Stat. Data Anal. 2008, 52, 2719–3729. [Google Scholar] [CrossRef]
  5. Ma, C.X.; Shan, G.; Liu, S. Homogeneity test for binary correlated data. PLoS ONE 2015, 10, e0124337. [Google Scholar] [CrossRef]
  6. Shan, G.; Ma, C. Exact methods for testing the equality of proportions for binary clustered data from otolaryngologic studies. Stat. Biopharm. Res. 2014, 6, 115–122. [Google Scholar] [CrossRef]
  7. Liu, X.; Shan, G.; Tian, L.; Ma, C.X. Exact methods for testing homogeneity of proportions for multiple groups of paired binary data. Commun. Stat.—Simulat. Comput. 2017, 46, 6074–6082. [Google Scholar] [CrossRef]
  8. Dallal, G.E. Paired Bernoulli Trials. Biometrics 1988, 44, 253–257. [Google Scholar] [CrossRef]
  9. Donner, A. Statistical methods in ophthalmology: An adjusted chi-square approach. Biometrics 1989, 45, 605–611. [Google Scholar] [CrossRef]
  10. Thompson, J.R. The chi-square test for data collected on eyes. Br. J. Ophthalmol. 1993, 77, 115–117. [Google Scholar] [CrossRef]
  11. Donner, A.; Klar, N. Methods for comparing event rates in intervention studies when the unit of allocation is a cluster. Am. J. Epidemiol. 1994, 140, 279–289. [Google Scholar] [CrossRef] [PubMed]
  12. Jung, S.H.; Ahn, C.D.A. A study of an adjusted χ2 statistic as applied to observational studies involving clustered binary data. Stat. Med. 2001, 20, 2149–2161. [Google Scholar] [CrossRef] [PubMed]
  13. Tang, N.S.; Qiu, S.F.; Tang, M.L.; Pei, Y.B. Asymptotic confidence interval construction for proportion difference in medical studies with bilateral data. Stat. Methods Med. Res. 2011, 20, 233–259. [Google Scholar] [CrossRef]
  14. Pei, Y.B.; Tang, M.L.; Guo, J.H. Testing the equality of two proportions for combined unilateral and bilateral data. Commun. Stat.-Comput. 2008, 37, 1515–1529. [Google Scholar] [CrossRef]
  15. Ma, C.X.; Liu, S. Testing equality of proportions for correlated binary data in ophthalmologic studies. J. Biopharm. Stat. 2017, 27, 611–619. [Google Scholar] [CrossRef]
  16. Lui, K.J.; Kelly, C. Tests for homogeneity of the risk ratio in a series of 2 × 2 tables. Stat. Med. 2000, 19, 2919–2932. [Google Scholar] [CrossRef]
  17. Li, H.Q.; Tang, N.S. Homogeneity test of rate ratios in stratified matched-pair studies. Biom. J. 2011, 53, 614–627. [Google Scholar] [CrossRef]
  18. Tang, N.S.; Qiu, S.F. Homogeneity test, sample size determination and interval construction of difference of two proportions in stratified bilateral-sample designs. J. Stat. Plan. Inference 2012, 142, 1243–1251. [Google Scholar] [CrossRef]
  19. Pei, Y.; Tian, G.L.; Tang, M.L. Testing homogeneity of proportion ratios for stratified correlated bilateral data in two-arm randomized clinical trials. Stat. Med. 2014, 33, 4370–4386. [Google Scholar] [CrossRef]
  20. Le, C.T. Testing for Linear Trends in Proportions Using Correlated Otolaryngology or ophthalmology Data. Biometrics 1988, 44, 299–303. [Google Scholar] [CrossRef]
  21. Mandel, E.M.; Bluestone, C.D.; Rockette, H.E.; Blatter, M.M.; Reisinger, K.S.; Wucher, F.P.; Harper, J. Duration of effusion after antibiotic treatment for acute otitis media: Comparison of cefaclor and amoxicillin. Pediatr. Infect. Dis. 1982, 1, 310–316. [Google Scholar] [CrossRef]
  22. McLinn, S.E. Cefaclor in treatment of otitis media and pharyngitis in children. Am. J. Dis. Child. 1980, 134, 560–563. [Google Scholar] [CrossRef] [PubMed]
  23. Linke, S.J.; Druchkiv, V.; Steinberg, J.; Richard, G.; Katz, T. Eye laterality: A comprehensive analysis in refractive surgery candidates. Acta Ophthalmol. 2013, 91, e363–e368. [Google Scholar] [CrossRef] [PubMed]
  24. Zhang, X.; Ma, C. Testing the Homogeneity of Differences between Two Proportions for Stratified Bilateral and Unilateral Data across Strata. Mathematics 2023, 11, 4156. [Google Scholar] [CrossRef]
Figure 1. Box plots of empirical sizes when J = 2, 4, 8 and m = n = 20, 40, 80.
Figure 1. Box plots of empirical sizes when J = 2, 4, 8 and m = n = 20, 40, 80.
Mathematics 12 02719 g001
Table 1. Data structure for the jth stratum in the stratified unilateral and bilateral cases.
Table 1. Data structure for the jth stratum in the stratified unilateral and bilateral cases.
Group (i)
Number of Responses in Event 1 2 Total
0 m 01 j m 02 j m 0 + j
1 m 11 j m 12 j m 1 + j
2 m 21 j m 22 j m 2 + j
Total m + 1 j m + 2 j M j
0 n 01 j n 02 j n 0 + j
1 n 11 j n 12 j n 1 + j
Total n + 1 j n + 2 j N j
Table 2. The empirical Type I error rates for testing H 0 : δ 1 = = δ J = δ corresponding to nominal α = 5 % based on 50,000 replications under J = 2 .
Table 2. The empirical Type I error rates for testing H 0 : δ 1 = = δ J = δ corresponding to nominal α = 5 % based on 50,000 replications under J = 2 .
δ = 0.8 δ = 1 δ = 1.2
m/n ρ π 0 T L T W T SC T L T W T SC T L T W T SC
25/250.20.35.862.725.72 5.882.655.72 5.842.565.63
0.45.743.675.61 5.613.455.48 5.593.355.48
0.50.35.572.345.49 5.682.235.55 5.622.045.46
0.45.363.245.29 5.433.125.33 5.602.935.52
0.70.35.882.135.47 5.842.015.54 5.891.815.61
0.55.663.225.585.473.015.495.433.065.82
50/500.20.35.363.925.28 5.293.725.21 5.393.695.28
0.45.254.345.20 5.254.255.21 5.284.135.21
0.50.35.183.655.12 5.213.515.17 5.183.435.11
0.45.174.245.15 5.244.115.22 5.294.025.23
0.70.35.253.465.19 5.163.385.13 5.303.385.22
0.45.194.085.165.344.095.315.304.065.38
100/1000.20.35.234.565.21 5.084.345.04 5.144.395.10
0.45.024.584.99 5.184.675.14 5.204.635.15
0.50.35.064.315.04 5.034.265.03 5.094.215.05
0.45.184.625.17 5.234.625.22 5.254.595.22
0.70.34.924.074.90 5.104.205.09 5.114.205.09
0.45.084.555.085.084.515.075.224.565.23
60/500.20.35.313.975.27 5.203.935.14 5.283.915.22
0.45.194.405.16 5.234.375.18 5.274.315.21
0.50.35.263.895.24 5.263.765.22 5.253.635.19
0.45.234.245.21 5.244.175.20 5.314.155.25
0.70.35.203.795.17 5.293.625.25 5.303.535.22
0.45.124.145.125.214.075.195.154.075.25
Table 3. The empirical Type I error rates for testing H 0 : δ 1 = = δ J = δ corresponding to nominal α = 5 % based on 50,000 replications under J = 4 .
Table 3. The empirical Type I error rates for testing H 0 : δ 1 = = δ J = δ corresponding to nominal α = 5 % based on 50,000 replications under J = 4 .
δ = 0.8 δ = 1 δ = 1.2
m/n ρ π 0 T L T W T SC T L T W T SC T L T W T SC
25/250.20.35.863.135.505.832.935.525.912.755.56
0.45.783.875.525.613.455.345.673.305.46
0.50.35.482.745.265.592.535.375.712.325.42
0.45.343.335.205.373.065.195.742.915.59
0.70.36.362.585.446.272.465.606.272.265.68
0.55.483.405.255.523.065.425.263.115.84
50/500.20.35.433.945.265.433.745.265.383.645.21
0.45.284.275.155.284.145.185.364.045.20
0.50.35.183.675.065.303.495.185.373.375.20
0.45.184.135.115.243.965.135.283.835.19
0.70.35.233.545.105.343.405.225.453.275.31
0.45.303.985.245.293.945.245.043.855.27
100/1000.20.35.144.425.055.074.295.005.104.335.03
0.45.014.614.965.064.545.005.104.425.01
0.50.35.124.295.065.064.095.005.114.015.04
0.45.094.555.065.104.445.055.364.485.29
0.70.35.044.184.975.164.195.115.284.155.21
0.45.244.615.245.214.475.165.354.525.34
60/500.20.35.323.855.175.273.815.165.293.725.15
0.45.134.265.045.264.205.135.464.115.29
0.50.35.213.755.135.233.595.165.353.605.20
0.45.334.215.265.214.065.135.493.995.36
0.70.35.173.665.115.243.495.175.343.395.24
0.45.334.165.295.263.915.195.263.975.47
Table 4. The empirical Type I error rates for testing H 0 : δ 1 = = δ J = δ corresponding to nominal α = 5 % based on 50,000 replications under J = 8 .
Table 4. The empirical Type I error rates for testing H 0 : δ 1 = = δ J = δ corresponding to nominal α = 5 % based on 50,000 replications under J = 8 .
δ = 0.8 δ = 1 δ = 1.2
m/n ρ π 0 T L T W T SC T L T W T SC T L T W T SC
25/250.20.36.003.955.466.093.585.566.253.225.71
0.45.994.355.475.903.875.506.083.545.59
0.50.35.703.535.325.673.015.295.872.645.42
0.45.643.895.355.723.495.425.983.185.72
0.70.37.183.405.516.873.065.566.812.745.76
0.55.953.885.505.903.515.744.893.405.88
50/500.20.35.494.435.215.454.125.195.463.925.18
0.45.384.645.175.454.495.255.514.325.25
0.50.35.244.055.065.373.785.195.453.685.22
0.45.394.565.265.524.265.375.464.015.32
0.70.35.343.915.185.333.715.185.433.455.22
0.45.304.345.195.484.135.375.084.155.44
100/1000.20.35.304.595.185.234.475.115.214.315.12
0.45.134.825.035.234.705.125.314.595.19
0.50.35.074.445.015.014.194.945.194.115.08
0.45.064.595.005.164.495.095.294.485.22
0.70.35.104.375.035.114.195.025.244.075.13
0.45.214.595.185.184.455.125.354.495.33
60/500.20.35.454.425.245.454.265.225.393.985.18
0.45.334.675.135.324.515.155.404.235.17
0.50.35.394.205.225.343.945.175.393.785.24
0.45.334.525.215.274.155.155.564.095.36
0.70.35.253.995.115.243.805.085.283.685.12
0.45.354.385.245.274.065.194.973.925.27
Table 5. Power performance for J = 2.
Table 5. Power performance for J = 2.
δ = ( 0.8 , 1.2 ) δ = ( 0.7 , 1.3 ) δ = ( 0.7 , 1.2 )
m/n ρ π 0 T L T W T SC T L T W T SC T L T W T SC
25/250.20.30.19610.14830.19250.36990.32680.36490.29400.24520.2895
0.40.26950.24140.26630.52390.51430.52240.41060.38750.4060
0.50.30.17970.12480.17780.33950.28010.33590.26240.20240.2588
0.40.24290.21110.24100.47290.45540.47080.36660.33950.3650
0.70.30.17670.11410.17170.32780.25920.32330.25650.18710.2520
0.40.23310.20060.23720.44250.43580.45660.35020.32240.3550
50/500.20.30.33710.31820.33470.63530.62710.63330.51120.49720.5086
0.40.48240.47590.48060.81700.82310.81540.69240.69340.6905
0.50.30.30600.28130.30440.58290.57110.58170.46350.44440.4621
0.40.43200.42140.43080.76420.76860.76330.63370.63290.6327
0.70.30.28780.25890.28680.56090.54460.55990.43920.41550.4375
0.40.41010.40210.41150.73110.74230.73750.60700.60250.6064
100/1000.20.30.57970.57550.57860.89940.90150.89880.80000.80020.7989
0.40.76220.76420.76150.97960.98140.97960.92940.93210.9292
0.50.30.53070.52190.52950.85820.85980.85770.74300.74020.7412
0.40.70890.70820.70870.96300.96420.96260.89730.89920.8971
0.70.30.49880.49140.49830.83080.83350.83060.71660.71440.7161
0.40.67790.67720.67750.95190.95400.95220.87660.87780.8764
60/500.20.30.36740.34910.36560.68590.68120.68380.55250.54290.5494
0.40.51880.51390.51680.85610.86260.85520.73440.73690.7327
0.50.30.32380.30310.32290.61960.61220.61850.49780.47940.4964
0.40.46320.45500.46240.80560.80960.80500.67560.67540.6744
0.70.30.30500.27880.30440.59390.58060.59250.46930.44830.4683
0.40.43870.42850.43890.77410.77920.77750.64200.64140.6424
Table 6. Power performance for J = 4.
Table 6. Power performance for J = 4.
δ = ( 0.8 , 1.2 , 0.8 , 1.2 ) δ = ( 0.7 , 1.3 , 0.7 , 1.3 ) δ = ( 0.7 , 0.8 , 1.2 , 1.3 )
m/n ρ π 0 T L T W T SC T L T W T SC T L T W T SC
25/250.20.30.23380.17610.22600.46690.41050.45650.29400.24520.2895
0.40.34000.30200.33260.66810.65240.66530.41060.38750.4060
0.50.30.20830.14460.20270.42700.34850.42020.26240.20240.2588
0.40.30010.25010.29580.60780.57950.60660.36660.33950.3650
0.70.30.20480.13070.19550.41150.31650.40150.25650.18710.2520
0.40.27680.23740.28390.55970.55380.58310.35020.32240.3550
50/500.20.30.42560.38810.41980.79220.78600.78960.51120.49720.5086
0.40.60630.59660.60280.94120.94430.93940.69240.69340.6905
0.50.30.38060.33870.37650.73030.71250.72790.46350.44440.4621
0.40.54630.52820.54320.90700.90950.90580.63370.63290.6327
0.70.30.35300.30640.34950.70400.68160.70120.43920.41550.4375
0.40.51260.49610.51250.87970.88740.88440.60700.60250.6064
100/1000.20.30.72430.71640.72230.98120.98180.98090.80000.80020.7989
0.40.90440.90620.90340.99940.99960.99940.92940.93210.9292
0.50.30.66740.65620.66630.96310.96470.96290.74300.74020.7412
0.40.85690.85730.85580.99770.99820.99770.89730.89920.8971
0.70.30.63460.61650.63390.95120.95120.95060.71660.71440.7161
0.40.83000.82840.82940.99570.99630.99570.87660.87780.8764
60/500.20.30.46370.43380.45990.83780.83310.83560.55250.54290.5494
0.40.65860.64960.65590.96230.96560.96160.73440.73690.7327
0.50.30.40790.37120.40530.77580.76310.77390.49780.47940.4964
0.40.59090.57680.58900.93240.93340.93180.67560.67540.6744
0.70.30.38200.34160.37980.74380.72680.74160.46930.44830.4683
0.40.55500.54010.55490.90980.91490.91400.64200.64140.6424
Table 7. Power performance for J = 8.
Table 7. Power performance for J = 8.
δ = ( 0.8 , 1.2 , 0.8 , 1.2 δ = ( 0.7 , 1.3 , 0.7 , 1.3 δ = ( 0.7 , 0.8 , 1.2 , 1.3
0 . 8 , 1 . 2 , 0 . 8 , 1 . 2 ) 0 . 7 , 1 . 3 , 0 . 7 , 1 . 3 ) 0 . 7 , 0 . 8 , 1 . 2 , 1 . 3 )
m/n ρ π 0 T L T W T SC T L T W T SC T L T W T SC
25/250.20.30.30190.24500.29090.61930.59210.60620.47220.42400.4582
0.40.46350.42270.45320.85020.85260.85020.69360.67790.6888
0.50.30.27100.19920.26260.58560.50670.57630.43480.34710.4220
0.40.40410.35560.39710.79980.78070.79570.63780.60110.6332
0.70.30.27340.18080.25750.57360.47600.55810.42760.31960.4096
0.40.36830.33410.37840.73470.74910.76700.57630.56730.6065
50/500.20.30.59320.55460.58650.94280.93990.94050.83060.81680.8260
0.40.80520.79950.80170.99110.99700.99100.96010.96460.9595
0.50.30.53050.48170.52600.91040.89790.90830.77110.74530.7679
0.40.74570.73470.74240.98400.99130.98390.93160.93510.9304
0.70.30.49750.44150.49130.88820.87150.88650.73710.70260.7333
0.40.70900.69520.71000.97370.98480.97620.91050.91810.9139
100/1000.20.30.90400.90150.90330.99970.99960.99970.99340.99350.9932
0.40.98810.98800.98790.99990.99990.99990.99990.99990.9999
0.50.30.85630.84900.85480.99820.99840.99820.98450.98440.9845
0.40.97390.97420.97350.99970.99990.99970.99930.99960.9993
0.70.30.82740.81880.82630.99740.99740.99740.97630.97540.9758
0.40.96680.96580.96610.99970.99990.99970.99860.99870.9986
60/500.20.30.64260.61070.63710.96450.96340.96360.87680.86860.8737
0.40.85250.84890.85020.99440.99860.99440.97550.97860.9749
0.50.30.56610.52490.56180.93750.93070.93610.81980.80380.8172
0.40.78820.77640.78550.99060.99430.99020.95980.96140.9593
0.70.30.53360.48850.53020.91770.90700.91600.78870.76280.7852
0.40.75110.73150.75230.98780.99040.98930.94070.94320.9434
Table 8. Number of ears in different age strata of children cured by antibiotics (Treatment arm—Cefaclor vs. Control arm—Amoxicillin).
Table 8. Number of ears in different age strata of children cured by antibiotics (Treatment arm—Cefaclor vs. Control arm—Amoxicillin).
Age Group
<2 yrs 2–5 yrs ≥6 yrs
Number of AOM-Free Ears TRT Control TRT Control TRT Control
Bilateral0811 63 01
122 61 10
282 105 36
Unilateral032 2414 1111
1910 722 87
Table 9. MLEs of risk ratios, correlation coefficient, and risk incidence for each strata.
Table 9. MLEs of risk ratios, correlation coefficient, and risk incidence for each strata.
Constrained MLEs Unconstrained MLEs
Age δ ρ π 1 π 2 δ ρ π 1 π 2
<2 yrs1.10070.76540.50220.5528 0.76630.67560.59210.4527
2–5 yrs0.55020.47700.5250 1.52840.55990.40110.6130
≥6 yrs0.81110.49260.5422 1.04890.81180.50650.5312
Table 10. Statistic and p-value for comparing two groups treatment effect.
Table 10. Statistic and p-value for comparing two groups treatment effect.
Method T LR T W T SC
statistic4.56244.65934.8774
p-value0.10220.09730.0873
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.

Share and Cite

MDPI and ACS Style

Wang, H.; Ma, C.-X. Homogeneity Test of Ratios of Two Proportions in Stratified Bilateral and Unilateral Data. Mathematics 2024, 12, 2719. https://doi.org/10.3390/math12172719

AMA Style

Wang H, Ma C-X. Homogeneity Test of Ratios of Two Proportions in Stratified Bilateral and Unilateral Data. Mathematics. 2024; 12(17):2719. https://doi.org/10.3390/math12172719

Chicago/Turabian Style

Wang, Huipei, and Chang-Xing Ma. 2024. "Homogeneity Test of Ratios of Two Proportions in Stratified Bilateral and Unilateral Data" Mathematics 12, no. 17: 2719. https://doi.org/10.3390/math12172719

APA Style

Wang, H., & Ma, C.-X. (2024). Homogeneity Test of Ratios of Two Proportions in Stratified Bilateral and Unilateral Data. Mathematics, 12(17), 2719. https://doi.org/10.3390/math12172719

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop