Other packages > Find by keyword >

gma  

Granger Mediation Analysis
View on CRAN: Click here


Download and install gma package within the R console
Install from CRAN:
install.packages("gma")

Install from Github:
library("remotes")
install_github("cran/gma")

Install by package version:
library("remotes")
install_version("gma", "1.0")



Attach the package and use:
library("gma")
Maintained by
Yi Zhao
[Scholar Profile | Author Map]
First Published: 2017-09-19
Latest Update: 2017-09-19
Description:
Performs Granger mediation analysis (GMA) for time series. This package includes a single level GMA model and a two-level GMA model, for time series with hierarchically nested structure. The single level GMA model for the time series of a single participant performs the causal mediation analysis which integrates the structural equation modeling and the Granger causality frameworks. A vector autoregressive model of order p is employed to account for the spatiotemporal dependencies in the data. Meanwhile, the model introduces the unmeasured confounding effect through a nonzero correlation parameter. Under the two-level model, by leveraging the variabilities across participants, the parameters are identifiable and consistently estimated based on a full conditional likelihood or a two-stage method. See Zhao, Y., & Luo, X. (2017), Granger Mediation Analysis of Multiple Time Series with an Application to fMRI, for details.
How to cite:
Yi Zhao (2017). gma: Granger Mediation Analysis. R package version 1.0, https://cran.r-project.org/web/packages/gma. Accessed 08 May. 2025.
Previous versions and publish date:
No previous versions
Other packages that cited gma R package
View gma citation profile
Other R packages that gma depends, imports, suggests or enhances
Complete documentation for gma
Downloads during the last 30 days
04/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/0405/0505/0605/07Downloads for gma010203040506070TrendBars

Today's Hot Picks in Authors and Packages

MXM  
Feature Selection (Including Multiple Solutions) and Bayesian Networks
Many feature selection methods for a wide range of response variables, including minimal, statistica ...
Download / Learn more Package Citations See dependency  
MultiATSM  
Multicountry Term Structure of Interest Rates Models
Estimation routines for several classes of affine term structure of interest rates models. All the m ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
gms  
'GAMS' Modularization Support Package
A collection of tools to create, use and maintain modularized model code written in the modeling la ...
Download / Learn more Package Citations See dependency  
gaussDiff  
Difference measures for multivariate Gaussian probability density functions
A collection difference measures for multivariate Gaussian probability density functions, such as t ...
Download / Learn more Package Citations See dependency  
trajr  
Animal Trajectory Analysis
A toolbox to assist with statistical analysis of animal trajectories. It provides simple access to a ...
Download / Learn more Package Citations See dependency  

24,205

R Packages

207,311

Dependencies

65,312

Author Associations

24,206

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA