Community Profile

photo

Astrik


12 total contributions since 2016

Contact

Astrik's Badges

  • Thankful Level 2

View details...

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

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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 ...

mer än 3 år 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...

mer än 3 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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 ...

ungefär 4 år ago | 2 answers | 0

2

answers