Usage
fastica(X, approach = c("symmetric", "deflation"), n.comp = dim(X)[2], demean = TRUE,
pca.cov = c("ML", "LW", "ROB", "EWMA"), gfun = c("pow3", "tanh", "gauss", "skew"),
finetune = c("none", "pow3", "tanh", "gauss", "skew"), tanh.par = 1, gauss.par = 1,
step.size = 1, stabilization = FALSE, epsilon = 1e-4, maxiter1 = 1000, maxiter2 = 5,
A.init = NULL, pct.sample = 1, firstEig = NULL, lastEig = NULL,
pcaE = NULL, pcaD = NULL, whiteSig = NULL, whiteMat = NULL, dewhiteMat = NULL,
rseed = NULL, trace = FALSE, ...)
Arguments
X
The multidimensional signal matrix, where each column of matrix
represents one observed signal.
approach
The decorrelation approach to use, with symmetric
estimating the components in parallel while deflation estimating
one-by-one as in projection pursuit.
n.comp
Number of independent components to estimate, defaults to the
dimension of the data (rows). Is overwritten by firstEig
and lastEig
.
demean
(Logical) Whether the data should be centered.
pca.cov
The method to use for the calculation of the covariance matrix
during the PCA whitening phase. ML is the standard maximum likelihood
method, LW is the Ledoit and Wolf method, ROB is the robust method
gfun
The nonlinearity algorithm to use in the fixed-point algorithm.
finetune
The nonlinearity algorithm for fine-tuning.
tanh.par
Control parameter used when nonlinearity algorithm
equals tanh.
gauss.par
Control parameter used when nonlinearity algorithm equals
gauss.
step.size
Step size. If this is anything other than 1, the program will
use the stabilized version of the algorithm.
stabilization
Controls whether the program uses the stabilized version
of the algorithm. If the stabilization is on, then the value of step.size
can momentarily be halved if the program estimates that the algorithm is stuck
between two points (this i
epsilon
Stopping criterion. Default is 0.0001.
maxiter1
Maximum number of iterations for gfun
algorithm.
maxiter2
Maximum number of iterations for finetune
algorithm.
A.init
Initial guess for the mixing matrix A. Defaults to a random
(standard normal) filled matrix (no.signals by no.factors).
pct.sample
Percentage [0-1] of samples used in one iteration. Samples are
chosen at random.
firstEig
This and lastEig
specify the range for eigenvalues
that are retained, firstEig
is the index of largest eigenvalue to be
retained. Making use of this option overwrites n.comp
.
lastEig
This is the index of the last (smallest) eigenvalue to be
retained and overwrites n.comp
argument.
pcaE
Optionally provided eigenvector (must also supply pcaD
).
pcaD
Optionally provided eigenvalues (must also supply pcaE
).
whiteSig
Optionally provided Whitened signal.
whiteMat
Optionally provided Whitening matrix (no.factors by no.signals).
dewhiteMat
Optionally provided dewhitening matrix (no.signals by no.factors).
rseed
Optionally provided seed to initialize the mixing matrix A
(when A.init
not provided).
trace
To report progress in the console, set this to TRUE.
...
Optional arguments passed to the pca.cov methods.