res_gen: CI Result Generation for Multiple Methods

Description Usage Arguments Details Value Examples

View source: R/Diagnostics.R

Description

Generates half-length and coverage results for multiple methods.

Usage

1
res_gen(methods, spec_list, min_mu2)

Arguments

methods

a vector of method names to use; currently support c("Df", "Sp", "Norm", "ebci", "hybr").

spec_list

a list object created by set_spec.

min_mu2

the cut-off point for ebci method

Details

This function was created for the purpose of simulations.

Value

a vector of half-length and coverage results

Examples

1
2
3
spec_list <- OptACI::set_spec(1, "unif", 100)
methods <- c("Df", "Sp", "Norm", "ebci", "hybr")
res_gen(methods, spec_list, 0.03)

koohyun-kwon/OptACI documentation built on Oct. 6, 2020, 8:09 a.m.