Learn R Programming

NetworkToolbox (version 1.1.1)

neuralcorrtest: Neural-Behavioral Correlation Test

Description

Correlational test for global or local network characteristics of neural network data with behavioral data (still in testing phase)

Usage

neuralcorrtest(bstat, nstat)

Arguments

bstat

Behavioral statistic for each participant with neural data

nstat

A statistic vector (whole-network) or matrix (ROI) from the neuralstat function

Value

Returns correlation test statistics for given statistics

References

Ly, A., Verhagen, A. J., & Wagenmakers, E.-J. (2016). Harold Jeffreys's default Bayes factor hypothesis tests: Explanation, extension, and application in psychology. Journal of Mathematical Psychology, 72, 19-32.

Wagenmakers, E. J., Verhagen, J., & Ly, A. (2016). How to quantify the evidence for the absence of a correlation. Behavior Research Methods, 48(2), 413-426.

Examples

Run this code
# NOT RUN {
neuralarray <- convertConnBrainMat()

filteredneuralarray <- neuralnetfilter(neuralarray, method = "threshold", thres = .50)

AverageShortestPathLength <- neuralstat(filteredneuralarray, statistic = "ASPL")

Degree <- neuralstat(filteredneuralarray, statistic = "deg")

bstat <- iq

WholeNetwork_corr <- neuralcorrtest(bstat, AverageShortestPathLength)

ROI_corr <- neuralcorrtest(bstat, Degree)
# }

Run the code above in your browser using DataLab