Community Profile

photo

Francis Chabot


Last seen: 1 month ago Active since 2021

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


Creating a 3D matrix by combination of a 3D matrix and a 2D matrix
Hello community, I'm trying to add data from a 2D matrix to an existing 3D matrix in my code. My 3D matrix is 125x2x20 (125: ...

2 years ago | 1 answer | 0

1

answer

Question


Repeat a cumulative sum in a matrix
Hello, I have matrix of dimensions 2784x252 which represents monthly returns. I am trying to put them into annual returns which...

2 years ago | 2 answers | 0

2

answers

Question


Selecting range of data in a matrix
Hello, I'm trying to create different groups from a matrix of dimensions 2784x1. Data in the matrix range from 0100:9999. From...

3 years ago | 2 answers | 0

2

answers

Question


For loop indexing problem
Hello, I'm trying to use a for loop to be able to create a new matrix much more quickly. The loop is : for ii=1:Nco; for...

3 years ago | 1 answer | 0

1

answer

Question


Selection of logical data
Hello, I have a matrix with this form: 1 156 NaN NaN NaN 1 157 NaN NaN NaN 1 158 1.85185185185185 2.63157894736842 2.0408163...

3 years ago | 1 answer | 0

1

answer

Question


Split a matrix in quintile based on ascending order
Hello, I have a matrix of 2874x26 that I'd like to split into quintile for each of the 26 years. I've tried the quantile functi...

3 years ago | 0 answers | 0

0

answers

Question


Creating a function for median
Hello, I have a code that helps me calculate the median by SIC code that I'd like to modify to be able to use it as a function....

3 years ago | 1 answer | 0

1

answer

Question


Import data from Excel
Hello, I'm trying to input data from Excel by column and when doing it the first data which is suppose to end up in a NaN doesn...

3 years ago | 1 answer | 0

1

answer

Question


Splitting data array into sub arrays
Hi, I want to split the data of an array by the first 2 numbers of each data. This is to split firms by the first 2 digit of the...

3 years ago | 1 answer | 0

1

answer