This code package is for the Corrected-Fisher-Randomization (CFR) method. This method generates random surrogate data that preserves a specified set of first and second order marginal moments of a data tensor, which makes it well equipped to test for the null hypothesis that a structure in data is an epiphenomenon of these specified set of prima…
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
genCFR
test
util
README.md
demo.m
startup.m

README.md

CFR

==================================================================== Gamaleldin F. Elsayed, Columbia University

John P. Cunningham, Columbia University

Copyright (C) 2017 Gamaleldin F. Elsayed and John P. Cunningham

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

====================================================================

==================================================================== Basic Usage Example

Follow the demo.m file

====================================================================

==================================================================== CFR

This code package is for the Corrected-Fisher-Randomization (CFR) method. This method generates random surrogate data that preserves a specified set of first and second order marginal moments of a data tensor, which makes it well equipped to be used to test for the null hypothesis that a structure in data is an epiphenomenon of these specified set of primary features of the data tensor. The randomization procedure used in CFR is based on Fisher randomization (shuffling). However, the shuffling is accompanied by a correction step that retains the primary features specified in the null hypothesis. Hence, the name of this method.

====================================================================

====================================================================

====================================================================

The BibTeX citations for the primary papers used in this project are:

@article{elsayed, title={Structure in neural population recordings: an expected byproduct of simpler phenomena?}, author={Gamaleldin Elsayed}, journal={Nature Neuroscience}, volume={}, year={} }

====================================================================