<?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: Setting a reference value with the class statement using proc MDC in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217412#M11775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the same answer I gave several days ago. For reference, here is the cross-post: &lt;A _jive_internal="true" href="https://communities.sas.com/thread/86212"&gt;https://communities.sas.com/thread/86212&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 13:04:44 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2015-08-12T13:04:44Z</dc:date>
    <item>
      <title>Setting a reference value with the class statement using proc MDC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217406#M11769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to set a reference value to some independant variables in a mixed logit regression using PROC MDC.&lt;/P&gt;&lt;P&gt;Thus, I tried to use the class statement the same way as in the PROC LOGISTIC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class x1(ref='1') /param=ref;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the error 22-322 appears, saying:&lt;/P&gt;&lt;P&gt;"Syntax error, expecting one of the following: a name, a quoted string, (, /, ;, _DATA_, _LAST_, _NULL_."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's wrong? Is it allow to specify a reference value with proc MDC? Note that the class statement used without specifying a reference value works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 17:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217406#M11769</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2015-08-05T17:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a reference value with the class statement using proc MDC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217407#M11770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't specify a reference value, which level of the class variable is used by default?&amp;nbsp; If it is last or first, create a variable that will sort to that position, and sort the data prior to analysis.&amp;nbsp; This is what we had to do before you could specify a reference level in the class statement, and it appears that is the case for this instance of the CLASS statement.&amp;nbsp; Implementation of the CLASS statement in SAS/ETS procedures is not as cohesive as it is in SAS/STAT procedures--only COUNTREG and SEVERITY allow for the specification of reference levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 19:52:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217407#M11770</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-08-05T19:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a reference value with the class statement using proc MDC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217408#M11771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good idea. However, after some tests, I think there is a problem with the class statement using proc MDC (type=mixedlogit). In the results, there is a parameter for the reference value, which is a non-sense. Moreover, this parameter has no standard error. I really don't get why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I'll just create dummy variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 21:14:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217408#M11771</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2015-08-05T21:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a reference value with the class statement using proc MDC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217409#M11772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use of the CLASS statement, and the results from the solution vector are often confusing.&amp;nbsp; If the parameterization is a full rank parameterization, then there will be estimate values for all levels presented, but at least one will not be included.&amp;nbsp; If the parameterization is non-full rank (GLM type), then one level will have a zero estimate, without a standard error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 11:59:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217409#M11772</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-08-11T11:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a reference value with the class statement using proc MDC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217410#M11773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I cannot share the output because I work in a secure lab. The version of SAS I use at home doesn't support the class statement in proc MDC, si I can't reproduce. The syntax is basic, such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose variable "a" has 3 categories.&lt;/P&gt;&lt;P&gt;proc mdc;&lt;/P&gt;&lt;P&gt;class=a;&lt;/P&gt;&lt;P&gt;model y = a b c/&lt;/P&gt;&lt;P&gt;type=mixedlogit nchoice=10 mixed=(normalparm=a);&lt;/P&gt;&lt;P&gt;id id;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not very familiar with concepts such as full rank parameterization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 14:29:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217410#M11773</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2015-08-11T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a reference value with the class statement using proc MDC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217411#M11774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to open a ticket with Tech Services where you can present the exact output in a confidential setting.&amp;nbsp; I have tried three different datasets and cannot produce an error in the output starting with the example data and code for PROC MDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 17:38:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217411#M11774</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-08-11T17:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a reference value with the class statement using proc MDC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217412#M11775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the same answer I gave several days ago. For reference, here is the cross-post: &lt;A _jive_internal="true" href="https://communities.sas.com/thread/86212"&gt;https://communities.sas.com/thread/86212&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 13:04:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Setting-a-reference-value-with-the-class-statement-using-proc/m-p/217412#M11775</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-08-12T13:04:44Z</dc:date>
    </item>
  </channel>
</rss>

