Community Profile

photo

Wietze Zijpp


Last seen: circa 2 anni fa Attivo dal 2022

Followers: 0   Following: 0

Statistiche

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

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

circa 2 anni fa | 0

| accettato

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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(:,...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 2 anni fa | 4 risposte | 0

4

risposte