ppca
Probabilistic principal component analysis.
📝Syntax
[coeff, score, pcvar] = ppca(Y, K)
[coeff, score, pcvar, mu, v, S] = ppca(Y, K, Name, Value)
📄Description

ppca computes a probabilistic principal component model for a real data matrix. Missing values encoded as NaN are estimated iteratively.

Supported name-value options are W0, v0, and Options. The Options structure can be created with statset and supports Display, MaxIter, TolFun, and TolX.

The structure S contains W, Xexp, Recon, v, NumIter, RMSResid, and nloglk fields.

💡Examples
Y = [1 2 3; 2 NaN 5; 4 5 8; 5 7 NaN; 7 8 13];
[coeff, score, pcvar, mu, v, S] = ppca(Y, 2)
🔗See Also
pcapcacovstatset
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub