Skip to contents

Reconstruct a single subject's data from a Mixture PCA model

Usage

reconstruct_singleMPCA(X, mu, W, Z)

Arguments

X

Original (T x M) data

mu

An (M) mean vector

W

An (M x r) loading matrix

Z

A (T x r) factor score matrix

Value

A (T x M) reconstructed matrix Xhat