<?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 NOTE: c1 is not estimable.  NOTE: CONTRAST c1 is not estimable. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/NOTE-c1-is-not-estimable-NOTE-CONTRAST-c1-is-not-estimable/m-p/636047#M188893</link>
    <description>&lt;P&gt;Can anyone explain why I keep getting this note:&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasNote"&gt;NOTE: c1 is not estimable.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: CONTRAST c1 is not estimable.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;It will not print out the contrast because of this. I tried other contrasts and I get the same result even though it worked before.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data car;
infile cards expandtabs;
input mm year mpg @@;
cards;
1	2005	26.5
2	2005	24.5
3	2005	27.5
4	2005	30.5
5	2005	20.5
6	2005	26.5
7	2005	29
8	2005	26.5
1	2010	23.5
2	2010	22.5
3	2010	27.5
4	2010	28.5
5	2010	21.5
6	2010	23.5
7	2010	27.5
8	2010	27
1	2015	26.5
2	2015	26
3	2015	32.5
4	2015	30
5	2015	25
6	2015	26
7	2015	30
8	2015	28.5
1	2020	23.5
2	2020	25
3	2020	33.5
4	2020	28.5
5	2020	25
6	2020	27
7	2020	35
8	2020	32
;

proc glm data=car;
	class mm year;
	model mpg= mm year;
	output out=car1 predicted=ypred residual=res;
	means mm year;
run;

proc univariate data=car1 plot normal;
	var res;
run;

proc glm data=car1;
	class mm year;
	model mpg= mm year;
	estimate 'c1' mm 0 0 1 -1 0 0 -1 0;
	contrast 'c1' mm 0 0 1 -1 0 0 -1 0;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 31 Mar 2020 01:23:18 GMT</pubDate>
    <dc:creator>abudyak</dc:creator>
    <dc:date>2020-03-31T01:23:18Z</dc:date>
    <item>
      <title>NOTE: c1 is not estimable.  NOTE: CONTRAST c1 is not estimable.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-c1-is-not-estimable-NOTE-CONTRAST-c1-is-not-estimable/m-p/636047#M188893</link>
      <description>&lt;P&gt;Can anyone explain why I keep getting this note:&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasNote"&gt;NOTE: c1 is not estimable.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: CONTRAST c1 is not estimable.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;It will not print out the contrast because of this. I tried other contrasts and I get the same result even though it worked before.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data car;
infile cards expandtabs;
input mm year mpg @@;
cards;
1	2005	26.5
2	2005	24.5
3	2005	27.5
4	2005	30.5
5	2005	20.5
6	2005	26.5
7	2005	29
8	2005	26.5
1	2010	23.5
2	2010	22.5
3	2010	27.5
4	2010	28.5
5	2010	21.5
6	2010	23.5
7	2010	27.5
8	2010	27
1	2015	26.5
2	2015	26
3	2015	32.5
4	2015	30
5	2015	25
6	2015	26
7	2015	30
8	2015	28.5
1	2020	23.5
2	2020	25
3	2020	33.5
4	2020	28.5
5	2020	25
6	2020	27
7	2020	35
8	2020	32
;

proc glm data=car;
	class mm year;
	model mpg= mm year;
	output out=car1 predicted=ypred residual=res;
	means mm year;
run;

proc univariate data=car1 plot normal;
	var res;
run;

proc glm data=car1;
	class mm year;
	model mpg= mm year;
	estimate 'c1' mm 0 0 1 -1 0 0 -1 0;
	contrast 'c1' mm 0 0 1 -1 0 0 -1 0;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Mar 2020 01:23:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-c1-is-not-estimable-NOTE-CONTRAST-c1-is-not-estimable/m-p/636047#M188893</guid>
      <dc:creator>abudyak</dc:creator>
      <dc:date>2020-03-31T01:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: c1 is not estimable.  NOTE: CONTRAST c1 is not estimable.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-c1-is-not-estimable-NOTE-CONTRAST-c1-is-not-estimable/m-p/636063#M188897</link>
      <description>&lt;P&gt;The values of the linear hypothesis vector should sum up to zero, for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=car1;
	class mm year;
	model mpg= mm year;
	estimate 'c1' mm 0 0 2 -1 0 0 -1 0;
	contrast 'c1' mm 0 0 2 -1 0 0 -1 0;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Mar 2020 03:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-c1-is-not-estimable-NOTE-CONTRAST-c1-is-not-estimable/m-p/636063#M188897</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-03-31T03:27:10Z</dc:date>
    </item>
  </channel>
</rss>

