필터 지우기
필터 지우기

Sort stocks into portfolios based on two characteristics

조회 수: 2 (최근 30일)
FC93
FC93 2017년 3월 7일
답변: Prateek Khandelwal 2017년 3월 14일
I have 3 matrix with the dimension 235x7690. The 235 represent months, the first month is june 1995, and 7690 are the number of firms. The first matrix represents returns, the second and third matrix represent characteristics of the firms (market equity and the third book-to-market equity). Now I wand to sort all 7690 firms in portfolios. I want to create 6 portfolio (high and low market equity and high middle and low book-to-markt equity). So with the 2nd matrix I want to separete them in high and low and the third matrix in high medium and low (the borders are the 30th percentil and the 70th percentil). The porfoliosort shoud be done every June. The I want to calculate the return of the six porfolios.
Could someone help me? Thank you
  댓글 수: 2
John BG
John BG 2017년 3월 8일
편집: John BG 2017년 3월 8일
would it be possible for you to refine your target into smaller targets?
for instance, leave for now that you want them every June. Once the processing solved then you can solve the frequency to run it, ok?
FC93
FC93 2017년 3월 8일
I don't know if it would be possible. I don't even know how you would do it for 1 "period".

댓글을 달려면 로그인하십시오.

답변 (1개)

Prateek Khandelwal
Prateek Khandelwal 2017년 3월 14일
Hi, To me, it appears you merely want to filter the data into 6 separate buckets and not sort it.
Once you've identified the values distinguishing high vs low market equity value and high vs medium vs low book to market equity values, you can use these to create another table with 'high','low','medium' acting as categorical values. This will be followed by filtering the data out based on these categories.

카테고리

Help CenterFile Exchange에서 Portfolio Optimization and Asset Allocation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by