<?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: Multivariate analysis of multinomial (unordered) in clustered data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/285193#M15063</link>
    <description>&lt;P&gt;One addendum:&lt;/P&gt;&lt;P&gt;The actual problem is that I'd like to allow that observations within centers are correlated, therefore I wanted to specify type=UN. However, this does not work with proc glimmix and dist=mult.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2016 10:14:35 GMT</pubDate>
    <dc:creator>Maya1</dc:creator>
    <dc:date>2016-07-18T10:14:35Z</dc:date>
    <item>
      <title>Multivariate analysis of multinomial (unordered) in clustered data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/284290#M15005</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try model an intercept-only random effects model for 3 correlated outcomes. All outcomes are event-rates from a multinomial distribution (with 3 unordered categories), given by center.&lt;/P&gt;&lt;P&gt;&amp;nbsp;For the multivariate analysis, I have restructured the data as follows:&amp;nbsp; I transposed the data set so that I get 3 rows (one for each dependent variable = response) per center and added an indicator variable (resp_indic) as predictor to indicate which of the 3 outcomes is meant.&lt;/P&gt;&lt;P&gt;In general, if I suppress the intercept and add the indicator resp_indic as random effect, I can model the correlation among the outcomes as multivariate analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works perfectly well in case of event-rates that result from a binomial distribution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX data=ds method=quad;&lt;/P&gt;&lt;P&gt;class resp_indic center;&lt;/P&gt;&lt;P&gt;model event/trial = resp_indic / noint s cl corrb covb ddfm=bw;&lt;/P&gt;&lt;P&gt;random resp_indic / subject=center S type=UN G;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this event/trial notation does not work for multinomial distribution (i.e. the code above with option dist=multinomial link=glogit)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, I tried to model the events on patientlevel, so that the outcomes are not rates any more, but rather the results from the multinomial distribution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data= ds&amp;nbsp; method= quad;&lt;BR /&gt;class resp_indic center patient;&lt;BR /&gt;model response(ref= first)= resp_indic/ noint dist=multinomial link=glogit s;&lt;BR /&gt;random resp_indic /sub= patient (center) group=response G;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, now the intercept cannot be suppressed any more since it is required for the generalized logit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hint is highly appreciated!&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 11:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/284290#M15005</guid>
      <dc:creator>Maya1</dc:creator>
      <dc:date>2016-07-14T11:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis of multinomial (unordered) in clustered data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/284924#M15028</link>
      <description>&lt;P&gt;I assume that the model converges and you get some sort of solution vector. &amp;nbsp;If not, then indeed you will have to remove the noint option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I believe that the correct random statement will have subject=center, and not subject=patient(center). &amp;nbsp;This is because the counts are totaled over patients within a center when you analyze. &amp;nbsp;(At least that is what I think you are trying to do). &amp;nbsp;In this case, patient is actually a subsample.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 18:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/284924#M15028</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-07-15T18:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis of multinomial (unordered) in clustered data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/285171#M15062</link>
      <description>&lt;P&gt;Dear Mr Denham,&lt;/P&gt;&lt;P&gt;thank you for your reply, but it was not exactly what I was looking for.&lt;/P&gt;&lt;P&gt;Probably I should concretise my model: My target population are patients (male or female) with a certain lesion. The location of the lesion is either ectodermal, endodermal or mesodermal (exactly one of the categoried applies).Thus I have following table given per center:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Location \ Gender&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;female&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;male&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;all&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Ectodermal&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N11&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N12&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N1+&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Endodermal&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N21&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N22&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N2+&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Mesodermal&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N31&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N32&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N3+&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N+1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N+2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;N++&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m interested in following 3 eventrates, thereby taking the clustered data [center] into account:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;rate of ectodermal lesions in female : N11/ N+1&lt;/LI&gt;&lt;LI&gt;rate of endodermal lesions in male : N22 / N+2&lt;/LI&gt;&lt;LI&gt;overall rate of mesodermal lesions (i.e in male and female) : N3+ / N++&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Additionally to these eventrates, I want to estimate the correlation among them across different centers. Therefore, I need the multivariate analysis. I tried following code with sub=patient(center) in order to tell SAS that patients are repeated in the dataset for gender=all for the estimation of the event meso in both genders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data= ds&amp;nbsp; method= quad;&lt;BR /&gt;class gender center patient;&lt;BR /&gt;model location (ref= first)= gender/ noint dist=multinomial link=glogit s;&lt;BR /&gt;random gender /sub= patient (center) group=location G type=UN;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to suppress the intercept and add type= UN in order to get the correlation between all 3 eventrates, but with dist=multinomial and link=glogit this is not possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea how I can estimate the 3 eventrates as well as the correlation between them in a random effects model?&lt;/P&gt;&lt;P&gt;Thanks in advance and kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Maya&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 08:27:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/285171#M15062</guid>
      <dc:creator>Maya1</dc:creator>
      <dc:date>2016-07-18T08:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis of multinomial (unordered) in clustered data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/285193#M15063</link>
      <description>&lt;P&gt;One addendum:&lt;/P&gt;&lt;P&gt;The actual problem is that I'd like to allow that observations within centers are correlated, therefore I wanted to specify type=UN. However, this does not work with proc glimmix and dist=mult.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 10:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/285193#M15063</guid>
      <dc:creator>Maya1</dc:creator>
      <dc:date>2016-07-18T10:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis of multinomial (unordered) in clustered data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/285301#M15070</link>
      <description>&lt;P&gt;I would try the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data= ds  method= quad;
class gender center location patient;
model location (ref= first)= gender/ noint dist=multinomial link=glogit s;
random intercept /sub= center group=location G type=UNR;
random intercept/sub= patient(center) group=location G;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;By using type=UNR, you should get correlations, although the correlations in my code would be between centers. &amp;nbsp;The patient(center) should only be a single variance component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still am not completely clear as to the correlations you can get from your data, or if that is actually what you should be looking at. &amp;nbsp;Perhaps odds ratios would be more easily interpreted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 17:28:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multivariate-analysis-of-multinomial-unordered-in-clustered-data/m-p/285301#M15070</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-07-18T17:28:37Z</dc:date>
    </item>
  </channel>
</rss>

