50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

eat (version 0.1.4)

EAT_leaf_stats: Descriptive Summary Statistics Table for the Leaf Nodes of an Efficiency Analysis Trees model

Description

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.

Usage

EAT_leaf_stats(object)

Value

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.

Arguments

object

An EAT object.

Examples

Run this code
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