empalphacn: emperical alpha

Description Usage Arguments Value References See Also Examples

Description

Obtains the empirical level of the probability density function where: f(x) = 4x^3 when 0 < x < 1; and 0 otherwise.

Usage

1
empalphacn(nsims)

Arguments

nsims

an integer, the number of simulations that are to be run

Value

a list with empiricalalpha and error.

empiricalalpha is a numeric value that is the empirical alpha.

error is a neumeric value that is the calculated error

References

Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.

See Also

rcn for generating random contaminated normal deviates.

Examples

1
2
nsims <- 10
empalpha_error <- empalphacn(nsims)

austinragotzy/mathstat documentation built on May 13, 2019, 11:30 a.m.