regressAR | R Documentation |
Need to fill in description data
regressAR(
vec,
x = NULL,
output_type = "max",
wsize = 14,
method = c("equal", "unweighted", "triangle"),
pdays = 28,
nsim = 100,
skip = 0,
seed = NULL,
regression_weights = NULL,
rhat_method = c("none", "geometric", "arithmetic"),
debug = FALSE
)
vec |
A vector of numeric data, will also be include as a default predictor |
x |
A data frame containing covariates with which to generate predictive model, if unspecified, defaults to vec |
output_type |
A string indicating which outcome measure should be predicted. Must be one of Min, FirstQu, Median, Mean, ThirdQu, or Max |
wsize |
Number of prior observations to use for averaging, default is 14 |
method |
Type of weighting to use in individual prediction models, default is equal |
pdays |
Number of days into the future to make predictions, default is 28 |
nsim |
Number of simulations, default is 100 |
skip |
Number of input values to skip, default is 0 |
seed |
Seed for random number generator |
regression_weights |
An array specifying regression weights. Currently not implemented |
rhat_method |
Method for calculating rhat, if "none", rhat = 1 and has no effect |
debug |
TRUE returns buildAR objects in addition to standard output |
A list containing the specified output statistics for each sim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.