<?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: Model for lactation curve(proc NLIN) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Model-for-lactation-curve-proc-NLIN/m-p/402918#M278869</link>
    <description>&lt;P&gt;PROC NLIN fits nonlinear models, but it is up to you to specify the form of the parameters in the model. Your&amp;nbsp;first step should be&amp;nbsp;to do some research to find out how others have modeled the lactation curves.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another thing to consider is that the&amp;nbsp;milk production for each cow&amp;nbsp;is correlated. If you&amp;nbsp;want to model that autocorrelation, you might want to use&amp;nbsp;PROC NLMIXED, where the cow ID is a subject effect.&amp;nbsp; I assume that these cows are all from the same farm? Otherwise, you have nested effects.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 19:38:14 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-10-10T19:38:14Z</dc:date>
    <item>
      <title>Model for lactation curve(proc NLIN)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Model-for-lactation-curve-proc-NLIN/m-p/402793#M278867</link>
      <description>&lt;P&gt;Hi guy&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just wondering if anybody had done a lactation curves for milk records,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset of milk records for one year, and I have 29 variables but I'm interested with some of them as the following columns.&lt;/P&gt;&lt;P&gt;My questions&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1- Is the PROC NLIN the best procedure to fit this lactation curve? and how the model will look like?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MILK_KG&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;TEST_DATE&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Which&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;MILK_KG&lt;/STRONG&gt;&amp;nbsp;column has the milk kg per test with a minimum of&amp;nbsp; 4 tests (four times&amp;nbsp;per season) and maximum of 10 (ten times per season)&amp;nbsp; for each individual cow and&amp;nbsp;&lt;STRONG&gt;TEST_DATE&lt;/STRONG&gt;&amp;nbsp;has the date of those tests.&amp;nbsp; The standard of this test will be ten times per season. the response variable will be&amp;nbsp;&lt;STRONG&gt;MILK_KG.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/SPAN&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 15:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Model-for-lactation-curve-proc-NLIN/m-p/402793#M278867</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2017-10-10T15:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Model for lactation curve(proc NLIN)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Model-for-lactation-curve-proc-NLIN/m-p/402907#M278868</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Proc NLIN&lt;/STRONG&gt; is a general purpose tool for fitting non linear relationships between responses and predictors by least squares. More specialized methods might be more appropriate for your study but you do not provide enough information. What is your study about? Are there any &lt;EM&gt;treatments&lt;/EM&gt; (breed, food, age, drugs, living conditions, time since calving, etc.) that affect lactation in your study?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 19:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Model-for-lactation-curve-proc-NLIN/m-p/402907#M278868</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-10-10T19:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Model for lactation curve(proc NLIN)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Model-for-lactation-curve-proc-NLIN/m-p/402918#M278869</link>
      <description>&lt;P&gt;PROC NLIN fits nonlinear models, but it is up to you to specify the form of the parameters in the model. Your&amp;nbsp;first step should be&amp;nbsp;to do some research to find out how others have modeled the lactation curves.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another thing to consider is that the&amp;nbsp;milk production for each cow&amp;nbsp;is correlated. If you&amp;nbsp;want to model that autocorrelation, you might want to use&amp;nbsp;PROC NLMIXED, where the cow ID is a subject effect.&amp;nbsp; I assume that these cows are all from the same farm? Otherwise, you have nested effects.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 19:38:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Model-for-lactation-curve-proc-NLIN/m-p/402918#M278869</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-10-10T19:38:14Z</dc:date>
    </item>
  </channel>
</rss>

