MangatSinghSinghUB {RRTCS}R Documentation

Mangat-Singh-Singh-UB model

Description

Computes the randomized response estimation, its variance estimation and its confidence interval through the Mangat-Singh-Singh model (Mangat el al., 1992) when the proportion of people bearing the innocuous attribute is unknown. The function can also return the transformed variable. The Mangat-Singh-Singh-UB model can be seen in Chauduri (2011, page 54).

Usage

MangatSinghSinghUB(I,J,p1,p2,pi,type=c("total","mean"),cl,N=NULL,pij=NULL)

Arguments

I

first vector of the observed variable; its length is equal to nn (the sample size)

J

second vector of the observed variable; its length is equal to nn (the sample size)

p1

proportion of marked cards with the sensitive attribute in the first box

p2

proportion of marked cards with the sensitive attribute in the second box

pi

vector of the first-order inclusion probabilities

type

the estimator type: total or mean

cl

confidence level

N

size of the population. By default it is NULL

pij

matrix of the second-order inclusion probabilities. By default it is NULL

Details

A person labelled ii who is chosen, is instructed to say "yes" if he/she bears AA, and if not, to randomly take a card from a box containing cards marked A,BA,B in proportions p1p_1 and (1p1),(0<p1<1)(1-p_1),(0<p_1<1); they are then told to report the value xix_i if a BB-type card is chosen and he/she bears BB; otherwise he/she is told to report "No". This entire exercise is to be repeated independently with the second box with AA and BB-marked cards in proportions p2p_2 and (1p2),(0<p2<1,p2p1)(1-p_2),(0<p_2<1,p_2\neq p_1). Let IiI_i the first response and JiJ_i the second response for the respondent ii.

The transformed variable is ri=(1p2)Ii(1p1)Jip1p2r_i=\frac{(1-p_2)I_i-(1-p_1)J_i}{p_1-p_2} and the estimated variance is V^R(ri)=ri(ri1)\widehat{V}_R(r_i)=r_i(r_i-1).

Value

Point and confidence estimates of the sensitive characteristics using the Mangat-Singh-Singh-UB model. The transformed variable is also reported, if required.

References

Chaudhuri, A. (2011). Randomized response and indirect questioning techniques in surveys. Boca Raton: Chapman and Hall, CRC Press.

Mangat, N.S., Singh, R., Singh, S. (1992). An improved unrelated question randomized response strategy. Calcutta Statistical Association Bulletin, 42, 277-281.

See Also

MangatSinghSinghUBData

MangatSinghSingh

ResamplingVariance

Examples

N=802
data(MangatSinghSinghUBData)
dat=with(MangatSinghSinghUBData,data.frame(I,J,Pi))
p1=0.6
p2=0.8
cl=0.95
MangatSinghSinghUB(dat$I,dat$J,p1,p2,dat$Pi,"mean",cl,N)

[Package RRTCS version 0.0.4 Index]