photo

King To Leung


Last seen: 거의 2년 전 2022년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 2

배지 보기

Feeds

보기 기준

질문


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

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 2년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 2년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 2년 전 | 답변 수: 2 | 0

2

답변