Description Usage Arguments Details Value Warning Note Author(s) References See Also Examples

The Pearson-ICA algorithm is a mutual information-based method for blind separation of statistically independent source signals. It has been shown that the minimization of mutual information leads to iterative use of score functions, i.e. derivatives of log densities. The Pearson system allows adaptive modeling of score functions. The flexibility of the Pearson system makes it possible to model a wide range of source distributions including asymmetric distributions. The algorithm is designed especially for problems with asymmetric sources but it works for symmetric sources as well.

1 |

`X` |
input data. Each column contains one signal. |

`n.comp` |
number of components to be extracted. |

`row.norm` |
a logical value indicating whether rows of the data matrix 'X' should be standardized beforehand. |

`maxit` |
maximum number of iterations to perform |

`tol` |
a positive scalar giving the tolerance at which the un-mixing matrix is considered to have converged. |

`border.base` |
intercept terms for the tanh boundaries. See details. |

`border.slope` |
slope terms for the tanh boundaries. See details. |

`verbose` |
a logical value indicating the level of output as the algorithm runs. |

`w.init` |
initial un-mixing matrix of dimension (n.comp,n.comp). If NULL (default) then a matrix of normal r.v.'s is used. |

`na.rm` |
should the rows with missing values be removed. |

`whitening.only` |
perform only whitening. |

`PCA.only` |
perform only principal component analysis. |

The data matrix X is considered to be a linear combination of statistically independent components, i.e. X = SA where A is a linear mixing and matrix the columns of S contain the independent components of which at most one has Gaussian distribution. The goal of ICA is to find a matrix W such that the output Y = XW is an estimate of possibly scaled and permutated source matrix S.

In order to extract the independent components/sources we search for a demixing matrix W that minimizes the mutual information of the sources. The minimization of mutual information leads to iterative use of score functions, i.e. derivatives of log densities. Pearson-ICA uses the Pearson system to model the score functions of the output Y. The parameters of the Pearson system are estimated by method of moments. To speed up the algorithm, tanh nonlinearity is used when the distribution is far from Gaussian. The parameters 'border.base' and 'border.slope' define the boundaries of the tanh area in the skewness-kurtosis plane. See Figure 2 in (Karvanen, Eriksson and Koivunen, 2000) for an illustration.

A list containing the following components

`X` |
input data |

`whitemat` |
whitening matrix |

`W` |
estimated demixing matrix |

`A` |
estimated mixing matrix |

`S` |
separated (estimated) source signals |

`Xmu` |
component means |

`w.init` |
starting value of W |

`maxit` |
maximum number of iterations allowed |

`tol` |
convergence limit |

`it` |
number of iterations used |

The definition of W is different from that of `fastICA`

algorithm (version 1.1-8).

The R code is based on the MATLAB code by Juha Karvanen, Jan Eriksson and Visa Koivunen.
Parts of the R code and documentation are taken from the `fastICA`

R package.

Juha Karvanen

Karvanen J., Koivunen V. 2002. Blind separation methods based on Pearson system and its extensions,
*Signal Processing* **82**(4), 663–673.

Karvanen J., Eriksson J.,Koivunen V. 2000, Pearson system based method for blind separation,
*Proceedings of Second International Workshop on Independent Component Analysis and Blind Signal Separation (ICA2000)*,
Helsinki, Finland, 585–590.

1 2 3 4 |

```
Centering
Whitening
Estimated 3rd and 4th moment:
mu3 mu4
[1,] 0.039301464 2.465563
[2,] 0.039242885 2.691383
[3,] -0.068159913 2.680916
[4,] 0.004213744 2.680209
[5,] -0.021922722 2.441416
Iteration 1 tol = 0.0743953
Estimated 3rd and 4th moment:
mu3 mu4
[1,] 0.03076000 2.352103
[2,] -0.03136712 2.244594
[3,] 0.07196205 2.393666
[4,] 0.02328962 2.658589
[5,] -0.01886805 2.351186
Iteration 2 tol = 0.09002486
Estimated 3rd and 4th moment:
mu3 mu4
[1,] 0.008397016 2.265180
[2,] -0.007055674 1.810749
[3,] 0.065747958 2.313936
[4,] -0.065248823 2.725326
[5,] -0.001398614 2.283121
Iteration 3 tol = 0.06616083
Estimated 3rd and 4th moment:
mu3 mu4
[1,] 0.001088783 1.921800
[2,] -0.007986518 1.815619
[3,] 0.071472791 2.225480
[4,] 0.011956375 2.535279
[5,] -0.014102879 2.008559
Iteration 4 tol = 0.1077537
Estimated 3rd and 4th moment:
mu3 mu4
[1,] 0.0007419953 1.763484
[2,] -0.0039149090 1.813686
[3,] 0.0595692360 1.897603
[4,] -0.0332284804 2.041162
[5,] -0.0478452184 1.787465
Iteration 5 tol = 0.02862931
Estimated 3rd and 4th moment:
mu3 mu4
[1,] 0.005089522 1.757940
[2,] -0.003737794 1.819177
[3,] 0.039619272 1.780572
[4,] -0.029718309 1.846241
[5,] -0.055741348 1.771573
Iteration 6 tol = 0.0006868456
Estimated 3rd and 4th moment:
mu3 mu4
[1,] 0.005865749 1.757578
[2,] -0.003999536 1.821109
[3,] 0.038052928 1.781475
[4,] -0.028322270 1.834028
[5,] -0.056338491 1.770731
Iteration 7 tol = 1.121763e-05
[,1] [,2] [,3] [,4] [,5]
[1,] -0.287900151 -0.2981834631 -0.004237814 0.016018802 0.016616056
[2,] 0.009209915 -0.0008794238 -0.293064465 -0.287740084 0.006185050
[3,] 0.018865378 0.0111025379 0.014975021 0.295698418 0.306416037
[4,] -0.001313556 0.2782967796 0.277786697 -0.012095576 0.005027468
[5,] -0.288666071 0.0097644380 0.003856938 0.001681192 -0.281156436
```

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.