tests/testthat/test-infer.R

context("infer")

source("test-main.R")
# 
# # ==============================================================================
# # Tests 
# # ==============================================================================

infer(res_single_linear_boot)

infer(res_single_linear_boot, .quantity = "mean")
infer(res_single_linear_boot, .quantity = "sd")
infer(res_single_linear_boot, .quantity = "bias")
infer(res_single_linear_boot, .quantity = "CI_standard_z")
infer(res_single_linear_boot, .quantity = "CI_standard_t")
infer(res_single_linear_boot, .quantity = "CI_percentile")
infer(res_single_linear_boot, .quantity = "CI_basic")
infer(res_single_linear_boot, .quantity = "CI_bc")
infer(res_single_linear_boot, .quantity = "CI_bca")

infer(res_single_2ndorder_boot, .quantity = "mean")
infer(res_single_2ndorder_boot, .quantity = "sd")
infer(res_single_2ndorder_boot, .quantity = "bias")
infer(res_single_2ndorder_boot, .quantity = "CI_standard_z")
infer(res_single_2ndorder_boot, .quantity = "CI_standard_t")
infer(res_single_2ndorder_boot, .quantity = "CI_percentile")
infer(res_single_2ndorder_boot, .quantity = "CI_basic")
infer(res_single_2ndorder_boot, .quantity = "CI_bc")
infer(res_single_2ndorder_boot, .quantity = "CI_bca")

Try the cSEM package in your browser

Any scripts or data that you put into this service are public.

cSEM documentation built on Nov. 25, 2022, 1:05 a.m.