![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/25538426_1644337686766_DEF.jpg)
Wietze Zijpp
Followers: 0 Following: 0
Feeds
質問
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...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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...
3年弱 前 | 2 件の回答 | 0
2
回答質問
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...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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 ...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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...
3年弱 前 | 0 件の回答 | 0
0
回答質問
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 ...
3年弱 前 | 1 件の回答 | 0
1
回答回答済み
Converge a 1x30 row vector to a 3x10 matrix
I have found the solution Use mymat = reshape(z,3,10)
Converge a 1x30 row vector to a 3x10 matrix
I have found the solution Use mymat = reshape(z,3,10)
3年弱 前 | 0
| 採用済み
質問
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 ...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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)...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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(:,...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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 ...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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...
3年弱 前 | 2 件の回答 | 0
2
回答質問
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...
3年弱 前 | 4 件の回答 | 0