--
You received this message because you are subscribed to the Google Groups "pystatsmodels" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pystatsmodel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pystatsmodels/CABCURYOKEFEJ5gfL0u%3DO%2BEm%2BVaO9g5Vm_1pCf608OsroLcCUiw%40mail.gmail.com.
Hi Jose,
Yes, you can do the following:
```
model = sm.tsa.DynamicFactorMQ(y)
results = model.fit()
d = results.filter_results.obs_intercept
Z = results.filter_results.design
H = results.filter_results.obs_cov
c = results.filter_results.state_intercept
T = results.filter_results.transition
R = results.filter_results.selection
Q = results.filter_results.state_cov
```
Note that these arrays have an extra dimension at the end (in time-varying models, the extra dimension is the time dimension, but the dynamic factor model is time-invariant, so the extra dimension is extraneous). So if you wanted just the vector or matrix, you could do e.g.:
```
d = results.filter_results.obs_intercept[..., 0] # <- now d is a 1d vector
Z = results.filter_results.design[..., 0] # <- now Z is a 2d matrix
```
etc.
Hope that helps,
Chad