srlanalytics / bdfm

Bayesian dynamic factor model estimation and predictive statistics including nowcasting and forecasting
MIT License
5 stars 6 forks source link

complain about mixed frequencies if they are not #38

Closed christophsax closed 5 years ago

christophsax commented 5 years ago
library(bdfm)
m0 <- dfm(cbind(fdeaths, mdeaths), method = "pc")
#> Error in dfm(cbind(fdeaths, mdeaths), method = "pc"): Mixed freqeuncy models are only supported for Bayesian estimation
m1 <- dfm(fdeaths, method = "pc")
#> Error in dfm(fdeaths, method = "pc"): Mixed freqeuncy models are only supported for Bayesian estimation
m2 <- dfm(fdeaths, method = "ml")
#> Error in dfm(fdeaths, method = "ml"): Mixed freqeuncy models are only supported for Bayesian estimation

Created on 2019-02-17 by the reprex package (v0.2.1)