<?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 Questions about the Polynomial Distribution Lag Models in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Questions-about-the-Polynomial-Distribution-Lag-Models/m-p/63751#M3016</link>
    <description>Hi!&lt;BR /&gt;
I am using the PDL model to analyze the correlation between 8-days insect abundances and weather conditions. I also want to adjust for seasonality and first order autoregressive term in the model.  Here is my models.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DATA SF_MODEL; SET PDL.SF_ALL_F;&lt;BR /&gt;
sea=sin(2*3.14*(image/46));&lt;BR /&gt;
PROC PDLREG data=SF_MODEL;&lt;BR /&gt;
MODEL tarsalis=tavg(4,3) rh(4,3) prec(4,3) sea / nlag=1 partial;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
My questions is:&lt;BR /&gt;
1. Is it right to use "sea" to adjust the seasonality in the model? (46 is the total observation numbers of each year).&lt;BR /&gt;
&lt;BR /&gt;
2. Does the statement "nlag=1" in the model option indicate that adjustment of the first order autoregressive term?&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot!</description>
    <pubDate>Mon, 09 May 2011 21:05:30 GMT</pubDate>
    <dc:creator>buski</dc:creator>
    <dc:date>2011-05-09T21:05:30Z</dc:date>
    <item>
      <title>Questions about the Polynomial Distribution Lag Models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Questions-about-the-Polynomial-Distribution-Lag-Models/m-p/63751#M3016</link>
      <description>Hi!&lt;BR /&gt;
I am using the PDL model to analyze the correlation between 8-days insect abundances and weather conditions. I also want to adjust for seasonality and first order autoregressive term in the model.  Here is my models.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DATA SF_MODEL; SET PDL.SF_ALL_F;&lt;BR /&gt;
sea=sin(2*3.14*(image/46));&lt;BR /&gt;
PROC PDLREG data=SF_MODEL;&lt;BR /&gt;
MODEL tarsalis=tavg(4,3) rh(4,3) prec(4,3) sea / nlag=1 partial;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
My questions is:&lt;BR /&gt;
1. Is it right to use "sea" to adjust the seasonality in the model? (46 is the total observation numbers of each year).&lt;BR /&gt;
&lt;BR /&gt;
2. Does the statement "nlag=1" in the model option indicate that adjustment of the first order autoregressive term?&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot!</description>
      <pubDate>Mon, 09 May 2011 21:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Questions-about-the-Polynomial-Distribution-Lag-Models/m-p/63751#M3016</guid>
      <dc:creator>buski</dc:creator>
      <dc:date>2011-05-09T21:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about the Polynomial Distribution Lag Models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Questions-about-the-Polynomial-Distribution-Lag-Models/m-p/63752#M3017</link>
      <description>You mentioned 8 days, but your model is for 4 lags (time window of 5: current and previous 4). Is that what you want. You specified a cubic polynomial for the parameter constraints, which is just one degree less than the maximum (i.e., with no constraints). I think you are not gaining the advantages of PDL regression. With only 46 observations, I think you have an over-parameterized model. I have used PDL regression a lot, and you need a lot of data points to reliably estimate the parameters and determine the time length and polynomial order. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Your nlag option is fine for a 1-st order AR residual term. &lt;BR /&gt;
&lt;BR /&gt;
Your seasonality term is probably OK, but it doesn't give you much flexibility. You might have to look into using a smoothing spline, but this can't be done within PDLREG. You would have to do this in another procedure, store the residuals, and then use PDLREG on the residuals. I suggest you check out the article by Schwartz (Epidemiology 11: 320-326 [2000]). Also check out Madden and Paul (Phytopathology 100: 1015-1029 [2010]).</description>
      <pubDate>Tue, 10 May 2011 12:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Questions-about-the-Polynomial-Distribution-Lag-Models/m-p/63752#M3017</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2011-05-10T12:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about the Polynomial Distribution Lag Models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Questions-about-the-Polynomial-Distribution-Lag-Models/m-p/63753#M3018</link>
      <description>Thanks a lot!!&lt;BR /&gt;
I will modify the number of lag terms in the model and also check whether I need the cubic polynomial term.&lt;BR /&gt;
&lt;BR /&gt;
I just wanna make sure that the AR(1) and seasonality adjustment are appropriate.&lt;BR /&gt;
&lt;BR /&gt;
Actually, I have data for 4 years so the OBS will be 184. (I understand this is a small sample size). &lt;BR /&gt;
&lt;BR /&gt;
I am interested in the smooth spline method to adjust the seasonality. Could you tell more about that? Thanks!</description>
      <pubDate>Tue, 10 May 2011 15:41:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Questions-about-the-Polynomial-Distribution-Lag-Models/m-p/63753#M3018</guid>
      <dc:creator>buski</dc:creator>
      <dc:date>2011-05-10T15:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about the Polynomial Distribution Lag Models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Questions-about-the-Polynomial-Distribution-Lag-Models/m-p/63754#M3019</link>
      <description>The references I mentioned deal with the subject.</description>
      <pubDate>Mon, 16 May 2011 12:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Questions-about-the-Polynomial-Distribution-Lag-Models/m-p/63754#M3019</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2011-05-16T12:45:16Z</dc:date>
    </item>
  </channel>
</rss>

