Extra Functions

ExtraFunctions skfore

skfore.extras.add_next_date(ts, value)[source]

Assigns a value to the next date in a series

Args:

ts: Time series to which the value will be added value: Value to add

skfore.extras.aic(k, error)[source]

Akaike Information Criteria

skfore.extras.bic(n, k, error)[source]

Bayesian Information Criteria

skfore.extras.get_frequency(ts)[source]

Find a series’ frequency integer

>>> ts = pandas.Series.from_csv('../datasets/champagne_short.csv', index_col = 0, header = 0)
>>> int_frq = get_frequency(ts)
>>> int_frq
12