Description Usage Arguments Details Value Author(s) See Also

Generates a list of regression formulae or numeric vectors for time series. Each element of the list is either a formula for which a regression model, or a tsm object for a time series model.

1 | ```
make.Model.List.Reg(fram, max.Size = min(8, dim(fram)[2]), no.Intercepts = FALSE, GLM = FALSE)
``` |

`fram` |
data.frame of covariates. |

`max.Size` |
The maximum number of terms to be included in the model. |

`no.Intercepts` |
Logical indicating whether or not to include model formulae with a " + 0" at the end. By default, these will not be included, so all models will implicitly include an intercept term unless otherwise specified. |

`GLM` |
Logical indicating whether the formulas are to be interpreted as specifying an lm (FALSE) or a glm (TRUE) type of model. |

The function will generate all possible model formulae with LHS equal to a dummy variable y, and the RHS given by all possible subsets of the column names of var.Frame, subject to the restriction that all subsets are no larger than max.Size. For time series, max.Size is a vector of length 6, specifying the maximum of each of the 6 components (AR, I, MA, SAR, SI, SMA) to generate.

A list of either model formulae or numeric vectors.

Andrew K. Smith

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.