Description Usage Arguments Value References See Also Examples
The function returns the MLEs for the PPCA model at a given choice of dimension. This function is adapted from the one made available by Mark Clark on github with the link of the original code under “See also”.
1 | ppcaMLE(x, nComp = 2, tol = 1e-06, maxits = 100)
|
x |
a data matrix with the number of rows to be reduced; only complete columns are used. |
nComp |
an integer specifying the number of principal components or effective dimension retained. |
tol |
a tolerance level for the EM algorithm to terminate computations. |
maxits |
the maximum number of iterations for EM to converge to the MLEs. |
a list of MLEs: the first item of the list is the loading matrix W,
and the second item of the list is the error variance σ^{2} or sigma2
.
Tipping, M. E., and Bishop, C. M. (1999). Probabilistic principal component analysis. **Journal of the Royal Statistical Society: Series B (Statistical Methodology)**, *61*(3), 611-622. <doi:10.1111/1467-9868.00196>
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.