AIC.fars: AIC for a 'fars' Object

View source: R/fars_methods.R

AIC.farsR Documentation

AIC for a fars Object

Description

Computes AIC values for each quantile regression stored in a fars object.

Usage

## S3 method for class 'fars'
AIC(object, ..., k = 2)

Arguments

object

An object of class fars.

...

Additional arguments passed to the underlying AIC() method.

k

Numeric. Penalty per parameter (default 2), as in stats::AIC().

Value

A named numeric vector of AIC values, one per quantile level.

Examples

fars_result <- compute_fars(dep_variable = rnorm(100),
                            factors = matrix(rnorm(100 * 3), ncol = 3))
AIC(fars_result)

FARS documentation built on Feb. 17, 2026, 5:06 p.m.