typeIerror {Benchmarking}R Documentation

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

Details

Needs bootstrapped values of the test statistic

Value

Returns the probability of a type I error

Author(s)

Peter Bogetoft and Lars Otto larsot23@gmail.com

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

# Probability of getting something larger than 1.96 in 10000 random
# standard normal variates.
x <- rnorm(10000)
typeIerror(1.96,x)

[Package Benchmarking version 0.29 Index]