Mangat {RRTCS} | R Documentation |
Mangat model
Description
Computes the randomized response estimation, its variance estimation and its confidence interval through the Mangat model. The function can also return the transformed variable. The Mangat model was proposed by Mangat in 1992.
Usage
Mangat(z,p,alpha,t,pi,type=c("total","mean"),cl,N=NULL,pij=NULL)
Arguments
z |
vector of the observed variable; its length is equal to |
p |
proportion of marked cards with the sensitive attribute in the second box |
alpha |
proportion of people with the innocuous attribute |
t |
proportion of marked cards with "True" in the first 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
In Mangat's method, there are two boxes, the first containing cards marked "True" and "RR" in proportions and
. A person drawing a
"True" marked card is asked to tell the truth about bearing
or
. A person drawing and “RR” marked card is then asked to apply Horvitz’s device
by drawing a card from a second box with cards marked
and
in proportions
and
. If an
marked card is now drawn the
truthful response will be about bearing the sensitive attribute
and otherwise about
. The true proportion of people bearing
is to be
estimated but
, the proportion of people bearing the innocuous trait
unrelated to
, is assumed to be known. The observed variable is
where
The transformed variable is and the estimated variance is
.
Value
Point and confidence estimates of the sensitive characteristics using the Mangat model. The transformed variable is also reported, if required.
References
Mangat, N.S. (1992). Two stage randomized response sampling procedure using unrelated question. Journal of the Indian Society of Agricultural Statistics, 44, 82-87.