h_one: Comparing first CPC to one hypothetical eigenvector

Description Usage Arguments References Examples

Description

Tests whether to reject the null hypothesis that the CPC with the largest eigenvalue is similar to a hypothetical eigenvector, based on equation 3.4 (Flury, 1986). If comparing 2 or more eigenvectors, see the function h_many.

Usage

1
  h_one(matList, n, v)

Arguments

matList

list of matrices

n

numeric vector of sample sizes

v

eigenvector to be compared to

References

Flury B.N. Asymptotic theory for common principal component analysis. Annals Statist. 1986. 14, 418-430.

Examples

1
2
3
source("test_examples.R")
v=rep((1/sqrt(3)),3)
h_one(test_turtle,n_turtle,v)

bbolker/cpcbp documentation built on May 11, 2019, 9:28 p.m.