beta.bs: Evaluate the bootstrap betas

View source: R/subsample.R

beta.bsR Documentation

Evaluate the bootstrap betas

Description

This function computes the bootstrap estimates of β_{\rm obs}.

Usage

beta.bs(data, lpmodel, seed.list, df.error)

Arguments

data

An data frame or a matrix.

lpmodel

An lpmodel object.

seed.list

The list of RNG states and the corresponding iterations.

df.error

A table showing the id of the bootstrap replication(s) with error(s) and the corresponding error message(s).

Value

Returns the following objects:

beta.obs.bs

The bootstrap estimates of β_{\rm obs}.

df.error

A table showing the id of the bootstrap replication(s) with error(s) and the corresponding error message(s).

error.id

The list of problematic IDs.

R.eval

The number of bootstrap replications that have been conducted.

R.succ

The number of successful bootstrap replications.


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