photo

Qian cao


Attivo dal 2015

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 9 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 9 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta