opt_size: Necessary size of the time-series dataset

View source: R/opt_size.R

opt_sizeR 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)

AFR documentation built on Nov. 2, 2023, 6:09 p.m.