dhopp1 / nowcastDFM

Dynamic factor models (DFM) in R. Easy estimation and new data contributions to changes in prediction.
25 stars 11 forks source link

Error in zeros(nM, 5 * nQ) : dimensions must be a positive quantity #1

Closed OAKryzhanovskij closed 1 year ago

OAKryzhanovskij commented 1 year ago

Good day!

library(nowcastDFM)

estimate a DFM with one block for all variables

output_dfm <- dfm(data, blocks = NA, p = 1, max_iter = 5000, threshold = 1e-05) Error in zeros(nM, 5 * nQ) : dimensions must be a positive quantity

Tell me, please, what could be the problem? I tried version R 3.6.1 and R 4.1.3, different versions of matlab package.

OAKryzhanovskij commented 1 year ago

The problem was with the date format. Fixed it myself.

RightHandOfDoom commented 7 months ago

@OAKryzhanovskij I have the same issue - how did you fix it? Thanks !!