Community Profile

photo

Qian cao


Con actividad desde 2015

Statistics

  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta