简体   繁体   中英

How to include a (matrix) constraint using statsmodels DynamicFactor? python

I am using tsa.DynamicFactor of statsmodels with multiple Factors. I would like to include some contraints that impose that some factors can affect only some series. How can I do that?

I couldn't find anything online. thanks a lot! Best

Instead of DynamicFactor you need to use DynamicFactorMQ which allows to specify which observed variables load on which factors via a combination of factors , factor_orders and factor_multiplicities arguments. The docs have some usage examples.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM