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 nn (the sample size)

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 tt and (1t),(0<t<1)(1-t),(0<t<1). A person drawing a "True" marked card is asked to tell the truth about bearing AA or AcA^c. 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 AA and BB in proportions pp and (1p)(1-p). If an AA marked card is now drawn the truthful response will be about bearing the sensitive attribute AA and otherwise about BB. The true proportion of people bearing AA is to be estimated but α\alpha, the proportion of people bearing the innocuous trait BB unrelated to AA, is assumed to be known. The observed variable is

zi={yiif a card marked "True" is drawn from the first boxIiif a card marked "RR" is drawnz_i=\left \{\begin{array}{lcc} y_i & \textrm{if a card marked "True" is drawn from the first box}\\ I_i & \textrm{if a card marked "RR" is drawn} \end{array} \right .

where

Ii={1if the type of card drawn from the second box matches trait A or B0if the type of card drawn from the second box does not match trait A or B.I_i=\left \{\begin{array}{lcc} 1 & \textrm{if the type of card drawn from the second box matches trait } A \textrm{ or } B\\ 0 & \textrm{if the type of card drawn from the second box does not match trait } A \textrm{ or } B. \end{array} \right .

The transformed variable is ri=zi(1t)(1p)αt+(1t)pr_i=\frac{z_i-(1-t)(1-p)\alpha}{t+(1-t)p} 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 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.

See Also

MangatUB

ResamplingVariance


[Package RRTCS version 0.0.4 Index]