<?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: HOW DO YOU CREATE A NEW DATASET WITH THE PROC CORR OUTPUT? in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/HOW-DO-YOU-CREATE-A-NEW-DATASET-WITH-THE-PROC-CORR-OUTPUT/m-p/419984#M2117</link>
    <description>&lt;P&gt;Your other option is:&lt;/P&gt;
&lt;P&gt;ods output pearsoncorr=p;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data set has one set of variable for r, p, and n.&amp;nbsp; If you want to stack things to look like they do in the output, you will need to use a DATA step.&lt;/P&gt;</description>
    <pubDate>Sun, 10 Dec 2017 23:03:13 GMT</pubDate>
    <dc:creator>WarrenKuhfeld</dc:creator>
    <dc:date>2017-12-10T23:03:13Z</dc:date>
    <item>
      <title>HOW DO YOU CREATE A NEW DATASET WITH THE PROC CORR OUTPUT?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/HOW-DO-YOU-CREATE-A-NEW-DATASET-WITH-THE-PROC-CORR-OUTPUT/m-p/419979#M2116</link>
      <description>&lt;P&gt;I am trying to use the output from a covariance matrix in an optimization model.&amp;nbsp; I want the output to look like the PROC CORR output, but instead get the output with type, obs, and name.&amp;nbsp; Is there a way to create a new dataset that matches the PROC CORR output?&amp;nbsp; If there is a altogether better way to do this, please let me know.&amp;nbsp; Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods select Cov PearsonCorr;
proc corr data=ret_monthly noprob outp=CovMat cov nocorr;
	var EOG_monret CAT_monret DE_monret LNG_monret GD_monret;
	Title "Covariance Matrix";
run;

proc print data=CovMat NOOBS; 
	Title "Covariance Matrix";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Dec 2017 22:22:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/HOW-DO-YOU-CREATE-A-NEW-DATASET-WITH-THE-PROC-CORR-OUTPUT/m-p/419979#M2116</guid>
      <dc:creator>RBRoma</dc:creator>
      <dc:date>2017-12-10T22:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: HOW DO YOU CREATE A NEW DATASET WITH THE PROC CORR OUTPUT?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/HOW-DO-YOU-CREATE-A-NEW-DATASET-WITH-THE-PROC-CORR-OUTPUT/m-p/419984#M2117</link>
      <description>&lt;P&gt;Your other option is:&lt;/P&gt;
&lt;P&gt;ods output pearsoncorr=p;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data set has one set of variable for r, p, and n.&amp;nbsp; If you want to stack things to look like they do in the output, you will need to use a DATA step.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Dec 2017 23:03:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/HOW-DO-YOU-CREATE-A-NEW-DATASET-WITH-THE-PROC-CORR-OUTPUT/m-p/419984#M2117</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-12-10T23:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: HOW DO YOU CREATE A NEW DATASET WITH THE PROC CORR OUTPUT?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/HOW-DO-YOU-CREATE-A-NEW-DATASET-WITH-THE-PROC-CORR-OUTPUT/m-p/419995#M2118</link>
      <description>&lt;P&gt;What exactly do you mean by "a new dataset that matches the proc corr output"?&amp;nbsp; Please provide an example.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2017 02:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/HOW-DO-YOU-CREATE-A-NEW-DATASET-WITH-THE-PROC-CORR-OUTPUT/m-p/419995#M2118</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2017-12-11T02:06:46Z</dc:date>
    </item>
  </channel>
</rss>

