Description Usage Arguments Value Examples

This function performs PCA-test for testing the equality of connectivity in two fMRI signals

1 |

`subY1` |
a sample of size length*dim |

`subY2` |
a sample of size length*dim |

`L` |
the number of factors |

`nlag` |
is the number of ACF lag to be used in the test, default is 2, Default is nlag = floor(N^(1/3)) |

`diagTF` |
include diagonal term of covariance matrix or not |

**tstat** Test statistic

**pval** Returns the p-value

**df** The degree of freedom in PCA-best test

**L** The number of factors used in the test

**diagTF** If true, the diagonal entry of covarianc matrix is used in testing

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.