Learn R Programming

bootGOF (version 0.1.0)

GOF_sim_wild_rademacher: Implements the "interface" GOF_model_simulator in a semi-parametric fashion

Description

This is a model agnostic resampling class, where Rademacher random variables are used to add or substract the residuals from the fitted values.

Arguments

Methods

Public methods

Method new()

Usage

GOF_sim_wild_rademacher$new(gof_model_info_extractor)

Arguments

gof_model_info_extractor

the info extractor that is used to derive the residuals and fitted values for resampling.

Method resample_y()

a wild bootstrap using Rademacher random variables to resample the dependent variable

Usage

GOF_sim_wild_rademacher$resample_y(model)

Arguments

model

see GOF_model_simulator

Returns

see GOF_model_simulator

Method clone()

The objects of this class are cloneable with this method.

Usage

GOF_sim_wild_rademacher$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.