nonparametric_resampling {robust2sls}R Documentation

Nonparametric resampling from a data frame

Description

Nonparametric resampling from a data frame

Usage

nonparametric_resampling(df, resample)

Arguments

df

Data frame containing observations to be sampled from.

resample

A vector of indices that extract the observations from the data frame.

Details

The input to the resample argument could for example be generated as one of the elements in the list generated by the command nonparametric.

The input to the df argument would be the original data frame for case resampling. For error/residual resampling, it would be a data frame containing the residuals from the model.

Value

nonparametric_resampling returns a data frame containing the observations of the resample.


[Package robust2sls version 0.2.2 Index]