
Level estimate for a single panel wave, with its replicate variance
Source:R/variance-panel.R
level_estimate.RdEstimates a statistic in ONE wave of a wave_bootstrap() or wave_jackknife() object,
with the variance from that wave's replicates. Lets you report a level and a change from
the same coordinated object.
Arguments
- wb
a
weightflow_wave_bootorweightflow_wave_jack.- statistic
a function
function(w, data)returning one number.- wave
optional wave label (defaults to the first).
- level
confidence level for the normal interval.
- ci_type
"normal"(default, z) or"t"(Student t withdfdf).- df
degrees of freedom for the
"t"interval;NULLuses the object's design df.- variable
name of a numeric variable in the wave's data.
See also
change_estimate(), level_mean(), level_total()