<?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: ANCOVA with 3 categorical variable-SAS studio in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674688#M9331</link>
    <description>&lt;P&gt;oh, I understand now, that was my omission. Use this MODEL statement with the SOLUTION option&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model y = x cat1 cat2 cat3/solution;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Aug 2020 10:40:25 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-08-05T10:40:25Z</dc:date>
    <item>
      <title>ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674525#M9320</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am trying to do ANCOVA using the SAS studio for three categories based on data. Please may i know how can i use 3 categorical variables at the same time? My collaborators used the same data and used the SAS enterprise guide (which i don't have) and used 3 variables together. using 1 variable is not helping me to reproduce similar results. I need to reproduce the same results for further analysis.&lt;/P&gt;&lt;P&gt;Here i have attached the data and results from SAS enterprise guide,&lt;/P&gt;&lt;P&gt;In the data &lt;STRONG&gt;zero (o)&lt;/STRONG&gt; means "&lt;STRONG&gt;without diet"&lt;/STRONG&gt;, and &lt;STRONG&gt;one (1)&lt;/STRONG&gt; means "&lt;STRONG&gt;with diet&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;Please help me, Thanks,&lt;BR /&gt;Khem&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674525#M9320</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-04T19:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674530#M9322</link>
      <description>&lt;P&gt;We really would benefit from seeing the code used by your collaborators. Neverthess, this code should produce an ANCOVA with 3 categorical variables (which I have named CAT1 CAT2 and CAT3) and one covariate (which I have named X)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=have;
    class cat1 cat2 cat3;
    model y = x cat1 cat2 cat3;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:31:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674530#M9322</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-04T19:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674570#M9323</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp; Thanks for the quick response,&lt;/P&gt;&lt;P&gt;I ran again with your suggested code,&lt;/P&gt;&lt;P&gt;I could up to typeIII values and F values, this is great, Exact same like my collaborator,&lt;/P&gt;&lt;P&gt;I attached my results too (SAS_studio...pdf)&lt;/P&gt;&lt;P&gt;But i am not able to get the estimate and t and Pr&amp;gt;t values (please check the attached file [ancova_cassie...] for results from a collaborator) like my collaborators had,&lt;/P&gt;&lt;P&gt;Please can you help me on this too,&lt;/P&gt;&lt;P&gt;They used SAS enterprise guide, so i am not sure, if they will have codes for them,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 20:24:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674570#M9323</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-04T20:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674592#M9324</link>
      <description>&lt;P&gt;Generally, I do not download attachments. Please post the relevant information as a screen capture in your message.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 21:27:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674592#M9324</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-04T21:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674619#M9325</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Okay,&lt;/P&gt;&lt;P&gt;Here i dropped the screen images for the results of my collaborator (first one with blue font) and mine (image with black&amp;amp;white font). My results are based on your previous suggestion. I got similar values for TypeIII and Pr&amp;gt;F like my collaborator, which is great. Your suggestion is in the perfect and right direction for my data. Please kindly suggest me how can I get similar intercept and Pr&amp;gt;t values too? for the reference, I also put the image of my datasheet.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_1-1596585071512.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47978i8FB9869FAD479B60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_1-1596585071512.png" alt="khem_1-1596585071512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_2-1596585100121.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47979i182013E8755B04F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_2-1596585100121.png" alt="khem_2-1596585100121.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_3-1596585287412.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47980iA5DEEB3CC7EC3098/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_3-1596585287412.png" alt="khem_3-1596585287412.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: Here&amp;nbsp;&lt;SPAN&gt;In the data zero (o) means "&lt;STRONG&gt;without diet&lt;/STRONG&gt;", and one (1) means "&lt;STRONG&gt;with diet&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Khem&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 23:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674619#M9325</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-04T23:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674621#M9326</link>
      <description>&lt;P&gt;I don't see any similarity. It doesn't even look like you have the same data or the same response variable. &lt;/P&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;You really need to confirm you have the same data and are using the same code.&lt;/DIV&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Aug 2020 00:43:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674621#M9326</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-05T00:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674625#M9327</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am really sorry,&lt;/P&gt;&lt;P&gt;I uploaded the wrong file of my collaborator,&lt;/P&gt;&lt;P&gt;Here i attached the right file of my collaborator, along with my same results (after your suggestion, black&amp;amp;whilte figure) and data from my previous post,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_0-1596588309757.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47981iE324F05A4497188C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_0-1596588309757.png" alt="khem_0-1596588309757.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_2-1596588360207.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47983iFF1A8DC0FCBA922E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_2-1596588360207.png" alt="khem_2-1596588360207.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_1-1596588329258.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47982iAC31E2CDF926617F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_1-1596588329258.png" alt="khem_1-1596588329258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here I got similar values for TypeIII and Pr&amp;gt;F like my collaborator,&amp;nbsp;now i need to get same intercept, estimates, Pr&amp;gt;t values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry again,&lt;/P&gt;&lt;P&gt;Khem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 00:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674625#M9327</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-05T00:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674627#M9328</link>
      <description>&lt;P&gt;You don't show the intercept or estimates for the 2nd analysis.&lt;/P&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Aug 2020 00:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674627#M9328</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-05T00:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674640#M9330</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second analysis i did,&amp;nbsp; based on your first suggestion but when i ran your equation in SAS studio, I didn't get the intercept, estimates and Pr&amp;gt;t values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;do i need to add something into your previous equation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khem&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 04:08:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674640#M9330</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-05T04:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674688#M9331</link>
      <description>&lt;P&gt;oh, I understand now, that was my omission. Use this MODEL statement with the SOLUTION option&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model y = x cat1 cat2 cat3/solution;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 10:40:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674688#M9331</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-05T10:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674832#M9332</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, it worked,&lt;/P&gt;&lt;P&gt;Here is the image&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_0-1596655037627.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48005i8D146BAF81CF3720/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_0-1596655037627.png" alt="khem_0-1596655037627.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the same estimate and Pr&amp;gt;t values for all three diets,&lt;/P&gt;&lt;P&gt;Only one doubt, the estimate of intercept is not matching,&lt;/P&gt;&lt;P&gt;My collaborator had 1.26 (in previous post figure) but mine is 2.60. Does it matter? do i need to make any changes?&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Khem&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:22:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674832#M9332</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-05T19:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674834#M9333</link>
      <description>&lt;P&gt;That's very odd, and I don't have an explanation about how everything can be the same except the intercept.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:31:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674834#M9333</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-05T19:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674843#M9334</link>
      <description>&lt;P&gt;Oh,&lt;/P&gt;&lt;P&gt;Here i attached my codes, if it may help you,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_0-1596656741980.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48006iAEAB63879F92E789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_0-1596656741980.png" alt="khem_0-1596656741980.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_1-1596656788788.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48007i5BE48B2486E5E322/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_1-1596656788788.png" alt="khem_1-1596656788788.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khem&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674843#M9334</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-05T19:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674897#M9335</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to bother you again,&lt;/P&gt;&lt;P&gt;is it possible to reproduce your model for ANCOVA in R?&lt;/P&gt;&lt;P&gt;If yes, can you suggest to me how? what should i add for solution (SAS studio) option in R?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khem&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 05:21:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674897#M9335</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-06T05:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674940#M9336</link>
      <description>&lt;P&gt;You need to ask your question in an R forum and not in a SAS forum.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 10:40:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/674940#M9336</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-06T10:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/675914#M9342</link>
      <description>&lt;P&gt;The simplest explanation for why your Intercept estimate differs from your colleague is that you used different centering values when you standardized the covariate (CRP_A). When you called PROC STDIZE, you centered by the data mean and data stdDev. If your colleague centered by another value, he/she would get a different intercept estimate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example that shows the same PROC GLM statements. The first analysis centers the data by subtracting the value 20. The second call centers the X variable by subtracting the sample mean. All estimates are the same except for the Intercept.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
set sashelp.class;
ageCat = (Age&amp;lt;13);
heightCat = (Height&amp;lt;62);
call streaminit(1);
x = rand("Normal", 20, 1);
run;

title "Colleague Analysis";
proc stdize data=class out=class1 add=-20;
var x;
run;

proc glm data=class1 plots=none;
class Sex ageCat heightCat;
model weight = x Sex ageCat heightCat / solution;
ods select ParameterEstimates;
quit;

/*------------------*/
proc stdize data=class out=class2;
var x;
run;

title "My Analysis";
proc glm data=class2 plots=none;
class Sex ageCat heightCat;
model weight = x Sex ageCat heightCat / solution;
ods select ParameterEstimates;
quit;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Aug 2020 13:59:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/675914#M9342</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-08-11T13:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/676638#M9344</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the explanation,&lt;/P&gt;&lt;P&gt;I tried to understand your example and compare it with my code,&lt;/P&gt;&lt;P&gt;Looks like my code is similar to your second example (please correct me if i am wrong),&lt;/P&gt;&lt;P&gt;If I want to get the same intercept estimate like my colleague (they used SAS enterprise and i don't have their code), do i need to remove the method part?&amp;nbsp;&lt;/P&gt;&lt;P&gt;AS you defined X= rand...., i cant do guess for CRP_A&lt;/P&gt;&lt;PRE class="language-sas"&gt;&lt;CODE&gt;x = rand("Normal", 20, 1);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or add = -20&lt;/P&gt;&lt;P&gt;I am sorry, but i don't know what change to i need to make? i am still a newbie to SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guide me, what change is needed in my code?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khem&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 05:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/676638#M9344</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-14T05:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/676675#M9345</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;If I want to get the same intercept estimate like my colleague &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt; (they used SAS enterprise and i don't have their code),...&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. If you want to get the same estimate, the easiest solution is to contact your colleague. This will enable you to understand what is happening.&lt;/P&gt;
&lt;P&gt;2. If the problem is caused by different centering of X (and we do not know for certain that it is), then both models will give the same predicted variables. Only the parameterization is different, but they represent the same predictive model. Thus there is really no need to get the same estimates.&lt;/P&gt;
&lt;P&gt;3. If you can't do #1 and you aren't convinced by #2 and you insist on getting the same answer, then center CRP_A by using the value -1.681563224. That is, use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ADD =&amp;nbsp;-1.681563224&lt;/P&gt;
&lt;P&gt;on the PROC STDIZE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Be aware that #3 is a hack. The best solution is #1.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 10:16:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/676675#M9345</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-08-14T10:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/676800#M9346</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the tips,&lt;/P&gt;&lt;P&gt;I added ADD =&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;-1.681563224 but i couldn't get the same intercept estimate (please see the image). By the way, how do you calculate the value for&amp;nbsp; ADD?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I asked my colleague for the details, how i can get the code,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Just for curiosity, does it possible to get code from SAS enterprise guide version?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_0-1597424944674.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48244i8794003552BA7BF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_0-1597424944674.png" alt="khem_0-1597424944674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 17:12:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/676800#M9346</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-08-14T17:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA with 3 categorical variable-SAS studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/690268#M9424</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing ANCOVA with three categorical variable. But i am confused about how to represent the results in a graph/plot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a box/scatter, i dont know how it works, this is my first time doing using SAS studio,&lt;/P&gt;&lt;P&gt;Please someone can guide me on this, i would appreciate the support,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khem_1-1602219122133.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50411i190BCAA7D5CED92E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khem_1-1602219122133.png" alt="khem_1-1602219122133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 04:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ANCOVA-with-3-categorical-variable-SAS-studio/m-p/690268#M9424</guid>
      <dc:creator>khem</dc:creator>
      <dc:date>2020-10-09T04:55:49Z</dc:date>
    </item>
  </channel>
</rss>

