<?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 Accounting for zero inflated data as response in glimmix in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Accounting-for-zero-inflated-data-as-response-in-glimmix/m-p/721316#M9812</link>
    <description>&lt;P&gt;Hello, everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using the proc glimmix approach for quite some time now to account for random effects while exploring my response of interest, but now I have a new variable, which is zero inflated, and I want to take it into account as a response. There are 76 samples with values different than zero and 238 with 0 as value (Bd_load). I also have the binomial option of the variable (Bd_presence), which replaces the values above 0 by 1, but does not change the ratio of 0/ non zero.&lt;/P&gt;&lt;P&gt;That's my model:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC GLIMMIX DATA=Bddata plots=all;
CLASS lake;
MODEL observed_spp = Bd_load julian_date altitude longitude human_impact / link=log s dist=negbin DDFM=SATTERTH; 
random lake;
RUN;&lt;/PRE&gt;&lt;P&gt;Where observed_spp is the number of species observed in each sample, julian_date/ altitude/ longitude/ human_impact are quantitative variables without any zero and Bd_load indicates my zero inflated vector. My question is: do I need to treat this variable in a special way so it can be correctly taken into account, or it can be considered like that, since it is an explanatory variable and not my response?&lt;BR /&gt;I tried to change the order and ran the following model&lt;/P&gt;&lt;PRE&gt;PROC GLIMMIX DATA=Bddata plots=all;
CLASS lake;
MODEL Bd_load = observed_spp julian_date altitude longitude human_impact / link=log s dist=negbin DDFM=SATTERTH; 
random lake;
RUN;&lt;/PRE&gt;&lt;P&gt;to see if the model was correctly structured for zero inflated data, but it did not converge using the variable as the response and negative binomial as distribution.&lt;BR /&gt;Does someone know what I could change to correctly consider my variable?&lt;BR /&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Adriana&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2021 16:08:44 GMT</pubDate>
    <dc:creator>adrianacravo</dc:creator>
    <dc:date>2021-02-23T16:08:44Z</dc:date>
    <item>
      <title>Accounting for zero inflated data as response in glimmix</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Accounting-for-zero-inflated-data-as-response-in-glimmix/m-p/721316#M9812</link>
      <description>&lt;P&gt;Hello, everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using the proc glimmix approach for quite some time now to account for random effects while exploring my response of interest, but now I have a new variable, which is zero inflated, and I want to take it into account as a response. There are 76 samples with values different than zero and 238 with 0 as value (Bd_load). I also have the binomial option of the variable (Bd_presence), which replaces the values above 0 by 1, but does not change the ratio of 0/ non zero.&lt;/P&gt;&lt;P&gt;That's my model:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC GLIMMIX DATA=Bddata plots=all;
CLASS lake;
MODEL observed_spp = Bd_load julian_date altitude longitude human_impact / link=log s dist=negbin DDFM=SATTERTH; 
random lake;
RUN;&lt;/PRE&gt;&lt;P&gt;Where observed_spp is the number of species observed in each sample, julian_date/ altitude/ longitude/ human_impact are quantitative variables without any zero and Bd_load indicates my zero inflated vector. My question is: do I need to treat this variable in a special way so it can be correctly taken into account, or it can be considered like that, since it is an explanatory variable and not my response?&lt;BR /&gt;I tried to change the order and ran the following model&lt;/P&gt;&lt;PRE&gt;PROC GLIMMIX DATA=Bddata plots=all;
CLASS lake;
MODEL Bd_load = observed_spp julian_date altitude longitude human_impact / link=log s dist=negbin DDFM=SATTERTH; 
random lake;
RUN;&lt;/PRE&gt;&lt;P&gt;to see if the model was correctly structured for zero inflated data, but it did not converge using the variable as the response and negative binomial as distribution.&lt;BR /&gt;Does someone know what I could change to correctly consider my variable?&lt;BR /&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Adriana&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 16:08:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Accounting-for-zero-inflated-data-as-response-in-glimmix/m-p/721316#M9812</guid>
      <dc:creator>adrianacravo</dc:creator>
      <dc:date>2021-02-23T16:08:44Z</dc:date>
    </item>
  </channel>
</rss>

