Learn R Programming

Benchmarking (version 0.33)

critValue: Critical values from bootstrapped DEA models

Description

Calculates critical value for test using bootstrap output in DEA models

Usage

critValue(s, alpha=0.05)

Value

Returns the critical value

Arguments

s

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

alpha

The size of the test

Author

Peter Bogetoft and Lars Otto larsot23@gmail.com

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
# The critical value for two-sided test in normal distribution found
# by simulation.
x <- rnorm(1000000)
critValue(x,.975)

Run the code above in your browser using DataLab