Time Series Methods Based on Growth Curves


[Up] [Top]

Documentation for package ‘tsgc’ version 0.0

Help Pages

argmax Return index and value of maximum
df2ldl Compute log growth rate of cumulated dataset
england Cumulative cases of Covid-19 in England.
FilterResults FilterResults
FilterResults-class FilterResults
forecast.peak Returns forecast of number of periods until peak given estimated state variables delta and gamma.
forecast_peak Returns forecast of number of periods until peak given 'KFAS::KFS' output.
gauteng Cumulative cases of Covid-19 in the South African province of Gauteng.
plot_forecast Plots forecast and realised values of the log cumulative growth rate
plot_gy_ci Plots the growth rates and slope of the log cumulative growth rate
plot_gy_components Plots the growth rates and slope of the log cumulative growth rate
plot_holdout Plots the forecast of new cases (the difference of the cumulated variable) over a holdout sample.
plot_new_cases Plots the forecast of new cases (the difference of the cumulated variable)
reinitialise_dataframe Reinitialise a data frame by subtracting the 'reinit.date' row from all columns
SSModelBase Base class for estimating time-series growth curve models. Classes 'SSModelDynamicGompertz' and 'SSModelDynGompertzReinit' refer back to this base class.
SSModelBase-class Base class for estimating time-series growth curve models. Classes 'SSModelDynamicGompertz' and 'SSModelDynGompertzReinit' refer back to this base class.
SSModelDynamicGompertz Class for dynamic Gompertz curve state space model object.
SSModelDynamicGompertz-class Class for dynamic Gompertz curve state space model object.
SSModelDynGompertzReinit Class for re-initialised dynamic Gompertz curve model
SSModelDynGompertzReinit-class Class for re-initialised dynamic Gompertz curve model
write_results Write a selection of relevant results to disc