photo

Carl Kier


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Adding dummy variables to vector autoregression (VAR) results in covariance matrix being not positive-definite.
When adding dummy variables to a VAR, I get an error when using VAR estimate command (https://se.mathworks.com/help/econ/varm.es...

2 years ago | 1 answer | 0

1

answer

Answered
Error when estimating a VAR on log data (infinite values) in Matlab
I figured out that i needed to add 1 to my dataset (which consisted of growth rates) to avoid taking logs to negative numbers.

2 years ago | 1

| accepted

Question


Error when estimating a VAR on log data (infinite values) in Matlab
When trying to use the estimate command (https://se.mathworks.com/help/econ/varm.estimate.html) to estimate a VAR using log data...

2 years ago | 1 answer | 0

1

answer

Question


How to find the product of only some of the elements in a vector or matrix in MATLAB
I need to find the product of some of the elements in a vector. For example from element 120 to element 160. I can only find inf...

2 years ago | 1 answer | 0

1

answer