Community Profile

photo

Armando MAROZZI


Last seen: 7 days ago
17 total contributions since 2020

Armando MAROZZI's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


How to use if statements and for loop to plot the following series?
I am trying to plot the following series in a subplot (6X2). The idea is to have the first column in blue, while the second in r...

1 month ago | 1 answer | 0

1

answer

Question


How to use if/else on the basis of rows?
I have a pre-specified model that runs smoothly. The problem is that I have two datasets for the same model. The two datasets ch...

2 months ago | 1 answer | 0

1

answer

Question


Dashed confidence intervals and xlabel
Today is my "plot day". I am trying to fit subplot with shaded confidence intervals (find the dataset attached). Besides, I have...

5 months ago | 1 answer | 0

1

answer

Question


How to plot two different styles of confidence intervals in looped subplots?
I have a plot with 6 variables and 5 subplot. In one case, the third variable, I want it to display two lines in one graph. So f...

5 months ago | 1 answer | 0

1

answer

Question


How to plot two lines in a looped subplot in matlab?
I plotted 5 graphs with a loop in MATLAB. Now, I want to add a further line only to the third plot. However, when I try to do it...

5 months ago | 1 answer | 0

1

answer

Question


How to loop the number of lags in a VAR?
I am fitting a simple var model. What I would like to do is basically choosing the optimal number of lags. I can do it in two wa...

6 months ago | 0 answers | 0

0

answers

Question


Problems with double looping
I am trying to implement this double loop. There is lot of material online on double looping in matlab but I don't manage to mak...

7 months ago | 1 answer | 0

1

answer

Question


Problems in using "dwtest"
I have a simple Tx3 matrix of residuals. I want to apply to it the dwtest to test for autocorrellation (I also used autocorr but...

7 months ago | 1 answer | 0

1

answer

Question


How to set the IRFs for one variable equal to 0?
I have a VAR model with 4 variables. I ran my VAR in the baseline scenario. What I want to do now is a simulation exercise where...

7 months ago | 0 answers | 0

0

answers

Question


How to loop different y-labels in different plots?
I want to display 4 graphs of Impulse Response Functions (IRFs) with their confidence intervals. I would like the labels to appe...

7 months ago | 1 answer | 0

1

answer

Question


How to pass the same function to different columns?
I would like to pass the same function to all the columns of an object. I tried this code but it doesn't work for j = 1:3 ...

7 months ago | 1 answer | 0

1

answer

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...

7 months ago | 1 answer | 0

1

answer

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...

7 months ago | 0 answers | 0

0

answers

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...

7 months ago | 2 answers | 0

2

answers

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...

7 months ago | 0 answers | 0

0

answers

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...

7 months ago | 1 answer | 0

1

answer

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...

7 months ago | 1 answer | 0

1

answer