Next Article in Journal
Computational Geometry of Period-3 Hyperbolic Components in the Mandelbrot Set
Next Article in Special Issue
Multimorbidity from Diabetes, Heart Failure, and Related Conditions: Assessing a Panel of Depressive Symptoms as Both Formative and Reflective Indicators of a Latent Trait
Previous Article in Journal
Experiments with Fuzzy Methods for Forecasting Time Series as Alternatives to Classical Methods
Previous Article in Special Issue
Normalized Information Criteria and Model Selection in the Presence of Missing Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hierarchical Bayesian Modeling and Randomized Response Method for Inferring the Sensitive-Nature Proportion

1
School of Mathematics and Statistics, Northeast Petroleum University, Daqing 163318, China
2
School of Management and Data-Mining Research Center, Xiamen University, Xiamen 361005, China
3
Department of Statistics, Tamkang University, New Taipei City 251301, Taiwan
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2021, 9(19), 2518; https://doi.org/10.3390/math9192518
Submission received: 17 August 2021 / Revised: 29 September 2021 / Accepted: 3 October 2021 / Published: 7 October 2021

Abstract

:
In this study, a new three-statement randomized response estimation method is proposed to improve the drawback that the maximum likelihood estimation method could generate a negative value to estimate the sensitive-nature proportion (SNP) when its true value is small. The Bayes estimator of the SNP is obtained via using a hierarchical Bayesian modeling procedure. Moreover, a hybrid algorithm using Gibbs sampling in Metropolis–Hastings algorithms is used to obtain the Bayes estimator of the SNP. The highest posterior density interval of the SNP is obtained based on the empirical distribution of Markov chains. We use the term 3RR-HB to denote the proposed method here. Monte Carlo simulations show that the quality of 3RR-HB procedure is good and that it can improve the drawback of the maximum likelihood estimation method. The proposed 3RR-HB procedure is simple for use. An example regarding the homosexual proportion of college freshmen is used for illustration.

1. Introduction

Warner [1] is the pioneer to propose the randomized response (RR) method for evaluating the sensitive-nature proportion (SNP). An individual in the RR method of [1] is required to answer “yes” or “no” to either the statement “I am a member of group A” or “I am not a member of group A” where group A is a sensitive-nature statement. Since the interviewees do not need to release the selected statement to the interviewer, the interviewees can be supposed to confide in the interviewer the true answer.
Let θ denote the population SNP and n be the sample size of interviewees. In the RR survey, Y interviewees answer “yes”. It is trivial to show that Y follows a binomial distribution with the sample size n and proportion of ω = P ( y e s ) = θ p s + ( 1 θ ) ( 1 p s ) , where p s denotes the proportion of selecting the sensitive-nature statement. Denote Y B i n ( n , ω ) . Warner [1] obtained the maximum likelihood estimator of θ , denoted by θ ^ , and its variance is as follows:
θ ^ = p s 1 2 p s 1 + 1 2 p s 1 × y n
and
V a r θ ^ = θ 1 θ n + 1 4 n 1 2 p s 1 2 1 .
We use the term MLE to denote maximum likelihood estimator/estimate here. Equations (1) and (2) can be used to construct the confidence interval of θ . The MLE proposed by [1] is valid only if p s 0.5 and 0 θ 1 . When the value of θ is small, the MLE of θ could be negative. This fact makes the method of [1] invalid to infer θ , as its true value is small.
New RR methods have been proposed after [1]. Greenberg et al. [2] proposed an unrelated question RR methods. They proposed a theoretical framework to infer the model parameters for the design of two statements. A new RR procedure was proposed by Mangat and Singh [3]. Their method used two randomization devices to design the RR strategy. Mangat and Singh [3] demonstrated that their new strategy was more efficient than the usual strategy of [1].
Kuk [4] proposed an alternative method to perform an RR survey. The design method of [4] does not require direct answers from the interviewees, and such a design can enhance the confidence of interviewees to tell the true answer. The method of [4] can be applied to both qualitative and quantitative questions. Kuk [4] suggested to collect data for a mixture distribution, and the problem can reduce to the estimation of a mixture proportion.
Chaudhuri [5] emphasized the protection of the interviewee’s privacy and also studied the impact of simple random sampling design on the final conclusions. Chaudhuri [5] illustrated two existing RR devices for indicating how an estimator along with an estimated measure of its error could be developed when the RR sample may be drawn adopting a complex survey design involving unequal selection probabilities with or without replacement.
Christofides [6] proposed a generalized RR (GRR) technique to eliminate a major bias in surveys of the population SNP resulting from an interviewee’s refusal when using the RR method of [1]. Chang et al. [7] considered a simple generalization for some existing investigations and suggested suitable selection strategies for design parameters. They also discussed the superiority of their proposed strategies over the RR strategy of [1].
Hsieh et al. [8] proposed a modified GRR (MGRR) approach for a multi-level attribute using a single sensitive item. The MGRR approach has some merits over the other counterparts. Hsieh et al. [8] suggested using the Markov chain Monte Carlo (MCMC) method to obtain the Bayes estimator of the SNP instead of the maximum likelihood estimation method. We use the term BE to denote Bayes estimator/Bayes estimate here. Examples about using Bayesian methods for real applications can be found in the book of Gelman et al. [9].
Bar-Lev et al. [10] presented a Bayesian approach to four RR models. They used truncated beta distributions in a common conjugate prior structure to obtain the BE of the SNP. Barabesi and Marcheselli [11] proposed a Bayesian estimation procedure to obtain the BE of the SNP based on Frankin’s RR procedure. They conducted a simulation study to evaluate the quality of their proposed method.
Barabesi and Marcheselli [12] proposed a Bayesian method to the joint estimation of the SNPs and sensitivity level of a stigmatizing attribute via applying a two-stage RR design. The MGRR method is designed for a multi-level attribute using a single sensitive-nature statement. Hsieh et al. [8] suggested using the MCMC approach to obtain the BE of the SNP. The MGRR method is effective to obtain a reliable BE of the SNP. However, the MGRR method could be too complicated to implement for users.
Bayesian estimation methods are useful for modeling multi-faceted or nonlinear practical phenomena other than the maximum likelihood estimation method. Among all popular Bayesian estimation methods, the hierarchical Bayesian (HB) modeling method can be run with multiple hierarchical levels for estimating the parameters of posterior distribution. If grouped observations are used in a survey, hierarchical modeling is a relevant design to obtain the reliable BEs of model parameters.
The example in Section 4 of this study is based on college students from different groups to study the homosexual proportion in a region during different years. Hence, the HB modeling method is helpful to obtain the reliable BEs of model parameters. The HB modeling method has been commonly applied in many different areas when the information on several different levels of observational units is available; see [12] for comprehensive discussions. It is helpful to apply hierarchical analysis forms to understand multi-parameter problems and design computational strategies.
However, heavy computation loading is a problem to obtain BEs of the model parameters using the HB modeling method. Taking advantage of the recent advances of computer power, it becomes easier to reduce the impact of computation loading when using HB modeling methods for data analysis. Some applications using the HB modeling method other than the RR design can be found in [13,14,15,16,17,18,19,20,21,22]. The HB modeling method is not yet applied for RR design. The implementation of the proposed 3RR-HB modeling method is discussed in Section 3.

2. Motivation and Organization

The traditional RR methods of [1,2] are simple to use. However, the MLE of the SNP could be negative when the true value of the SNP is small. In order to make interviewees more confident to tell the true answer in the survey, it is helpful to use more than one non-sensitive-nature statement in the RR method. Hence, we extend the traditional RR design of [2] to a three-statement RR method, which contains one sensitive-nature and two non-sensitive-nature statements.
To escape the trap of obtaining a negative MLE of the SNP, the HB modeling method is adopted to improve the drawback of the maximum likelihood estimation method when the true value of the SNP is small. In order to overcome the complexity of numerical computation to obtain the BE of the SNP, the hybrid algorithm of using Gibbs sampling in the Metropolis–Hastings algorithm is proposed to implement the MCMC method to obtain the BEs of model parameters. The main contribution of this study is to propose a 3RR-HB procedure to obtain the BE of the SNP. Moreover, the highest posterior density interval (HPDI) of the SNP is constructed. The proposed 3RR-HB procedure can improve the drawback of using a negative MLE to estimate the population SNP when its true value is small.
The rest of this paper is organized as follows: In Section 3, we present the data structure and introduce the proposed 3RR-HB procedure. In Section 4, an example regarding the homosexual proportion of college freshmen is used to demonstrate the applications of the proposed 3RR-HB procedure. A Monte Carlo simulation study is also conducted in Section 4 to study the weakness of maximum likelihood estimation method and evaluate the quality of the proposed 3RR-HB procedure. Some concluding remarks are given in Section 5.

3. Materials and Methods

Conducting a RR survey with two non-sensitive-nature and one sensitive-nature statements as follows: (i) I am in Group A; (ii) I am in Group B; and (iii) I am in Group C. Group A is a sensitive-nature statement; Group B and Group C are non-sensitive-nature statements. Interviewees have probabilities p s , p 1 and p 2 to randomly answers the Statements (i), (ii) and (iii). In this study, the values of p s , p 1 and p 2 are pre-assigned.
The interviewees do not need to release which statement they have replied to the interviewer. Let θ , δ 1 and δ 2 denote the probabilities of individual answering “yes” under the Statement (i), (ii) and (iii), respectively and ω denote the probability of answering “yes” in the sample. It is trivial to shown that ω = P ( y e s ) = p s θ + p 1 δ 1 + p 2 δ 2 . In this study, the values of δ 1 and δ 2 are known in the RR design.
Let the sample size be n, in which Y of them answer “yes”. It can be shown that Y B i n ( n , ω ) . The log-likelihood function based on the data ( n , y ) can be presented as
ω n , y = y log ( ω ) + ( n y ) log ( 1 ω ) .
The MLE of θ to maximize ω n , y can be presented by
θ ^ = Y ¯ p 1 δ 1 + p 2 δ 2 p s ,
where Y ¯ = y n . We note that θ ^ is valid only if the working condition of
0 Y ¯ ( p 1 δ 1 + p 2 δ 2 ) p s 1
is true. Unfortunately, Equation (5) is often violated when the value of θ is small. The fact makes the maximum likelihood estimation method unreliable for the cases of small θ . We will show that the failure rate of P ( θ ^ < 0 ) is high via using the Monte Carlo simulation method in Section 4.
The Bayesian inference method is used to obtain the BE of θ . Let ω be random and follow the prior distribution of Beta, ω B e t a ( α , β ) :
π ( ω α , β ) = Γ ( α + β ) Γ ( α ) Γ ( β ) ω α 1 ( 1 ω ) β 1 , 0 < ω < 1 ,
where α > 0 and β > 0 are hyper-parameters. The posterior distribution can be presented by
π ( ω n , y , α , β ) ω y + α 1 ( 1 ω ) n y + β 1 .
In some occasions, we may collect RR samples from k ( > 1 ) different regions or time periods. One example is to evaluate the homosexual proportions of the freshmen who enrolled in a university over different years. Since the enrolled freshmen come from different cities year by year, it is reasonable to assume that the proportion of homosexual freshmen varies year by year. Therefore, the SNPs are the proportions of homosexual freshmen in k years, denoted by θ 1 , θ 2 , , θ k .
These values of θ 1 , θ 2 , , θ k are different. In this study, we are interested in studying the trend of the population proportion of the homosexual freshmen in a university over years. A 3RR-HB method is developed to obtain the BEs of SNPs along with i = 1 , 2 , , k . If all SNPs are same; that is, θ i = θ for i = 1 , 2 , , k .
Taking summation to the both sides of the equation ω i = p s , i θ + p 1 , i δ 1 , i + p 2 , i δ 2 , i for i = 1 , 2 , , k , we can obtain i = 1 k ω i = ( i = 1 k p s , i θ ) + ( i = 1 k p 1 , i δ 1 , i ) + ( i = 1 k p 2 , i δ 2 , i ) . Let ω · = i = 1 k w i , δ 1 · = i = 1 k p 1 , i δ 1 , i and δ 2 · = i = 1 k p 2 , i δ 2 , i , we can obtain
θ = ω · δ 1 · δ 2 · i = 1 k p s , i = i = 1 k ( ω i p 1 , i δ 1 , i p 2 , i δ 2 , i ) i = 1 k p s , i
Replacing ω i p 1 , i δ 1 , i p 2 , i δ 2 , i in Equation (8) by the p s , i θ ˜ i based on the ith sub-sample, the BE of θ can be presented by
θ ˜ = i = 1 k p s , i θ ˜ i i = 1 k p s , i .
Assume that RR sub-samples were collected from k different regions or time periods and the values of θ 1 , θ 2 , , θ k are different. Let ( n i , Y i ) denote the ith RR sample and Y i B i n ( n i , ω i ) , where ω i = p s , i θ i + p 1 , i δ 1 , i + p 2 , i δ 2 , i for i = 1 , 2 , , k . Let N = ( n 1 , n 2 , , n k ) and Y = ( Y 1 , Y 2 , , Y k ) , and the data structure can be simplified as ( N , Y ) . To avoid subjectively setting up the values of hyper-parameters, the HB modeling method is used to develop the proposed Bayesian inference procedure. Let ω i B e t a ( α , β ) for i = 1 , 2 , , k . The density function of ω i can be denoted by
π ( ω i α , β ) = Γ ( α + β ) Γ ( α ) Γ ( β ) ω i α 1 ( 1 ω i ) β 1 , 0 < ω i < 1 , i = 1 , 2 , , k .
Using the square loss function for the Bayesian inference, the BE of ω , denoted by ω ˜ , is the posterior mean based on the π ( ω n , y , α , β ) in Equation (7), and we can present ω ˜ by
ω ˜ = y + α n + α + β .
Therefore, the BE of θ can be obtained by
θ ˜ = ω ˜ p 1 δ 1 p 2 δ 2 p s .
It is trivial that θ ˜ > 0 if ω ˜ > p 1 δ 1 + p 2 δ 2 . It could be subjective to select the values of α and β for Bayesian inference. Hence, the HB modeling method is used in the proposed Bayesian estimation procedure to obtain the BEs of model parameters.
To implement the HB modeling method, we need to assume the second layer of prior distribution. Let α and β follow a hyper-prior distribution with the structure of a product of two Gamma distributions:
φ ( α , β ) = φ 1 ( α ) × φ 2 ( β ) ,
where
φ 1 ( α ) = ξ 1 η 1 Γ ( η 1 ) α η 1 1 e ξ 1 α , α > 0 ,
and
φ 2 ( β ) = ξ 2 η 2 Γ ( η 2 ) β η 2 1 e ξ 2 β , β > 0 .
For simplification, let Θ = ( α , β , ω 1 , , ω k ) . The full posterior distribution can be presented by
π ( Θ N , y ) Γ ( α + β ) Γ ( α ) Γ ( β ) k i = 1 k ω i y i + α 1 ( 1 ω i ) n i y i + β 1 × α η 1 1 e ξ 1 α × β η 2 1 e ξ 2 β .
Moreover, the conditional posterior of ω i , given α and β can be presented by ω i B e t a ( y i + α , n i y i + β ) , i = 1 , 2 , , k . The value of θ i during the MCMC computation can be updated by
θ ˜ i ( * ) = 1 p s , i y i + α n i + α + β p 1 , i δ 1 , i + p 2 , i δ 2 , i , i = 1 , 2 , . . . , k .
Based on the condition of y i + α n i + α + β ( p 1 , i δ 1 , i + p 2 , i δ 2 , i ) > 0 , we can obtain
β < y i + α p 1 , i δ 1 , i + p 2 , i δ 2 , i ( n i + α ) .
Given the values of α and ( N , Y ) , we can shown that
Ω β | α , N , Y = 0 < β < c m ( α , N , Y ) ,
where
c m ( α , N , Y ) = min y i + α p 1 , i δ 1 , i + p 2 , i δ 2 , i ( n i + α ) , i = 1 , 2 , . . . , k .
The set Ω β | α , N , Y can be used to guarantee θ ˜ i ( * ) > 0 for i = 1 , 2 , , k . Hence, Ω β | α , N , Y can be a reference set to select the hyper-parameter β when a value of α is generated and the data of ( N , Y ) are collected.
The proposed hybrid algorithm is constructed as follows: Let Θ 1 = ( β , ω 1 , , ω k ) and Θ 2 = ( α , ω 1 , , ω k ) denote the vector of parameters by removing α and β from Θ , respectively. After algebraic computation, the marginal density distributions of α and β can be obtained, respectively, by
π ( α Θ 1 , N , y ) Γ ( α + β ) Γ ( α ) k i = 1 k ω i α × α η 1 1 e ξ 1 α
and
π ( β Θ 2 , N , y ) Γ ( α + β ) Γ ( β ) k i = 1 k ( 1 ω i ) β × β η 2 1 e ξ 2 β ,
In order to overcome the difficulty to update α and β via using Equations (18) and (19) in the Gibbs sampling procedure, the Metropolis and Hastings algorithm is used to update α and β . Hence, the proposed hybrid algorithm for implementing the HB modeling method can be followed based on the following steps:
Step 1:
For j 1 , generate α ( * ) q 1 α ( * ) α ( j ) and u U ( 0 , 1 ) , where q 1 ( · ) is the proposal to generate α . Update α ( j + 1 ) by α ( * ) if u Ψ 1 ( j ) , where
Ψ 1 ( j ) = m i n 1 , π α ( * ) β ( j ) , ω 1 ( j ) , , ω k ( j ) , N , y q 1 α ( j ) α ( * ) π α ( j ) β ( j ) , ω 1 ( j ) , , ω k ( j ) , N , y q 1 α ( * ) α ( j ) ;
otherwise, α ( j + 1 ) = α ( j ) .
Step 2:
For j 1 , generate β ( * ) q 2 β ( * ) β ( j ) and u U ( 0 , 1 ) , where q 2 ( · ) is the proposal to generate β . Update β ( j + 1 ) by β ( * ) if u Ψ 2 ( j ) , where
Ψ 2 ( j ) = m i n 1 , π β ( * ) α ( j + 1 ) , ω 1 ( j ) , , ω k ( j ) , N , y q 2 β ( j ) β ( * ) π β ( j ) α ( j + 1 ) , ω 1 ( j ) , , ω k ( j ) , N , y q 2 β ( * ) β ( j ) ;
otherwise, β ( j + 1 ) = β ( j ) .
Step 3:
Generate ω i ( * ) B e t a y i + α ( j + 1 ) , n i y i + β ( j + 1 ) and evaluate θ i ( * ) by θ i ( * ) = 1 p s , i ω i ( * ) p 1 , i δ 1 , i + p 2 , i δ 2 , i for i = 1 , 2 , , k . If 0 θ i ( * ) 1 , update θ i ( j + 1 ) = θ i * ; otherwise, θ i ( j + 1 ) = θ i ( j ) , i = 1 , 2 , , k .
Step 4:
Repeat Step 1 to Step 3 B times, where B is a big positive integer. Perform the burn-in step by removing the leading B 1 Markov chains. The BE of parameter is obtained via using the remainder ( B B 1 ) Markov chains. Since the square loss function is considered in this study, the BEs α ˜ , β ˜ and θ ˜ i , i = 1 , 2 , , k .
Some proposals with the property of q ( τ ( j ) | τ ( * ) ) = q ( τ ( * ) | τ ( j ) ) , where τ is the target parameter for update, can be selected to reduce the computation loading of MCMC—for example, the normal or uniform distribution. When such proposals are used to implement the MCMC approach, Equations (20) and (21) can reduce to
Ψ 1 ( j ) = m i n 1 , π α ( * ) β ( j ) , ω 1 ( j ) , , ω k ( j ) , N , y π α ( j ) β ( j ) , ω 1 ( j ) , , ω k ( j ) , N , y = m i n 1 , Γ ( α ( * ) + β ( j ) ) Γ ( α ( j ) ) Γ ( α ( j ) + β ( j ) ) Γ ( α ( * ) ) i = 1 k ω i ( j ) α ( * ) α ( j ) × α ( * ) α ( j ) η 1 1 e ξ 1 ( α ( j ) α ( * ) )
and
Ψ 2 ( j ) = m i n 1 , π β ( * ) α ( j + 1 ) , ω 1 ( j ) , , ω k ( j ) , N , y π β ( j ) α ( j + 1 ) , ω 1 ( j ) , , ω k ( j ) , N , y = m i n 1 , Γ ( α ( j + 1 ) + β ( * ) ) Γ ( β ( j ) ) Γ ( α ( j + 1 ) + β ( j ) ) Γ ( β ( * ) ) i = 1 k 1 ω i ( j ) β ( * ) β ( j ) × β ( * ) β ( j ) η 2 1 e ξ 2 ( β ( j ) β ( * ) ) ,
respectively. In this study, the normal distribution is considered as the proposal for MCMC approach. Generate α N ( α ( j ) , 1 ) and β N ( β ( j ) , 1 ) . If α < 0 , we do not update α ; if β Ω β | α , N , y , we do not update β . The obtained Markov chains based on the proposed 3RR-HB procedure can also be used to construct the empirical distribution of BE. Then, the HPDI of the model parameter can be obtained via using the empirical distribution of BE. The applications of the proposed 3RR-HB procedure and its quality will be studied in Section 4 via using a real example and Monte Carlo simulations.

4. Applications

4.1. Homosexual College Freshmen Survey Example

A RR survey was first conducted in October of 2019 and repeated in October of 2020 to evaluate the homosexual proportion of freshmen in a university, located in north Taiwan. College students from different majors were interviewed and asked to answer “yes” or “no” to one of the following three statements: (i) Is the last code of your ID card even? (ii) Is the last code of your student ID card even? (iii) Are you homosexual? Clearly, only Statement (iii) is a sensitive-nature statement.
Each student in the RR survey randomly draw a ball from a urn, which contains five white, five green and five red balls. If the drawn ball is white, answer Statement (i); if the drawn ball is green, answer Statement (ii); otherwise, answer Statement (iii). Students do not need to release the ball’s color to the interviewer. The three-statement RR design can make students fully confide the true answer in the interviewer.
The samples are n 1 = 283 , y 1 = 101 in 2019 and n 2 = 178 , y 2 = 60 in 2020. It is trivial to obtain that p s = p 1 = p 2 = 1 / 3 and δ 1 = δ 2 = 1 / 2 . The data set is composed of N = ( 283 , 178 ) and Y = ( 101 , 60 ) . The MLEs of θ 1 and θ 2 can be obtained by θ ^ 1 = 0.071 and θ ^ 2 = 0.011 via using Equation (4). We note that the values of θ ^ 1 and θ ^ 2 are small and that these two MLEs could be unreliable. The proposed 3RR-HB procedure in Section 3 is applied to characterize the data sets and obtain the BEs with B = 100 , 000 and B 1 = 10 , 000 .
We need to set up the parameters of ξ 1 , η 1 , ξ 2 , η 2 in the hyper-prior distribution. Based on the sample information of y 1 / n 1 = 101 / 283 = 0.357 and y 2 / n 2 = 60 / 178 = 0.337 , we can assume that the expected values E ( ω 1 ) = E ( ω 2 ) = α / ( α + β ) is in (0.33, 0.36). Since we do not have sufficient information to set up the values of ξ 1 , η 1 , ξ 2 , η 2 in Equations (13) and (14), we would select the proper vales of ξ 1 , η 1 , ξ 2 , η 2 to generate large variances of α and β , and hence the prior distributions of α and β become non-informative to obtain BEs of the model parameters.
The combinations of ξ 1 , η 1 , ξ 2 and η 2 that satisfy the condition of χ ( 0.33 , 0.36 ) can be selected for simulations where χ = E ( α ) E ( α ) + E ( β ) . A simulation study of sensitivity analysis for the selections of possible values of ξ 1 , η 1 , ξ 2 and η 2 was conducted to show that our proposed method is less sensitive to the selection of ξ 1 , η 1 , ξ 2 and η 2 ; that is, the obtained BEs of model parameters are less sensitive to the selection of ξ 1 , η 1 , ξ 2 and η 2 . Five combinations of ξ 1 , η 1 , ξ 2 and η 2 were selected.
All these combinations can generate a wide range of large to extreme large variances of α and β . All selected parameters combinations can have similar values of χ ; see Table 1. We label these five combinations as C-I: ( ξ 1 , η 1 , ξ 2 , η 2 ) = ( 0.050 , 1.5 , 0.050 , 2.8 ) , C-II: ( ξ 1 , η 1 , ξ 2 , η 2 ) = ( 0.040 , 1.5 , 0.040 , 2.8 ) , C-III: ( ξ 1 , η 1 , ξ 2 , η 2 ) = ( 0.035 , 1.5 , 0.035 , 2.8 ) , C-IV: ( ξ 1 , η 1 , ξ 2 , η 2 ) = ( 0.030 , 1.5 , 0.030 , 2.8 ) and C-V: ( ξ 1 , η 1 , ξ 2 , η 2 ) = ( 0.025 , 1.5 , 0.025 , 2.8 ) . Using the normal proposals for the proposed MCMC procedure to generate α N ( α ( * ) , 1 ) and β N ( β ( * ) , 1 ) . If α < 0 , we do not update α ; if β Ω β | α , N , Y , we do not update β . All the estimation results are reported in Table 2 and Table 3.
In view of Table 2 and Table 3, we can find the strength of the proposed 3RR-HB procedure. Table 2 shows that the obtained BEs based on the proposed 3RR-HB procedure are reliable. All bias and standard errors (SEs) of BEs based on the proposed 3RR-HB procedure with 10,000 iterations, where B = 50 , 000 and B 1 = 10 , 000 , are small. Moreover, all acceptance rates in Table 3 are larger than 50 % . Since ω i ( * ) B e t a ( y i + α ( j + 1 ) , n i y i + β ( j + 1 ) ) , all the generated values are accepted. Therefore, the acceptance rates of ω 1 and ω 2 are 100 % . Moreover, the obtained BE of the homosexual proportion of college freshmen in the region is about 9 % in 2019 and 8 % in 2020.
The empirical distribution can be constructed based on the obtained Markov chains of BEs. Using the values of ξ 1 , η 1 , ξ 2 and η 2 of C-III in Table 1, the 90 % HPDI of θ 1 and θ 2 are (0, 0.174) and (0, 0.168), respectively. Overall, we can conclude that the point homosexual proportion of college freshmen in the region in 2019 and 2020 was about 9 % and 8 % and then up to 17.4 % and 16.8 % , respectively, under the considering of sampling error with 90 % confidence. The length of HPDI is long as the sample size is small. If the confident coefficient 95 % is used instead of 90 % , the length of the HPDI of θ i will be longer than the 90 % HPDI for i = 1 , 2 .

4.2. Monte Carlo Simulations

A Monte Carlo simulation study was conducted to verify the quality of the proposed 3RR-HB procedure. Referring to the example information in Section 4.1, we let p s = p 1 = p 2 = 1 / 3 , δ 1 = δ 2 = 1 / 2 and N = ( n 1 , n 2 ) with n 1 = n 2 = n = 200 , 300 , 500 , 800 , 1000 to generate random samples of y 1 and y 2 . For each given value of θ i , we generate Y i B i n ( n i , ω i = θ i / 3 + 1 / 3 ) for i = 1 , 2 .
Let θ 1 = θ 2 = 0.05 and 0.1 . The proposed 3RR-HB procedure with B = 50,000, B 1 = 10,000 is implemented. Moreover, the BEs of θ i , i = 1 , 2 are obtained based on the values of ξ 1 , η 1 , ξ 2 , η 2 of C-III in Table 1. Repeat each simulation procedure 10,000 times, and then the bias and mean squared error (MSE) of each BE are evaluated based on the 10,000 runs. All simulation results are reported in Figure 1 and Table 4, Table 5 and Table 6.
Figure 1 displays the scatter plot of the first 1000 MLEs of θ ^ 1 and θ ^ 2 for n = 200 and θ 1 = θ 2 = 0.05 . We can see that many pairs of θ ^ 1 and θ ^ 2 are in Zones B, C, or D, and those pairs are invalid MLEs due to θ ^ 1 < 0 or θ ^ 2 < 0 . Only the pairs of θ ^ 1 and θ ^ 2 in Zone A are valid due to the required conditions θ 1 > 0 and θ 2 > 0 .
We found that 7020 MLEs of θ 1 with the proportion of 0.702 and 6930 MLEs of θ 2 with the proportion of 0.603 in Table 4 were positive when n = 200 and θ 1 = θ 2 = 0.05 . In a scan of Table 4, we find that the maximum likelihood estimation method has a high risk to generate invalid values of θ ^ 1 and θ ^ 2 if the true values of θ 1 and θ 2 are closed to zero. The sample proportions of P ( θ ^ 1 > 0 ) and P ( θ ^ 2 > 0 ) are increased as n is increased. However, as the RR method goes through an interview process, it could be difficult to collect an large sample to obtain reliable MLEs of θ 1 and θ 2 .
As many negative MLEs were found, the bias and MSE of MLE are not reliable. Table 5 and Table 6 only report the bias and MSE of BE. In view of Table 5 and Table 6, we found that the bias and MSE of BE is declined as n increased. The bias and MSEs of θ ˜ 1 and θ ˜ 2 were small. Hence, the simulation results indicate that the proposed 3RR-HB procedure can be a reliable method to evaluate SNP.

5. Conclusions

In this paper, we proposed a 3RR-HB procedure to infer the SNP by considering a hierarchical structure for the prior distribution in Bayesian modeling. Moreover, the Beta-Binomial distribution was applied to characterize the RR samples. In order to overcome the computation complexity, the hybrid algorithm of using Gibbs sampling in Metropolis–Hastings algorithm was adopted to update the model parameters during MCMC computation. The proposed 3RR-HB procedure method is simple and minimally subjective for use.
A data set regarding the homosexual proportion of college freshmen was used to illustrate the applications of the proposed 3RR-HB procedure. We also conducted Monte Carlo simulations to study the performance of the proposed 3RR-HB procedure. The simulation results showed that the proposed 3RR-HB procedure was reliable to obtain the BEs of model parameters. Moreover, the 3RR-HB procedure can help users to escape the drawback of using invalid MLE to estimate the SNP.
The design of equal probabilities for the three statements was used to obtain RR samples. Such a design will reduce the chance of interviewees to select the sensitive-nature statement. However, such a design can enhance the willing of interviewees to confide in the interviewer the true answer. The equal-probability design is a trade-off. Practitioners can use unequal-probability design to obtain RR samples to implement the proposed 3RR-HB procedure based on their considerations.
We only used one sensitive-nature statement to obtain RR samples. It will be interesting to expand the proposed method for the RR method containing two or more sensitive-nature statements. How to establish the HB modeling inference procedure for the RR method with two or more sensitive-nature statements is an open question that can be studied in the future.

Author Contributions

Data curation, C.-Y.H.; Funding acquisition, T.-R.T.; Investigation, T.-R.T.; Methodology, H.X. and J.Z.; Project administration, T.-R.T.; Resources, J.Z.; Software, H.X. and C.-Y.H.; Supervision, T.-R.T.; Writing—original draft, T.-R.T.; Writing—review and editing, T.-R.T. All authors have read and agreed to the published version of the manuscript.

Funding

This study is supported by the grant of Ministry of Science and Technology, Taiwan MOST 108-2221-E-032-018-MY2.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study. The randomize response survey is based on the project of Ministry of Science and Technology, Taiwan MOST 108-2813-C-032-002-M for the authors Chieh-Yi Hung and under the supervision of the author Tzong-Ru Tsai.

Data Availability Statement

The data can be found in Section 4.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Warner, S.L. Randomized response: A survey technique for eliminating evasive answer bias. J. Am. Stat. Assoc. 1965, 60, 63–69. [Google Scholar] [CrossRef]
  2. Greenberg, B.G.; Abul-Ela, E.L.A.; Simmons, W.R.; Horvitz, D.G. The unrelated question randomized response model: Theoretical framework. J. Am. Stat. Assoc. 1969, 64, 520–539. [Google Scholar] [CrossRef]
  3. Mangat, N.S.; Singh, R. An alternative randomized response procedure. Biometrika 1990, 77, 439–442. [Google Scholar] [CrossRef]
  4. Kuk, A.Y.C. Asking sensitive questions indirectly. Biometrika 1990, 77, 436–438. [Google Scholar] [CrossRef]
  5. Chaudhuri, A. Using randomized response from a complex survey to estimate a sensitive proportion in a dichotomous finite population. J. Stat. Plan. Inference 2001, 94, 37–42. [Google Scholar] [CrossRef]
  6. Christofides, T.C. A generalized randomized response technique. Metrika 2003, 57, 195–200. [Google Scholar] [CrossRef]
  7. Chang, H.-J.; Wang, C.-L.; Huang, K.-C. On estimating the oroportion of a qualitative sensitive character using randomized response sampling. Qual. Quant. 2004, 38, 375–680. [Google Scholar]
  8. Hsieh, S.H.; Lee, S.-M.; Tu, S.-H. Randomized response techniques for a multi-level attribute using a single sensitive question. Stat. Pap. 2018, 59, 291–306. [Google Scholar] [CrossRef]
  9. Gelman, A.; Carlin, J.B.; Stern, H.S.; Rubin, D.B. Bayesian Data Analysis, 2nd ed.; CRC Press: Boca Raton, FL, USA, 2004; ISBN 1-58488-388-X. [Google Scholar]
  10. Bar-Lev, S.K.; Bobovich, E.; Boukai, B. A common conjugate prior structure for several randomized response models. Test 2003, 12, 101–113. [Google Scholar] [CrossRef]
  11. Barabesi, L.; Marcheselli, M. A practical implementation and Bayesian estimation in Franklin’s randomized response procedures. Commun. Stat.-Simul. Comput. 2006, 35, 563–573. [Google Scholar] [CrossRef]
  12. Barabesi, L.; Marcheselli, M. Bayesian estimation of proportion and sensitivity level in randomized response procedures. Metrika 2010, 72, 75–88. [Google Scholar] [CrossRef]
  13. Arnab, R.; Singh, S. Randomized response techniques: An application to the Botswana AIDS impact survey. J. Stat. Plan. Inference 2010, 140, 941–953. [Google Scholar] [CrossRef]
  14. Bae, K.; Mallick, B.K. Gene selection using a two-level hierarchical Bayesian model. Bioinformatics 2004, 20, 3423–3430. [Google Scholar] [CrossRef] [Green Version]
  15. Dobigeon, N.; Tourneret, J.-Y.; Chang, C.-I. Semi-Supervised linear spectral unmixing using a hierarchical Bayesian model for hyperspectral imagery. IEEE Trans. Signal Process. 2008, 56, 2684–2695. [Google Scholar] [CrossRef] [Green Version]
  16. Behmanesh, I.; Moaveni, B.; Lombaert, G.; Papadimitriou, C. Hierarchical Bayesian model updating for structural identification. Mech. Syst. Signal Process. 2015, 64, 360–376. [Google Scholar] [CrossRef] [Green Version]
  17. Weber, S.A.; Insaf, T.Z.; Hall, E.S.; Talbot, T.O.; Huff, A.K. Assessing the impact of fine particulate matter (PM2.5) on respiratory-cardiovascular chronic diseases in the New York City Metropolitan area using Hierarchical Bayesian model estimates. Environ. Res. 2016, 151, 399–409. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Gastelu, J.V.; Trujillo, J.D.M.; Padilha-Feltrin, A. Hierarchical Bayesian model for estimating spatial-temporal photovoltaic potential in residential areas. IEEE Trans. Sustain. Energy 2018, 9, 971–979. [Google Scholar] [CrossRef]
  19. Xie, Z.; Wu, T.; Yang, X.; Zhang, L.; Wu, K. Jointly social grouping and identification in visual dynamics with causality-induced hierarchical Bayesian model. J. Vis. Commun. Image Represent. 2019, 59, 62–75. [Google Scholar] [CrossRef]
  20. Alarcon, A.; Sánchez, C.; Bernstein, G.M. Redshift inference from the combination of galaxy colours and clustering in a hierarchical Bayesian model. Mon. Not. R. Astron. Soc. 2019, 498, 2801–2813. [Google Scholar]
  21. Zhang, X.; Dong, Q.; Costa, V.; Wang, X. A hierarchical Bayesian model for decomposing the impacts of human activities and climate change on water resources in China. Sci. Total. Environ. 2019, 665, 836–847. [Google Scholar] [CrossRef]
  22. Tonkin-Hill, G.; Lees, J.A.; Bentley, S.D.; Frost, S.D.W.; Corander, J. Fast hierarchical Bayesian analysis of population structure. Nucleic Acids Res. 2019, 47, 5539–5549. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. The scatter plot of 1000 MLEs of θ ^ 1 and θ ^ 2 for the case of n = 200 and θ 1 = θ 2 = 0.05 .
Figure 1. The scatter plot of 1000 MLEs of θ ^ 1 and θ ^ 2 for the case of n = 200 and θ 1 = θ 2 = 0.05 .
Mathematics 09 02518 g001
Table 1. The parameters in the hyper-prior for simulations.
Table 1. The parameters in the hyper-prior for simulations.
ξ 1 η 1 ξ 2 η 2 E( α )Var( α )E( β )Var( β ) χ
C-I0.0501.50.0502.8306005611200.3489
C-II0.0401.50.0402.8389387017500.3989
C-III0.0351.50.0352.84312248022860.3489
C-IV0.0301.50.0302.85016679331110.3489
C-V0.0251.50.0252.860240011244800.3489
Table 2. The obtained BEs and their standard errors (SEs) via using the proposed 3RR-HB method.
Table 2. The obtained BEs and their standard errors (SEs) via using the proposed 3RR-HB method.
ω ˜ 1 ω ˜ 2 θ ˜ 1 θ ˜ 2
BESEBESEBESEBESE
C-I0.3550.0270.3410.0320.0920.0610.0820.061
C-II0.3550.0260.3410.0320.0900.0600.0800.061
C-III0.3550.0260.3420.0310.0910.0600.0810.061
C-IV0.3550.0260.3420.0310.0890.0590.0780.060
C-V0.3520.0250.3440.0280.0780.0550.0700.054
Table 3. The acceptance rates for α , β , θ 1 and θ 2 .
Table 3. The acceptance rates for α , β , θ 1 and θ 2 .
α β θ 1 θ 2
C-I0.9250.9510.7890.584
C-II0.9370.9500.7900.596
C-III0.9360.9510.7940.605
C-IV0.9430.9480.7900.605
C-V0.9640.8700.7710.638
Table 4. The sample proportions of the MLEs of θ ^ 1 > 0 and θ ^ 2 > 0 based on 10,000 runs.
Table 4. The sample proportions of the MLEs of θ ^ 1 > 0 and θ ^ 2 > 0 based on 10,000 runs.
θ 1 = θ 2 = 0.05
n = 200 n = 300 n = 500 n = 800 n = 1000
θ ^ 1 0.7020.7520.7820.8370.860
θ ^ 2 0.6930.7510.7840.8420.863
θ 1 = θ 2 = 0.10
θ ^ 1 0.8480.8960.9400.9780.986
θ ^ 2 0.8400.8980.9400.9760.999
Table 5. The bias and MSEs of BEs for θ 1 = θ 2 = 0.05 .
Table 5. The bias and MSEs of BEs for θ 1 = θ 2 = 0.05 .
n θ ˜ 1 θ ˜ 2
BiasMSEBiasMSE
2000.05370.00490.05740.0058
3000.04090.00330.04400.0039
5000.02870.00210.02990.0023
8000.01940.00130.02000.0014
10000.01580.00110.01650.0012
Table 6. The bias and MSEs of BEs for θ 1 = θ 2 = 0.10 .
Table 6. The bias and MSEs of BEs for θ 1 = θ 2 = 0.10 .
n θ ˜ 1 θ ˜ 2
BiasMSEBiasMSE
2000.03200.00430.03470.0047
3000.02220.00320.02380.0034
5000.01200.00220.01210.0022
8000.00690.00170.00610.0017
10000.00430.00150.00480.0015
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Xin, H.; Zhu, J.; Tsai, T.-R.; Hung, C.-Y. Hierarchical Bayesian Modeling and Randomized Response Method for Inferring the Sensitive-Nature Proportion. Mathematics 2021, 9, 2518. https://doi.org/10.3390/math9192518

AMA Style

Xin H, Zhu J, Tsai T-R, Hung C-Y. Hierarchical Bayesian Modeling and Randomized Response Method for Inferring the Sensitive-Nature Proportion. Mathematics. 2021; 9(19):2518. https://doi.org/10.3390/math9192518

Chicago/Turabian Style

Xin, Hua, Jianping Zhu, Tzong-Ru Tsai, and Chieh-Yi Hung. 2021. "Hierarchical Bayesian Modeling and Randomized Response Method for Inferring the Sensitive-Nature Proportion" Mathematics 9, no. 19: 2518. https://doi.org/10.3390/math9192518

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