<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help! Combining two sorting variables of a portfolio in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Help-Combining-two-sorting-variables-of-a-portfolio/m-p/185553#M1148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are at least 2 questions here. 1) How do I calculate all these measures, 2) How do I create a report over this measures in the required format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A lot of people in this forum here are very supportive in helping to you to get over obstacles when you get stuck in your work. It's another story when it comes to doing your job for you - and this is what you're asking for here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest that you get started in solving your problem and come back here when you're facing issues with some concrete problems. If so then post a data step which creates sample data, all the code you've already developed and then explain where it doesn't work and how the result should look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 01:52:14 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2014-07-21T01:52:14Z</dc:date>
    <item>
      <title>Help! Combining two sorting variables of a portfolio</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Help-Combining-two-sorting-variables-of-a-portfolio/m-p/185552#M1147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can you tell me how can I make a table following the description below (PDF attached pg 21, 22 containing the table i want to replicate). I want the commands, to sort them out first on the basis of past returns(losers, Neutrals, winners) and then further sorting them into sizes and in the end get the table with the p1,p2,p3(three return portfolios) on the left hand side and sizes s1,s2....s10 in the upper column and then returns in the centre with t values. I have attached the pdf file which will show the exact table follwoing this description, table which i want is on page 21,22. I will really be grateful. Thanks in advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Momentum Strategies Based on Raw Returns and Sorted by Size (1980-2004)&lt;/P&gt;&lt;P&gt;This table reports the average monthly returns of momentum portfolios formed based on the previous K&lt;/P&gt;&lt;P&gt;months’ raw returns and held for K months (K=3, 6, 9,and 12). Each month, NYSE and AMEX&lt;/P&gt;&lt;P&gt;stocks are ranked in ascending order based on the lagged returns and divided into three equal-weighted&lt;/P&gt;&lt;P&gt;portfolios. Portfolio P1 is formed by the loser stocks and P3 is formed by the winner stocks over the&lt;/P&gt;&lt;P&gt;previous K months. This table presents the time-series average monthly returns of holding these&lt;/P&gt;&lt;P&gt;portfolios for K months. On the other hand, stocks are sorted into ten portfolios each month based on&lt;/P&gt;&lt;P&gt;their previous capitalizations. Portfolio S1 includes the smallest firms and S10 includes the largest&lt;/P&gt;&lt;P&gt;firms. Within each decile, firms are equally sorted into three portfolios (P1 to P3) based on their lag&lt;/P&gt;&lt;P&gt;raw returns. This table also reports the time-series average monthly return of holding these portfolios&lt;/P&gt;&lt;P&gt;in each size class for K months. Median sizes are in millions and t-statistics are in parenthesis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:28:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Help-Combining-two-sorting-variables-of-a-portfolio/m-p/185552#M1147</guid>
      <dc:creator>Sheharyar24</dc:creator>
      <dc:date>2014-07-18T18:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help! Combining two sorting variables of a portfolio</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Help-Combining-two-sorting-variables-of-a-portfolio/m-p/185553#M1148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are at least 2 questions here. 1) How do I calculate all these measures, 2) How do I create a report over this measures in the required format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A lot of people in this forum here are very supportive in helping to you to get over obstacles when you get stuck in your work. It's another story when it comes to doing your job for you - and this is what you're asking for here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest that you get started in solving your problem and come back here when you're facing issues with some concrete problems. If so then post a data step which creates sample data, all the code you've already developed and then explain where it doesn't work and how the result should look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 01:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Help-Combining-two-sorting-variables-of-a-portfolio/m-p/185553#M1148</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-07-21T01:52:14Z</dc:date>
    </item>
  </channel>
</rss>

