<?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: reference values in GENMOD v8.2 in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/reference-values-in-GENMOD-v8-2/m-p/71507#M3458</link>
    <description>Matt,&lt;BR /&gt;
Thanks for the quick response. My question was even more basic, but I think you answered by implication. Can I assume that SAS sorts formatted values alphabetically and then uses the last one as the reference? Is this true for all variable types (binary, numeric, character)?&lt;BR /&gt;
-- mc</description>
    <pubDate>Wed, 01 Jun 2011 17:41:20 GMT</pubDate>
    <dc:creator>MarthaAnne</dc:creator>
    <dc:date>2011-06-01T17:41:20Z</dc:date>
    <item>
      <title>reference values in GENMOD v8.2</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/reference-values-in-GENMOD-v8-2/m-p/71505#M3456</link>
      <description>I'm working in an OpenVMS batch environment which is still running SAS v8.2. In this version, PROC GENMOD does have a CLASS statement, but this statement doesn't have any options. So I can't specify reference values for the covariates with, for example, (ref='a'). I've been unable to find anything in the v8 documentation explaining what SAS uses for reference values for binary, continuous, or categorical covariates. Does anyone know?&lt;BR /&gt;
&lt;BR /&gt;
Before you suggest it, upgrading is not an option. Also, I'm not a statistician, I just play one at work. So go easy on the jargon.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Tue, 31 May 2011 20:53:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/reference-values-in-GENMOD-v8-2/m-p/71505#M3456</guid>
      <dc:creator>MarthaAnne</dc:creator>
      <dc:date>2011-05-31T20:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: reference values in GENMOD v8.2</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/reference-values-in-GENMOD-v8-2/m-p/71506#M3457</link>
      <description>Hi:&lt;BR /&gt;
&lt;BR /&gt;
A time-honored approach is to use formats - with the default descending order, a prefix of "z." on your desired category will force it to be last in the sort order, hence the base class (assuming 0/1 design matrix coding).&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/*default "M" is base class */&lt;BR /&gt;
proc genmod data=sashelp.class;&lt;BR /&gt;
	class sex;&lt;BR /&gt;
	model height = age sex;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
/* forcing "F" to be the base class */&lt;BR /&gt;
proc format;&lt;BR /&gt;
	value $sex&lt;BR /&gt;
	"F" = "z.F"&lt;BR /&gt;
	;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc genmod data=sashelp.class;&lt;BR /&gt;
	class sex;&lt;BR /&gt;
	model height = age sex;&lt;BR /&gt;
	format sex $sex.;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
-Matt</description>
      <pubDate>Wed, 01 Jun 2011 12:17:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/reference-values-in-GENMOD-v8-2/m-p/71506#M3457</guid>
      <dc:creator>MattF</dc:creator>
      <dc:date>2011-06-01T12:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: reference values in GENMOD v8.2</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/reference-values-in-GENMOD-v8-2/m-p/71507#M3458</link>
      <description>Matt,&lt;BR /&gt;
Thanks for the quick response. My question was even more basic, but I think you answered by implication. Can I assume that SAS sorts formatted values alphabetically and then uses the last one as the reference? Is this true for all variable types (binary, numeric, character)?&lt;BR /&gt;
-- mc</description>
      <pubDate>Wed, 01 Jun 2011 17:41:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/reference-values-in-GENMOD-v8-2/m-p/71507#M3458</guid>
      <dc:creator>MarthaAnne</dc:creator>
      <dc:date>2011-06-01T17:41:20Z</dc:date>
    </item>
  </channel>
</rss>

