Test a BSTS_Model - Highest Function level from bstsTest package
1 2 3 4 |
df |
Dataframe |
validate_n |
N Rows of the df will be used for cross valdiation |
date_variable |
Name of date variable column - will not accept lazy |
response |
Response variable name - will not accept lazy |
na_fill |
- Fill for NA rows - defaults to 0 |
nseasons |
- Seasonality of data - defaults to 7 - also takes "auto" to detect seasons automatically |
trend_type |
- If using auto for nseasons, specify what type of seasonality exists [multiplicative/additive] |
data_frequency |
- If using auto for nseasons, specify the frequency of the data. |
niter |
- Iterations to run BSTS |
target_variable |
- Name of target variable column |
group_variable |
- Name of column to group by |
model.options |
- Any extra BSTS Options to add in using BstsOptions() |
rebag_vars |
- T/F - Sum all variables into a new predictor. |
rebag_mean_vars |
- T/F Take the mean of all variables into a new prediction. |
inclusion_probability |
Floor for including variables in output - doesn't affect model right now. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.