Community Profile

photo

Wietze Zijpp


Last seen: etwa 2 Jahre vor Aktiv seit 2022

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 2 Jahre vor | 0

| akzeptiert

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 2 Jahre vor | 4 Antworten | 0

4

Antworten