Learn R Programming

Benchmarking (version 0.27)

typeIerror: Probability of type I error for test in a bootstrap DEA model

Description

Calculates the probability of a type I error for a test in bootstrapped DEA models.

Usage

typeIerror(shat,s)

Arguments

shat

The value of the statistic for which the probability of a type I error is to be calculated

s

Vector with calculated values of the statistic for each of the NREP bootstraps; NREP is from dea.boot

Value

Returns the probability of a type I error

Details

Needs bootstrapped values of the test statistic

See Also

boot.sw98 in FEAR, Paul W. Wilson (2008), “FEAR 1.0: A Software Package for Frontier Efficiency Analysis with R,” Socio-Economic Planning Sciences 42, 247--254

Examples

Run this code
# NOT RUN {
# Probability of getting something larger than 1.96 in 10000 random
# standard normal variates.
x <- rnorm(10000)
typeIerror(1.96,x)
# }

Run the code above in your browser using DataLab