MARSAdapted_object {boostingDEA}R Documentation

Create an MARSAdapted object

Description

This function saves information about the adapted Multivariate Adaptive Frontier Splines model.

Usage

MARSAdapted_object(
  data,
  x,
  y,
  rownames,
  nterms,
  Kp,
  d,
  err_red,
  minspan,
  endspan,
  na.rm,
  MARS.Forward,
  MARS.Forward.Smooth
)

Arguments

data

data.frame or matrix containing the variables in the model.

x

Column input indexes in data.

y

Column output indexes in data.

rownames

string. Data rownames.

nterms

Maximum number of terms created by the forward algorithm .

Kp

Maximum degree of interaction allowed. Default is 1.

d

Generalized Cross Validation (GCV) penalty per knot. Default is 2. If set to -1, GCV = RSS / n.

err_red

Minimum reduced error rate for the addition of two new basis functions. Default is 0.01.

minspan

Minimum number of observations between knots. When minspan = 0 (default), it is calculated as in Friedman's MARS paper section 3.8 with alpha = 0.05.

endspan

Minimum number of observations before the first and after the final knot. When endspan = 0 (default), it is calculated as in Friedman's MARS paper section 3.8 with alpha = 0.05.

na.rm

logical. If TRUE, NA rows are omitted.

MARS.Forward

The Multivariate Adaptive Frontier Splines model after applying the forward algorithm without the smoothing procedures

MARS.Forward.Smooth

The Multivariate Adaptive Frontier Splines model after applying the forward algorithm after applying the smoothing procedure

Value

A MARSAdapted object.


[Package boostingDEA version 0.1.0 Index]