photo

Qian cao


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


delete some columns in A and the same columns in another matrix C
Hi all, I have matrix A and C as follows.How to do the function that deletes the columns whose last two values of matrix A are ...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


rank the columns by the means of nonzero values
Hi all, how can I rank the following matrix A by the rules as following described steps: 1.calculate the mean vector of the nonz...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


Can anyone help : rank each row of a matrix
Hi all, If I have a matrix like A= 0.2 NaN 0.8 0.8 -0.2 1 0.3 0.2 0.2 -0.3 0.2 2 0.7 -0.1 -0.4 0.7 NaN 0.2 ...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


rank the values in each row
Hi all, If I have a matrix like A= 0.2 NaN 0.8 0.8 -0.2 1 0.3 0.2 0.2 -0.3 0.2 2 0.7 -0.1 -0.4 0.7 NaN 0....

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


how to plot the time series data with dates showing in x axis
Hi all, I am trying to plot the monthly time series in the same graph with x axis representing month of year and y axis the time...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


plot the time series data
Hi all, I am trying to plot the monthly time series in the same graph with x axis representing month of year and y axis the tim...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


get the sub matrix composed of the three columns with the largest mean values
Hi there, I get a matrix d= 1 3 10 20 34 2 4 9 21 32 2 2 7 23 34 1 5 6 14 39 What I need to do is to first...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


how to use if when there is NAN
Hi all I have a time series price matrix as follows. At each time, I need to judge if the current price is larger than the av...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


How to do ARMA regression with non available values
HI,the two matrix are time series data. One is return and the other is named MAprice. how to conduct arma model( inc. error an...

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


arma regression with NAN
HI,the two matrix are included as attached . rows represent time series. how to conduct arma model( inc. error and intercept te...

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


count the number of new listings and delistings across time
Dear there, Happy Christmas. Could you gift me by helping me to solve my problem:) haha. I have the following price matrix, ...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


how to get the matrix of the ARMA coefficients?
Dear all, I have been working on this for long but still cannot manage it. Could you help me ? I have two matrix, one is Mauric...

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


momentum strategy based on trend
Hi, I have a dataset as attached. The columns represent stocks, the rows representing time. The values are the lag 3 moving ave...

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


delete all zero columns and the same columns in another matrix
Hi all, I have two simplified matrixes that I need to cope with. A=[0 1 0 1;0 4 0 1; 0 3 0 0; 0 1 0 2 ]; How I delete the col...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


delete the columns with the last two values equal to NAN
Hi all, I have a matrix a=[1 NaN 1 1; 1 1 1 1; NaN NaN NaN 1;NaN NaN 1 NaN ] How to do the function that deletes the co...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


filling the first NaN right after the last non NaN with a value that is half of the non NaN
Hello there, could you help to make the following matrix p = [NaN 2 NaN; 2 4 NaN; 2 6 8; ...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


half the first NaN value after the last non NaN value in each column
Hi, I have a matrix p = [NaN 2 NaN; 2 4 NaN; 2 6 8; NaN 8 2; NaN NaN...

bijna 9 jaar ago | 2 answers | 0

2

answers

Question


To calculate portfolio returns
Hi, I have a question regarding the matrix multiplication with NaN cells in the matrix. The two matrix are W1= [0.1 0 0....

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question


define the 1/K strategy
Hi, I have a matrix B = 0 9 7 0 0 0 9 7 6 0 0 2 7 ...

ongeveer 9 jaar ago | 2 answers | 0

2

answers

Question


how to fill with the last non empty value across each column
Hi all, how can I fill the cells in each row with the last non empty or non zero value please? For example : the matrix is [0 ...

ongeveer 9 jaar ago | 1 answer | 0

1

answer