| MARSAdapted {boostingDEA} | R Documentation | 
Adapted Multivariate Adaptive Frontier Splines
Description
Create an adapted version of Multivariate Adaptive Regression Splines (MARS) model to estimate a production frontier satisfying some classical production theory axioms, such as monotonicity and concavity.
Usage
MARSAdapted(
  data,
  x,
  y,
  nterms,
  Kp = 1,
  d = 2,
  err_red = 0.01,
  minspan = 0,
  endspan = 0,
  linpreds = FALSE,
  na.rm = TRUE
)
Arguments
data | 
 
  | 
x | 
 Column input indexes in   | 
y | 
 Column output indexes in   | 
nterms | 
 Maximum number of reflected pairs created by the forward algorithm of MARS.  | 
Kp | 
 Maximum degree of interaction allowed. Default is   | 
d | 
 Generalized Cross Validation (GCV) penalty per knot. Default is
  | 
err_red | 
 Minimum reduced error rate for the addition of two new basis
functions. Default is   | 
minspan | 
 Minimum number of observations between knots. When
  | 
endspan | 
 Minimum number of observations before the first and after the
final knot. When   | 
linpreds | 
 
  | 
na.rm | 
 
  | 
Value
An AdaptedMARS object.