<?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: Calculate Co-variance and Co-skewness of multi asset portfolio in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Co-variance-and-Co-skewness-of-multi-asset-portfolio/m-p/800935#M39383</link>
    <description>&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Computing-the-Co-Skewness-matrix-of-portfolio/td-p/130114" target="_blank"&gt;https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Computing-the-Co-Skewness-matrix-of-portfolio/td-p/130114&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2022 19:55:37 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-03-08T19:55:37Z</dc:date>
    <item>
      <title>Calculate Co-variance and Co-skewness of multi asset portfolio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Co-variance-and-Co-skewness-of-multi-asset-portfolio/m-p/800933#M39382</link>
      <description>&lt;P&gt;data WORK.PORT_SAS1;&lt;BR /&gt;&lt;BR /&gt;input acc:BEST12. year:BEST12. month:BEST12. isin:$12. stockValue:BEST12. sumStockValue:BEST12. ret:32. id_vol:32. id_skew:32. exp_skew:32.;&lt;BR /&gt;format acc BEST12. year BEST12. month BEST12. stockValue BEST12. sumStockValue BEST12.;&lt;BR /&gt;label ret="ret" id_vol="id_vol" id_skew="id_skew" exp_skew="exp_skew";&lt;BR /&gt;datalines;&lt;BR /&gt;6464 1996 9 FI0009000053 1516.8 14503.3 0.0070707072 0.014095664 -0.409987509 -0.101588927&lt;BR /&gt;6464 1996 9 FI0009000285 2834 14503.3 -0.037383176 0.028269276 -0.125411317 1.0177152157&lt;BR /&gt;6464 1996 9 FI0009000202 2572.5 14503.3 0.0054794522 0.0130039575 1.1602475643 0.402938664&lt;BR /&gt;6464 1996 9 FI0009000707 7580 14503.3 0.0099009899 0.0219429601 0.5999519825 -0.269438356&lt;BR /&gt;6464 1996 10 FI0009000285 2678 15002.2 -0.029990628 0.0273272116 0.3355706632 0.499995023&lt;BR /&gt;6464 1996 10 FI0009000202 2569 15002.2 -0.007092199 0.0136819324 0.9428936243 0.3203088343&lt;BR /&gt;6464 1996 10 FI0009000707 8160 15002.2 0.0338164233 0.0213803966 0.6024077535 0.128086552&lt;BR /&gt;6464 1996 10 FI0009000053 1595.2 15002.2 0 0.0133521734 -0.262459815 0.0332798772&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set (excerpt above) which includes observations at the investor, stock, month level.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to calculate the idiosyncratic vol (ID_Vol), idiosyncratic skewness (ID_Skew) and expected skewness (Exp_Skew) of the portfolios each month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have calculated the respective values at the asset level (attached) but I am having difficulties calculating the values at the portfolio level as I'm not calculating co-variance and co-skewness for a multiple asset portfolio correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, how do I calculate the co-variance and co-skewness of the assets such that I can then calculate the respective values for the portfolios?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 19:22:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Co-variance-and-Co-skewness-of-multi-asset-portfolio/m-p/800933#M39382</guid>
      <dc:creator>joshdella3</dc:creator>
      <dc:date>2022-03-08T19:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Co-variance and Co-skewness of multi asset portfolio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Co-variance-and-Co-skewness-of-multi-asset-portfolio/m-p/800935#M39383</link>
      <description>&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Computing-the-Co-Skewness-matrix-of-portfolio/td-p/130114" target="_blank"&gt;https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Computing-the-Co-Skewness-matrix-of-portfolio/td-p/130114&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 19:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Co-variance-and-Co-skewness-of-multi-asset-portfolio/m-p/800935#M39383</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-08T19:55:37Z</dc:date>
    </item>
  </channel>
</rss>

