Learn R Programming

pompom

R package to perform time-series analysis and guage the temporal influence from one variable to another.

We created an R package named "pompom" (pompom is the initials of person-oriented modeling and perturbation on the model), and we will use the functions in "pompom" to compute iRAM (impulse response analysis metric) in this pacakge.

iRAM is built upon a hybrid method that combines intraindividual variability methods and network analysis methods in order to model individuals as high-dimensional dynamic systems. This hybrid method is designed and tested to quantify the extent of interaction in a high-dimensional multivariate system, and applicable on experience sampling data.

Copy Link

Version

Install

install.packages('pompom')

Monthly Downloads

164

Version

0.2.1

License

GPL-2

Maintainer

Xiao Yang

Last Published

February 15th, 2021

Functions in pompom (0.2.1)

bootstrap_iRAM_3node

Bootstrapped iRAM (including replications of iRAM and corresponding time profiles) for the 3-variate time-series (simts)
plot_iRAM_dist

Plot distribution of recovery time based on bootstrapped version of iRAM
true_beta_2node

The true beta matrix (4 by 4) used in simulation.
true_beta_3node

The true beta matrix (6 by 6) used in simulation.
plot_time_profile

Plot time profiles given a time-series generated by impulse response analysis
plot_integrated_time_profile

Plot the time profiles in the integrated form
usemmodelfit

Model fitbased on similated time-series by uSEM.
uSEM

Fit a multivariate time series with uSEM (unified Structural Equation Model).
parse_beta

Parse the beta from model fit object
iRAM_equilibrium

Generate iRAM (impulse response anlaysis metric) in the equilibrium form.
model_summary

Provide model summary.
bootstrap_iRAM_2node

Bootstrapped iRAM (including replications of iRAM and corresponding time profiles) for the bivariate time-series (simts2node)
iRAM

Generate iRAM (impulse response anlaysis metric) from model fit.
plot_network_graph

Plot the network graph
simts_3node

Simulated 3-variate time-series data
simts_2node

Simulated bivariate time-series data