typeIerror {Benchmarking} | R Documentation |
Calculates the probability of a type I error for a test in bootstrapped DEA models.
typeIerror(shat,s)
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 |
Needs bootstrapped values of the test statistic
Returns the probability of a type I error
Peter Bogetoft and Lars Otto larsot23@gmail.com
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
# Probability of getting something larger than 1.96 in 10000 random # standard normal variates. x <- rnorm(10000) typeIerror(1.96,x)