generalRSS: Sampling and Inference for Balanced and Unbalanced Ranked Set Sampling in R
Chul Moon, Soohyun Ahn · 2025
Read generalRSS: Sampling and Inference for Balanced and Unbalanced Ranked Set Sampling in R by Chul Moon, Soohyun Ahn (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-02039.txt.
Introduction
Chul Moon and Soohyun Ahn introduce generalRSS, an R package for ranked set sampling and inference. Ranked set sampling ranks cheap auxiliary data to pick informative samples, beating plain random sampling on efficiency. Balanced designs split samples evenly across strata, while unbalanced designs shift weight where it helps most. Skewed distributions benefit most from the unbalanced form.
Existing software leans heavily on balanced designs, leaving gaps the package fills. Tools cover data generation, smart allocation for unbalanced designs, and inference for both forms. Two medical examples using national survey data show the workflow. One estimates a single mean, the other compares curve areas between groups. The package aims to make ranked set methods routine in applied analysis.
Catalog record
| CREATOR | Chul Moon, Soohyun Ahn |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 43 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2509-02039
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
generalRSS: Sampling and Inference for Balanced and Unbalanced Ranked Set Sampling in R Chul Moon, Soohyun Ahn Abstract Ranked set sampling (RSS) is a stratified sampling method that improves efficiency over simple random sampling (SRS) by utilizing auxiliary information for ranking and stratification. While balanced RSS (BRSS) assumes equal allocation across strata, unbalanced RSS (URSS) allows unequal allocation, making it particularly effective for skewed distributions. The generalRSS package provides extensive tools for both BRSS and URSS, addressing limitations in existing RSS software that primarily focus on balanced designs. It supports RSS data generation, efficient sample allocation strategies for URSS, and statistical inference for both balanced and unbalanced designs. This paper presents the RSS methodology and demonstrates the utility of generalRSS through two medical data applications: a one-sample mean inference and a two-sample area under the curve (AUC) comparison using NHANES datasets. These applications illustrate the practical implementation of URSS and show how generalRSS facilitates ranked set sampling and inference in real-world data analysis. Keywords: Auxiliary variable, efficient sample allocation, ranked set sampling, statistical inference, unbalanced ranked set sampling, R 1 Introduction Randomized experiments are fundamental to modern scientific discovery and typically depend on simple random sampling (SRS) to select units. While increasing the sample size can enhance the efficiency of such experiments, this approach may be impractical under resource constraints. Ranked set sampling (RSS), first introduced by [ 18 ] , offers a cost-effective alternative. RSS is a stratified sampling method that utilizes auxiliary ranking information to create strata [ 26 ] . When each rank stratum includes an equal number of samples, it is called balanced RSS (BRSS). In contrast, unbalanced RSS (URSS) occurs when the number of samples differs across strata. RSS has a rich history of research and development [ 13 , 31 , and references therein] . Research has shown that BRSS consistently outperforms SRS with an equivalent sample size in estimation precision, as demonstrated by [ 28 ] . Numerous studies have explored the efficiency of RSS estimators [ 15 , 14 , 27 ] . For skewed distributions, URSS estimators can achieve even greater efficiency than BRSS and SRS counterparts [ 3 , 2 , 9 , 12 , 20 ] . However, the performance of URSS depends heavily on the allocation of replicates among strata. Improper allocation can lead to inefficiencies, sometimes even worse than SRS. To address this, several studies [ 8 , 12 , 18 , 30 ] have proposed appropriate allocation rules, with Neyman allocation being the most widely used due to its optimal variance-minimizing properties when estimating the population mean. As a result, most of the existing literature on URSS has focused on this allocation strategy [ 13 , 28 , 29 ] . Recently, [ 4 ] defined a sufficient set of allocation schemes to ensure that URSS achieves greater efficiency in population mean estimation compared to BRSS. They also introduced two practical allocation adjustments to enhance the efficiency of URSS designs beyond that of BRSS. Several R packages are available for RSS, including RSSampling [ 24 ] , NSM3 [ 23 ] , RSStest [ 16 ] , and RankedSetSampling [ 21 ] . RSSampling supports a wide range of RSS extensions, offering both sampling tools and statistical inference. NSM3 includes only classical RSS as a sampling procedure and provides critical value calculations for nonparametric inference. RSStest focuses on sampling and mean testing for RSS and MRSS and includes simulation tools under normal distributions. Finally, RankedSetSampling extends its scope to joint probability sampling (JPS) and offers mean and variance estimation for RSS. However, these packages are generally limited to balanced RSS designs, restricting their applicability for both sampling and inference in scenarios that require more flexibility. BRSS designs are commonly implemented due to their simplicity and ease of implementation. However, in real-world survey studies, missing data often results in URSS scenarios, where BRSS methodologies become impractical. URSS offers a flexible alternative by allowing unequal allocation across strata, making it particularly effective for skewed distributions where unequal allocation can significantly improve estimation efficiency. Despite its advantages, implementing URSS has been challenging due to the lack of accessible tools in existing software packages. generalRSS package was developed to address these limitations by fully supporting URSS while maintaining compatibility with BRSS. It provides parametric and nonparametric inference tools for population means, medians, AUCs, and proportions. Additionally, it offers functions for generating ranked set samples with specified allocations and optimizing allocation strategies to improve the efficiency of URSS designs. The flexibility of URSS allows users to tailor sampling designs to real-world constraints, making it particularly valuable when balanced designs are impractical. By treating BRSS as a special case of URSS with equal allocation across strata, generalRSS extends the applicability of RSS beyond BRSS methods. This versatility makes it a practical tool for a wide range of applications, including environmental or medical studies, where flexible sampling strategies are essential. The rest of this paper is organized as follows. Section 2 provides an overview of ranked set sampling, with Section 2.1 covering BRSS and Section 2.2 discussing URSS, including their respective procedures. Section 3 describes the analysis approaches and functions available in generalRSS and compares them with existing R packages. Section 4 evaluates the performance of RSS relative to SRS in two inference problems using data from the US National Health and Nutrition Examination Survey (NHANES) [ 22 , 10 ] . Finally, Section 5 summarizes the capabilities of generalRSS , its applications in inference problems, and future directions for inference methods and sampling designs. 2 Ranked Set Sampling In this section, we illustrate the sampling procedure of RSS by detailing its design and associated notations. An RSS dataset of size n can be represented as \{(y_{i},h_{i},r_{i}),i=1,2,\cdots,n\}, (1) where y_{i} denotes the i -th observation, h_{i} represents its rank among r_{i} independent observations, and r_{i} denotes the set size. Typically, RSS assumes a fixed set size, i.e., r_{i}=H for all i=1,2,\cdots,n , and h_{i} takes values in \{1,\cdots,H\} . The number of observations assigned to rank h is given by n_{h}=\sum_{i=1}^{H}I(h_{i}=h) , where I(\cdot) denotes the indicator function. The total sample size of the RSS data is then given by n=\sum_{h=1}^{H}n_{h} . These notations define the structure of RSS data and its implementation in generalRSS . RSS data can also be represented using the notation Y_{[h],r} denoting the r -th observation assigned to rank h , with h=1,\cdots,H and r=1,\cdots,n_{h} . The RSS sampling process consists of the following steps: Step 1: Select a simple random sample of size H from the target population. Step 2: Rank the H sampled units using an auxiliary variable without measuring the variable of primary interest. Step 3: Measure the unit ranked as the h -th smallest and discard the remaining units. Step 4: Repeat Steps 1-3 for each rank h up to H . These steps define one cycle of RSS, as illustrated in Figure 1 . In each cycle, a SRS of size H is selected, ranked, and one unit is measured per stratum, yielding a sample consisting of H strata with one observed unit. By repeating these cycles, multiple observations are collected within each stratum, ultimately forming the final ranked set sample. Figure 1: