Learn R Programming

FARS (version 0.8.0)

AIC.fars: AIC for a fars Object

Description

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

Usage

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

Value

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

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().

Examples

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

Run the code above in your browser using DataLab