<?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: Non-normal data:  zeros in my data-set in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Non-normal-data-zeros-in-my-data-set/m-p/521440#M4202</link>
    <description>&lt;P&gt;You could try TWEEDIE distribution if your response variable is &amp;gt;=0 .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc genmod;&lt;/P&gt;
&lt;P&gt;model y=x /dist=tweedie ;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2018 12:58:23 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2018-12-14T12:58:23Z</dc:date>
    <item>
      <title>Non-normal data:  zeros in my data-set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Non-normal-data-zeros-in-my-data-set/m-p/521366#M4191</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is description of my data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8 animals&lt;/P&gt;&lt;P&gt;2 treatments (diets)&lt;/P&gt;&lt;P&gt;24 hourly measurements&amp;nbsp;&lt;/P&gt;&lt;P&gt;4 days of repeated measurements per treatment&lt;/P&gt;&lt;P&gt;(I have a total of 1344 data points)&lt;/P&gt;&lt;P&gt;The response variable, chews/min, is continuous.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added a column (timeblock) and coded all the hourly observations into one of 8 3-hr time-blocks because it made more sense to analyze the data this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was going to do a mixed model with repeated measures with my primary interest being the forage*timeblock interaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But here is the problem.&amp;nbsp; There are certain hours where some of the animals were not eating, and I have recorded values of 0 for the response variable. This obviously is making the data non-normal.&amp;nbsp; Actually, all of the data that is non-zero looks as if it would follow a normal distribution.&amp;nbsp; However, the zeros create a problem.&amp;nbsp; My understanding is that transformations won't help this.&amp;nbsp; I cannot treat the zeros as outliers and remove them - this is actually important to the study (that there are certain times of day when consumption rate is low and how this differs by diet treatment). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on how to work with and analyze this data would be much appreciated.&amp;nbsp; If there is any additional information that I have not provided that would make it easier to answer this question or would be required in order to give a full and informed answer, please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 03:43:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Non-normal-data-zeros-in-my-data-set/m-p/521366#M4191</guid>
      <dc:creator>jrw187</dc:creator>
      <dc:date>2018-12-14T03:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Non-normal data:  zeros in my data-set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Non-normal-data-zeros-in-my-data-set/m-p/521418#M4198</link>
      <description>&lt;P&gt;I suggest you look at the FMM (finite mixture model) documentation to assess whether it will suit your needs. It&amp;nbsp;enables you to&amp;nbsp;model the data as a combination of a normal and a zero-inflated distribution. THe doc has &lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=statug_fmm_examples02.htm&amp;amp;locale=en" target="_self"&gt;one example about cows eating that you might find relevant&lt;/A&gt;, and another example that shows &lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_fmm_gettingstarted02.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;how to handle the zero-inflated portion of the model.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you decide that you need a mixed model, then I think you will need to look at PROC NLMIXED. If you do an internet search&amp;nbsp;for the terms:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;nlmixed zero inflated model sas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you will find several resources that describe the process.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 10:56:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Non-normal-data-zeros-in-my-data-set/m-p/521418#M4198</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-12-14T10:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Non-normal data:  zeros in my data-set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Non-normal-data-zeros-in-my-data-set/m-p/521440#M4202</link>
      <description>&lt;P&gt;You could try TWEEDIE distribution if your response variable is &amp;gt;=0 .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc genmod;&lt;/P&gt;
&lt;P&gt;model y=x /dist=tweedie ;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 12:58:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Non-normal-data-zeros-in-my-data-set/m-p/521440#M4202</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-12-14T12:58:23Z</dc:date>
    </item>
  </channel>
</rss>

