crit.values: bootstrap critical value of statistic

Description Usage Arguments Value Examples

View source: R/resampling.R

Description

bootstrap critical value of statistic

Usage

1
2
3
4
5
6
7
8
crit.values(
  samplesize,
  statistic,
  tuning = NULL,
  k_estimator,
  boot.param = 500,
  alpha = 0.05
)

Arguments

samplesize

number of observations in the sample

statistic

test statistic to be used

tuning

tuning parameter used for the test statistic (NULL stands for no tuning parameter needed)

k_estimator

value of the estimated shape parameter

boot.param

number of bootstrap iterations

alpha

significance level of the test

Value

returns the critical value for the goodness-of-fit test using the statistic.

Examples

1
crit.values(samplesize=20,statistic=HME1,tuning=1,k_estimator=2,boot.param=100,alpha=0.05)

gofgamma documentation built on April 29, 2020, 5:07 p.m.