Question

How to estimate the optimal number of lags in VAR models from the data?

I am fitting a VAR model and I was wondering which commands (if any) in MATLAB calculates the optimal number of lags given the s...

4 years ago | 1 answer | 0

Question

How to reproduce this table in MATLAB?

I would like to reproduce this table in MATLAB (including title and note). Unfortunately, the analysis I carried out doesn't hav...

4 years ago | 0 answers | 0

Question

Why can't I write this row vector?

I simply want a 1x3 row vector like this: . I tried the following: [x(1,3); x(2,3); x(3,3)] but I got the following error: Un...

4 years ago | 2 answers | 0

Question

How to code this quadratic minimization problem subject to a linear constraint?

After having performed Factor Analysis (FA), I am now trying to implement the following rotation strategy (Swanson 2017 - detail...

4 years ago | 1 answer | 0

Question

Factor Analysis by Principal Component Method

I am trying to replicate a paper that implements Factor Analysis by Principal Component Method. I have been reading a lot in Mat...

4 years ago | 1 answer | 0

Question

How can I delete the same chunck from a column?

I am new to Matlab (coming from R). Sorry if the question is very basic. I have a 216x8 table. The first column is a Date colum...

4 years ago | 1 answer | 0