simulate_error: Simulate errors

Description Usage Arguments Value Author(s) References Examples

Description

Simulate errors which has the specified error density

Usage

1
simulate_error(samplesize, errordensity)

Arguments

samplesize

Sample size

errordensity

Type of error density

Value

A vector of simulated error, which follows the specific error density

Author(s)

Han Lin Shang

References

J. S. Marron and M. P. Wand (1992) ‘Exact Mean Integrated Squared Error’, Annals of Statistics, 20(2), 712-736.

Examples

1
simulate_error(samplesize = 100, errordensity = "normal")

bbefkr documentation built on May 2, 2019, 3:04 a.m.