Community Profile

photo

King To Leung


Last seen: más de 1 año hace Con actividad desde 2022

Estadísticas

  • Thankful Level 2

Ver insignias

Content Feed

Ver por

Pregunta


dummy variable for calculating
Hi all, I have a bunch of sector code in c.sic column (column19). However, there are too many sub sectors and I need to group t...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


there is nan in a column, delete the whole row
I have a data base called data_crsp, and there might be some nan values in c.lagpe column (column 18), I want the whole row of d...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Transfer Quarterly dates to Monthly
Hi all, I extracted quarterly data for eps in matlab data form (i think datevec is needed). from 31/3/1992, 30/6/1992, 30/9/199...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


regstats The design matrix has more predictor variables than observations.
I used the following code to run a regression, the system shows Error using regstats (line 132) The design matrix has more pr...

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


Inf resulted when calculating mean
I am calculating the mean pe each year from 1993-2021. I have rounded my data set, drdata, to the 2 decimal place. However, the ...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Calculating the value, excluding nan
I was calculating the average stock return of each year using the following code, and it shows error. This is due to the nan val...

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


Finding the value according to row number
I have an array which has 3 columns and a lot of rows(dr). In the first column, it has the row number (column 2)that of the data...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Sorting return by dates
I would like to sort the average return of each year. I have a data base of stock returns from 1992-2021. I would like to know t...

más de 1 año hace | 2 respuestas | 0

2

respuestas