simex: Internal Function: Extrapolation for Simulation-Extrapolation...

Description Usage Arguments Value Author(s)

View source: R/simex.R

Description

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.

Usage

1
simex(z, val, sigma, var.sigma, cluster.ind, cluster)

Arguments

z

Vector of the response value for each site.

val

Vector of the set of values at which the CDF is estimated.

sigma

Measurement error variance.

var.sigma

Variance of the estimated measurement error variance.

cluster.ind

Logical value that indicates whether the survey design utilizes two stages.

cluster

Vector of the stage one sampling unit (primary sampling unit or cluster) code for each site.

Value

Output is a list containing the following matrices:

g

values of the function g(.) evaluated at val for each value of z

dg

values of the derivative of the function g(.)

Author(s)

Tom Kincaid Kincaid.Tom@epa.gov


mhweber/spsurvey documentation built on Sept. 17, 2020, 4:24 a.m.