Estimates \(P(S = s_k; \mathbf{W})\), \(k = 1,
\ldots, K\), the probability of being in state \(s_k\)
using the weight matrix \(\mathbf{W}\).
These probabilites can be marginal (\(P(S = s_k;
\mathbf{W})\)) or conditional (\(P(S = s_k \mid
\ell^{-}, \ell^{+}; \mathbf{W})\)), depending on the
provided information (pdfs$PLC
and
pdfs$FLC
).
If both are NULL
then estimate_state_probs
returns a vector of
length \(K\) with marginal probabilities.
If
either of them is not NULL
then it returns an
\(N \times K\) matrix, where row \(i\) is the
probability mass function of PLC \(i\) being in state
\(s_k\), \(k = 1, \ldots, K\).