opt_size {AFR}R Documentation

Necessary size of the time-series dataset

Description

Estimates number of models generated from given number of regressors X

Usage

opt_size(model)

Arguments

model

is a linear regression model a class lm.

Examples

data(macroKZ)
model <- lm(real_gdp ~ imp + exp + poil + eurkzt + tonia_rate, data = macroKZ)
opt_size(model)

[Package AFR version 0.3.5 Index]