photo

Wietze Zijpp


Last seen: plus de 2 ans il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Warning: The assignment added rows to the table, but did not assign values to all of the table's existing
I have the following code that generates the Warning nmonths = 100; % use 100 months worth of data to estimate the betas for i...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Converting a 100x3 matrix into a 100x30x3 matrix
Suppose I have a 100x3 matrix. Now I want to create a 100x30x3 matrix. I tried using repmat but cant seem to get the desired r...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Continue running for loop for values that do not given an error
Suppose I have the following line of code Mdl_vol(1) = egarch('GARCHLags',1,'ARCHLags',1); Mdl_vol(2) = egarch('GARCHL...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Getting the entry value (i,j) for the minimum value of reach row of a matrix
Suppose I have a matrix A = 3×3 11 13 15 12 14 16 32 18 21 How do I get the output (1,1) (2...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


Creating a nested loop
Suppose I want to generate a 2 x 9 matrix by looping the following code twice for j = 1:size(Mdl_vol,2) EstMdl = es...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to make a three dimensional matrix
Suppose I have the following function [G,Tstat,P] = Fama_MacBeth(X,Y) % Inputs: % X is the matrix of explenatory variables ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Error when increasing size of dependent variable linear regression
Suppose I have the following forloop which estimates parameters of a linear model count = 0; nmonth = 5; for j = 1:dimensions...

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Question


Replacing a zero value of a matrix with the value left to it
Suppose I have a matrix A = 8 1 6 3 0 7 4 9 2 Now I would like the 0 value to be ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Converge a 1x30 row vector to a 3x10 matrix
I have found the solution Use mymat = reshape(z,3,10)

plus de 2 ans il y a | 0

| A accepté

Question


Converge a 1x30 row vector to a 3x10 matrix
Suppose I have the following z = [1:30] Now I want to create a 3x 10 matrix. Where the entries in the first row are the first ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Combining two for loops into a nested loop
Suppose I have a forloop that yields a 1x3 output for i = [1:3] % 3 months mdl = fitlm(X((30*i-30+1):i*30,:),Y((30*i-30+1)...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Removing entire column if any of the value in that column contains a NaN
I am trying to clean up my dataset. Therfore I want to remove any columns that contain any Nan values. The dataset is of form t...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Standard deviation of columns of a table
Suppose I have a 30x3 table. Now I would like to find the standard deviation of each column I tried stdev= std(montherrors(:,...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Looping a regression for 30 different observations 10 times
Suppose I have a total of 300 observations. Now I would like to perform a regression over the observation 1:30 31:60 etc. And ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Calculating returns of a table structure and error operator '-' is not supported for operands of type 'table'.
I have stock prices for 100 firms over 5000 days. Yielding a table of 5000x1000 Now I proposed calculating the column of return...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


Converting location of a 2x3 vector into a matrix with value 1
Suppose I have a = 2×3 1 3 2 4 7 8 Now I want to create a matrix of dimension 10 x 1...

plus de 2 ans il y a | 4 réponses | 0

4

réponses