post.bs: Auxiliary function for the post-bootstrap procedure

View source: R/misc.R

post.bsR Documentation

Auxiliary function for the post-bootstrap procedure

Description

This function is used after the bootstrap replications to extract the relevant and updated information.

Usage

post.bs(
  test.return,
  i0,
  i1,
  R.eval,
  T.list = NULL,
  beta.list = NULL,
  error.list = NULL,
  list.param = NULL,
  error.param = NULL,
  ub.list = NULL,
  lb.list = NULL
)

Arguments

test.return

The list of information returned from the test function.

i0

The starting index to be evaluated.

i1

The last index to be evaluated.

R.eval

The number of bootstrap replications that has been evaluated.

T.list

The list of bootstrap test statistics.

beta.list

The list of the bootstrap replications of the beta.obs component.

error.list

The list of error messages.

list.param

The list of parameters (if applicable).

error.param

The list of parameters that lead to errors (if applicable).

ub.list

The list of upper bounds (if applicable).

lb.list

The list of lower bounds (if applicable).

Value

Returns the following three objects.

R.succ

The number of successful bootstrap replications.

R.eval

The number of bootstrap replications that has been evaluated.

T.list

The list of test statistics.

beta.list

The list of the bootstrap replications of the beta.obs component.

error.list

The list of error messages (if applicable).

error.param

The list of parameters that lead to errors (if applicable).

ub.list

The list of upper messages (if applicable).

lb.list

The list of lower messages (if applicable).


conroylau/lpinfer documentation built on Oct. 23, 2022, 9:21 a.m.