bootstrap_gof_test: Compute the Bootstrapped GoF Test

View source: R/RcppExports.R

bootstrap_gof_testR Documentation

Compute the Bootstrapped GoF Test

Description

Handles the bootstrap computation and the bootstrapped p-value.

Usage

bootstrap_gof_test(obj_value, bs_obj_values, alpha, bs_gof_p_ci)

Arguments

obj_value

A double that contains the optimized objective function value.

bs_obj_values

A vec that contains the objective function values under bootstrap.

alpha

A double that indicates the confidence.

bs_gof_p_ci

A bool that indicates whether CIs should be included or not.

Value

A vec that has

  • Test Statistic

  • Low CI

  • Upper CI - BS


simts documentation built on Aug. 31, 2023, 5:07 p.m.