photo

Astrik


Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Compute the p-value of Diebold-Mariano Test
I am using Diebold-Mariano Test for testing the equal predictive accuracy. The use the code written by Semin Ibisevic (2011) t...

8 years ago | 1 answer | 0

1

answer

Question


Compute t-test for a root mean square error
I would like to compute a t-test for two vectors. More specifically, test whether RMSE_1-RMSE_2 is equal to zero against th...

8 years ago | 1 answer | 0

1

answer

Question


Label x-axes by fraction
I am trying to graph a simple plot. The y-axis should be a vector of 19*1 with different values. My x-axis should be the numbe...

8 years ago | 1 answer | 0

1

answer

Question


Forecast and estimate in rolling window
I am trying to estimate the parameters in rolling window regression and then conduct a out-of sample fit forecast with realized ...

8 years ago | 0 answers | 0

0

answers

Question


Fit the random walk model with drift to the data
I have a time series data of exchange rates. I can apply many tests, such as variance ratio test, to see if it is a random wa...

8 years ago | 2 answers | 0

2

answers

Question


Find the indices of elements of matrix that were multiplied
I have a task to find the maximum product of elements in a matrix. The input arguments are the matrix and the scalar n that tell...

8 years ago | 1 answer | 0

1

answer

Question


Compute the product of the next n elements in matrix
I would like to compute the product of the next n adjacent elements of a matrix. The number n of elements to be multiplied shoul...

8 years ago | 6 answers | 0

6

answers

Question


Unable to store the persistent variable
I am trying to store two persistent variables in order to use them in further iterations. The problem is with the second variabl...

8 years ago | 1 answer | 0

1

answer

Question


Getting error Operands to the || and && operators must be convertible to logical scalar values.
I have to check the arguments of my function for a number of cases. The function passes all tests besides the arguments 12...

8 years ago | 2 answers | 0

2

answers

Question


Error when looping over an object array
I have created two classes: a market and a good. I can add goods to market by buying them or I can remove them from my market by...

8 years ago | 1 answer | 0

1

answer

Question


Add an item to a class
I have two classes defined: library and book. The library has name and books. Book has a name and and an author. I have a meth...

8 years ago | 1 answer | 0

1

answer

Question


Error using function: Not enough input arguments.
I get the following error every time i try to run a simple function Not enough input arguments. My code is the following ...

8 years ago | 2 answers | 0

2

answers