Achieved precision for a two-phase design you already have, the inverse
of n_twophase().
Usage
prec_twophase(frame, ...)
# Default S3 method
prec_twophase(
frame,
...,
n_phase1,
phase1_cost = 1,
between = NULL,
mu = NULL,
N = Inf,
phase1_deff = 1,
resp_rate = 1,
fixed_cost = 0,
plan = NULL
)
# S3 method for class 'svyplan_twophase'
prec_twophase(frame, ...)Arguments
- frame
For the default method: the phase-2 stratum frame described in
n_twophase(), with an extranucolumn giving the subsampling fraction actually used in each stratum. Forsvyplan_twophaseobjects: a result fromn_twophase().- ...
Additional arguments passed to methods. Unused arguments are rejected.
- n_phase1
Phase-1 sample size, counted as units issued.
nuis a share of that same base, so with phase-1 nonresponse the largest usablenuisresp_raterather than 1.- phase1_cost, between, mu, N, phase1_deff, resp_rate, fixed_cost, plan
As in
n_twophase(). The per-stratum phase-2 design effect and response rate travel in the frame'sdeffandresp_ratecolumns, as they do there.
Value
A svyplan_prec object with type = "twophase", carrying
$se, $moe (NA, since a two-phase plan is specified by a cv
rather than a half-width), $cv, and the per-stratum table in
$detail.
See also
n_twophase() for the inverse.
Other precision functions:
prec_alloc(),
prec_change(),
prec_cluster(),
prec_mean(),
prec_multi(),
prec_multi_cluster(),
prec_panel(),
prec_pooled(),
prec_prop()