This function returns a descriptive summary statistics table for each output variable calculated from the leaf nodes observations of an Efficiency Analysis Trees model. Specifically, it computes the number of observations, the proportion of observations, the mean, the variance, the standard deviation, the minimum, the first quartile, the median, the third quartile, the maximum and the root mean squared error.
EAT_leaf_stats(object)
A list
or a data.frame
(for 1 output scenario) with the following summary statistics:
N
: number of observations.
Proportion
: proportion of observations.
mean
: mean.
var
: variance.
sd
: standard deviation.
min
: minimun.
Q1
: first quartile.
median
: median.
Q3
: third quartile.
max
: maximum.
RMSE
: root mean squared error.
An EAT
object.
simulated <- Y1.sim(N = 50, nX = 3)
EAT_model <- EAT(data = simulated, x = c(1, 2, 3), y = 4, numStop = 10, fold = 5)
EAT_leaf_stats(EAT_model)
Run the code above in your browser using DataLab