SAE: Function to calculate SAE

View source: R/auxiliary_functions.R

SAER Documentation

Function to calculate SAE

Description

Function to calculate SAE (Sum of Absolute Errors) of the adjusted model.

Usage

SAE(model)

Arguments

model

A linear model L1 fitted with the rq function from the quantreg package.

Value

SAE (Sum of Absolute Errors).

Examples

data(stackloss)
model_L1 = regL1(stack.loss ~ stack.x)
SAE(model_L1)


diagL1 documentation built on May 29, 2024, 10:56 a.m.

Related to SAE in diagL1...