Nothing
source("_code_for_all_.R")
# population data only ----------------------------------------------------------------
expect_equal(
nonprob(
outcome = single_shift~region + private + nace + size,
pop_totals = pop_totals,
method_outcome = "glm",
data = admin)$output,
structure(list(mean = 0.703858701257595, SE = 0.00497911011639041),
row.names = "single_shift", class = "data.frame")
)
## to verification as the SE is very small on comparison to the gaussian
expect_equal(
nonprob(
outcome = single_shift~region + private + nace + size,
pop_totals = pop_totals,
method_outcome = "glm",
family_outcome = "binomial",
data = admin)$output,
structure(list(mean = 0.757503252931428, SE = 7.86513028903337e-18),
row.names = "single_shift", class = "data.frame")
)
# unit-level data ---------------------------------------------------------
expect_equal(
nonprob(
outcome = single_shift~region + private + nace + size,
svydesign = jvs_svy,
data = admin)$output$mean,
0.7038587
)
expect_equal(
nonprob(
outcome = single_shift~region + private + nace + size,
svydesign = jvs_svy,
data = admin)$output$mean,
0.7038587
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.