Computes the randomized response estimation, its variance estimation and its confidence interval through the Singh-Joarder model. The function can also return the transformed variable. The Singh-Joarder model was proposed by Singh and Joarder in 1997.
SinghJoarder(z,p,pi,type=c("total","mean"),cl,N=NULL,pij=NULL)
vector of the observed variable; its length is equal to
proportion of marked cards with the sensitive question
vector of the first-order inclusion probabilities
the estimator type: total or mean
confidence level
size of the population. By default it is NULL
matrix of the second-order inclusion probabilities. By default it is NULL
Point and confidence estimates of the sensitive characteristics using the Singh-Joarder model. The transformed variable is also reported, if required.
The basics of the Singh-Joarder scheme are similar to Warner's randomized response device, with the following difference. If a person labelled
Singh, S., Joarder, A.H. (1997). Unknown repeated trials in randomized response sampling. Journal of the Indian Statistical Association, 30, 109-122.
# NOT RUN {
N=802
data(SinghJoarderData)
dat=with(SinghJoarderData,data.frame(z,Pi))
p=0.6
cl=0.95
SinghJoarder(dat$z,p,dat$Pi,"mean",cl,N)
# }
Run the code above in your browser using DataLab