Community Profile

photo

kevin cecere palazzo


Last seen: 7 months ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Subplot VAR variables in one figure
I have generated a m-dimensional (m=5) sample of T observations, from a VAR model of lag order p. I want to generate one figure ...

3 years ago | 2 answers | 1

2

answers

Question


Plotting average of many empirical cumulative distribution functions
I have a code in which I start a figure, make hold on and repeat a for cycle where at the end of each repetition I plot an empir...

4 years ago | 1 answer | 0

1

answer

Question


Create a two-point distribution?
I want to multiply each element of a vector by a random variable X that takes values +1 and -1 with probability 1/2. How do I cr...

4 years ago | 1 answer | 0

1

answer

Question


Invalid Index in position 2
When I run, Matlab says "Index in position 2 is invalid. Array indices must be positive integers or logical values." I cannot fi...

4 years ago | 2 answers | 0

2

answers

Question


Many many functions in a plot?
I have a "for" cycle in which for every repetition I end up with a vector of which I have to compute and plot the empirical dist...

4 years ago | 1 answer | 0

1

answer

Question


How to get the OLS estimate from a regression based on a vector?
I have a vector y of dimension nx1. I want to get the OLS estimate of the regression of Δy on y_t-1 (t=1,2...n). How can I do it...

4 years ago | 1 answer | 0

1

answer

Question


Summing squared elements of a column of a matrix
for i=1:N s(i)=sum(V(:,2))/sqrt(n); t(i)=sum(V(:,2))/sqrt(sum((V(:,i).*V(:,i))); end Both s and t are Nx1 vectors, while V i...

4 years ago | 1 answer | 0

1

answer

Question


Summin elements on the rows of a specific page of a matrix
If I have a matrix A(n,m,2) i.e. a two pages matrix, and a vector B(n,1), how should I write the expression for the j-th element...

4 years ago | 1 answer | 0

1

answer