CQERG1¶
- class pystoned.utils.CQERG1.CERG1(y, x, tau, cutactive, cet='addi', fun='prod', rts='vrs')[source]¶
initial Group-VC-added CER (CER+G) model
- __init__(y, x, tau, cutactive, cet='addi', fun='prod', rts='vrs')[source]¶
CER+G model
- Parameters:
y (float) – output variable.
x (float) – input variables.
tau (float) – expectile.
cutactive (float) – active concavity constraint.
cet (String, optional) – CET_ADDI (additive composite error term) or CET_MULT (multiplicative composite error term). Defaults to CET_ADDI.
fun (String, optional) – FUN_PROD (production frontier) or FUN_COST (cost frontier). Defaults to FUN_PROD.
rts (String, optional) – RTS_VRS (variable returns to scale) or RTS_CRS (constant returns to scale). Defaults to RTS_VRS.
- class pystoned.utils.CQERG1.CQRG1(y, x, tau, cutactive, cet='addi', fun='prod', rts='vrs')[source]¶
initial Group-VC-added CQR (CQR+G) model
- __init__(y, x, tau, cutactive, cet='addi', fun='prod', rts='vrs')[source]¶
CQR+G model
- Parameters:
y (float) – output variable.
x (float) – input variables.
tau (float) – quantile.
cutactive (float) – active concavity constraint.
cet (String, optional) – CET_ADDI (additive composite error term) or CET_MULT (multiplicative composite error term). Defaults to CET_ADDI.
fun (String, optional) – FUN_PROD (production frontier) or FUN_COST (cost frontier). Defaults to FUN_PROD.
rts (String, optional) – RTS_VRS (variable returns to scale) or RTS_CRS (constant returns to scale). Defaults to RTS_VRS.
- optimize(email='local', solver=None)[source]¶
Optimize the function by requested method
- Parameters:
email (string) – The email address for remote optimization. It will optimize locally if OPT_LOCAL is given.
solver (string) – The solver chosen for optimization. It will optimize with default solver if OPT_DEFAULT is given.