<?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 to use proc mixed for ANCOVA model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/m-p/688713#M33197</link>
    <description>I think the problem is in the By statement. Provide more details about the by statement. What happens if you run the code without the By statement?</description>
    <pubDate>Sat, 03 Oct 2020 18:51:12 GMT</pubDate>
    <dc:creator>gcjfernandez</dc:creator>
    <dc:date>2020-10-03T18:51:12Z</dc:date>
    <item>
      <title>How to use proc mixed for ANCOVA model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/m-p/687461#M33180</link>
      <description>&lt;P&gt;Hi, I'm using proc mix to fit ANCOVA model to get the following:&lt;BR /&gt;1) LS means of each treatment&lt;BR /&gt;2) SE of each treatment&lt;BR /&gt;3) LS means difference (placebo - each treatment) with placebo as treatn=3&lt;BR /&gt;4) SE difference (placebo - each treatment)&lt;BR /&gt;5) SD (standard deviation of residuals from the model)&lt;BR /&gt;6) Plot studentized residuals versus predicted values, and also check the distribution of (unstandardized) residuals using a plot.&lt;/P&gt;&lt;P&gt;The code is:&lt;BR /&gt;ods output lsmeans=estimate&lt;BR /&gt;diffs=diff;&lt;BR /&gt;proc mixed data = mydata (where=(treatn in (1,2,3)));&lt;BR /&gt;by treatn treat avisitn avisit;&lt;BR /&gt;class treatn;&lt;BR /&gt;model aval = treatn avisitn base;&lt;BR /&gt;lsmeans treatn / diff=control('3');&lt;BR /&gt;run;&lt;BR /&gt;ods output close;&lt;/P&gt;&lt;P&gt;I'm getting error:&lt;BR /&gt;"WARNING: Output 'Diff' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify&lt;BR /&gt;that the appropriate procedure options are used to produce the requested output object. For example, verify that the&lt;BR /&gt;NOPRINT option is not used."&lt;/P&gt;&lt;P&gt;Help is needed to resolve the error and guidance to use the proc mix appropriately to achieve above mentioned requirements for ANCOVA.&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:59:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/m-p/687461#M33180</guid>
      <dc:creator>Arthur2</dc:creator>
      <dc:date>2020-09-29T10:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use proc mixed for ANCOVA model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/m-p/688397#M33181</link>
      <description>&lt;P&gt;Moved to STATS forum&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 22:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/m-p/688397#M33181</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-10-01T22:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use proc mixed for ANCOVA model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/m-p/688524#M33189</link>
      <description>&lt;P&gt;Duplicate post. Answered in this thread&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/td-p/687455" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/td-p/687455&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 14:54:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/m-p/688524#M33189</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2020-10-02T14:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use proc mixed for ANCOVA model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/m-p/688713#M33197</link>
      <description>I think the problem is in the By statement. Provide more details about the by statement. What happens if you run the code without the By statement?</description>
      <pubDate>Sat, 03 Oct 2020 18:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-mixed-for-ANCOVA-model/m-p/688713#M33197</guid>
      <dc:creator>gcjfernandez</dc:creator>
      <dc:date>2020-10-03T18:51:12Z</dc:date>
    </item>
  </channel>
</rss>

