<?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 Equivalent of &amp;quot;make&amp;quot; statement in SAS PROC MIXED in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Equivalent-of-quot-make-quot-statement-in-SAS-PROC-MIXED/m-p/614575#M29671</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am using SAS 9.4 1M5 on Windows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a meta-analysis (NOTE: SAS should write a PROC META) and found an old paper that uses this statement in PROC MIXED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed data = DATASET;&lt;BR /&gt; class  study;
  model  EFFsize = /p s;
  random study/gdata = g s;
  repeated diag;
  make 'predicted' out = predv;
  make 'SolutionR' out = randv;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;where Effsize is the effect size and g is a diagonal data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the code is from version 6 and (unusually for SAS) it doesn't seem to be fully backward compatible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular "p" causes an error and the two MAKE statements cause warnings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to fix the error caused by p, the first MAKE statement stops working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone translate the code to fit SAS 9.4?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 31 Dec 2019 16:49:25 GMT</pubDate>
    <dc:creator>plf515</dc:creator>
    <dc:date>2019-12-31T16:49:25Z</dc:date>
    <item>
      <title>Equivalent of "make" statement in SAS PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Equivalent-of-quot-make-quot-statement-in-SAS-PROC-MIXED/m-p/614575#M29671</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am using SAS 9.4 1M5 on Windows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a meta-analysis (NOTE: SAS should write a PROC META) and found an old paper that uses this statement in PROC MIXED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed data = DATASET;&lt;BR /&gt; class  study;
  model  EFFsize = /p s;
  random study/gdata = g s;
  repeated diag;
  make 'predicted' out = predv;
  make 'SolutionR' out = randv;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;where Effsize is the effect size and g is a diagonal data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the code is from version 6 and (unusually for SAS) it doesn't seem to be fully backward compatible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular "p" causes an error and the two MAKE statements cause warnings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to fix the error caused by p, the first MAKE statement stops working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone translate the code to fit SAS 9.4?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 16:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Equivalent-of-quot-make-quot-statement-in-SAS-PROC-MIXED/m-p/614575#M29671</guid>
      <dc:creator>plf515</dc:creator>
      <dc:date>2019-12-31T16:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of "make" statement in SAS PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Equivalent-of-quot-make-quot-statement-in-SAS-PROC-MIXED/m-p/614612#M29673</link>
      <description>&lt;P&gt;I suspect that I'm oversimplifying your question, but just in case, I'll say that MAKE is obsolete (though currently still working) so you may choose to replace the second statement with :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS OUTPUT SolutionR = randv;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume that p formerly referred to model predicted values, given the reference to Predicted table name in the MAKE stmt. That's now achieved by adding OUTP=dataname to the model statement.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 18:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Equivalent-of-quot-make-quot-statement-in-SAS-PROC-MIXED/m-p/614612#M29673</guid>
      <dc:creator>seeff</dc:creator>
      <dc:date>2019-12-31T18:50:49Z</dc:date>
    </item>
  </channel>
</rss>

