prepareData {GIMMEgVAR}R Documentation

PREPARE DATA FOR FITTING 'GIMMEgVAR'

Description

Reads in results data from fitting 'graphicalVAR' and creates the logical matrices for kappa and beta needed to fit 'GIMMEgVAR'. The logical matrices determine which paths will not be regularized in the fitting of 'GIMMEgVAR' to determine the group level network model.

Usage

prepareData(gimmeGVARThreshold = 0.5, RES_matrixData, outputPath)

Arguments

gimmeGVARThreshold

The cutoff value for group-level paths. Defaults to .50, indicating that a path must be non-zero across >= .50 included as a group-level path.

RES_matrixData

List containing results of fitting individual 'graphicalVAR' to each individual.

outputPath

The user specified path to the directory where results files should be stored.

Details

The following results are returned in the gvarFiles directory: (1) Returns two data frames that hold the logical matrices for beta and kappa. These are named logicalBeta and logicalKappa

(2) Returns two data frames that indicate the proportion of paths across individuals. These are data frames containing the proportion of paths present across individuals after fitting 'graphicalVAR'. These proportions are used to determine potential group paths which will not be regularized for individuals when fitting the final 'GIMMEgVAR'. The output files are named proportionKappa.RData and proportionBeta.RData


[Package GIMMEgVAR version 0.1.0 Index]