boot_pb_vm: Parametric Bootstrap VM

Description Usage Arguments Value Author(s) See Also

View source: R/boot.R

Description

Generates B number of parametric bootstrap resamples from the original sample data using gendat_vm.

Usage

1
boot_pb_vm(n, Sigma_dot, skew, kurt, rescale = TRUE, mu, sigma2, B = 2000)

Arguments

n

Sample size.

Sigma_dot

p \times p correlation matrix (\dot{Σ}).

skew

Skewness vector. If a single value is given, the function assumes that the p elements in the vector will have the same skewness.

kurt

Kurtosis vector. If a single value is given, the function assumes that the p elements in the vector will have the same kurtosis.

rescale

Logical. Rescale the data using means mu (μ) and variances sigma2 (σ^2) provided. Note that the actual means and variances that the final data set will have are drawn randomly from a normal distrbution using mu and sigma2 as parameters.

mu

Vector of means corresponding to each element of Sigma_dot (\dot{Σ}) that will be used as population means when rescale is TRUE. If a single value is given, the function assumes that the p elements in the vector will have the same mu.

sigma2

Vector of variances corresponding to each element of Sigma_dot (\dot{Σ}) that will be used as population variances when rescale is TRUE. If a single value is given, the function assumes that the p elements in the vector will have the same sigma2.

B

Number of bootstrap resamples.

Value

Returns a list of parametric bootstrap resamples.

Author(s)

Ivan Jacob Agaloos Pesigan

See Also

Other bootstrap functions: boot_fit(), boot_lav(), boot_nb(), boot_pb_med_simple(), boot_pb()


jeksterslabds/jeksterslabRds documentation built on July 16, 2020, 3:41 p.m.