Learn R Programming

AFR (version 0.3.6)

opt_size: 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

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

Run the code above in your browser using DataLab