Reputation: 1
I am working on time series VARMAX model in python with 18000 rows of data and 6 parameters. Repeatedly while fitting the VARMAX model, it says " leading minor is not positive definite" or "matrix is not positive definite". Can somebody help in recognizing the problem?
Upvotes: 0
Views: 1227
Reputation: 46
The error suggests that there are linear dependencies among your variables. You can investigate these linear relationships using the correlation matrix df.corr()
and/or PCA.
Upvotes: 1