SAE {diagL1}R 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)


[Package diagL1 version 1.0.0 Index]