This function executes the extrapolation step of the simulation extrapolation deconvolution method (Stefanski and Bay, 1996). The function can accomodate single-stage and two-stage samples.
simex(z, val, sigma, var.sigma, cluster.ind, cluster)
Vector of the response value for each site.
Vector of the set of values at which the CDF is estimated.
Measurement error variance.
Variance of the estimated measurement error variance.
Logical value that indicates whether the survey design utilizes two stages.
Vector of the stage one sampling unit (primary sampling unit or cluster) code for each site.
Output is a list containing the following matrices:
values of the function g(.) evaluated at val for each value of z
values of the derivative of the function g(.)