<?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 How to use only months up to month t-1 in a procedure(growing sample / Expanding Window of Data) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-only-months-up-to-month-t-1-in-a-procedure-growing/m-p/391703#M20444</link>
    <description>&lt;P&gt;I am using CRSP data which has firms(permnos) and monthly data for returns for a long time period&amp;nbsp;and the Fama French 3 factors. I created a time column which equals to 0 if January 1963 and goes up 1 each month. Counter is counting the months for each permno(resets to 1 when a new permno comes in). So my data looks like this;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Permno &amp;nbsp; &amp;nbsp;Date &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TIme &amp;nbsp;Counter &amp;nbsp; &amp;nbsp;exret&amp;nbsp; &amp;nbsp; SMB &amp;nbsp; &amp;nbsp;HML &amp;nbsp; MKT_RF &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;10001 &amp;nbsp; &amp;nbsp; &amp;nbsp;19630131 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(There are obviously numbers in exret&amp;nbsp;through mkt_rf)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10001 &amp;nbsp; &amp;nbsp; &amp;nbsp;19630228 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10001 &amp;nbsp; &amp;nbsp; &amp;nbsp;19630331 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(the dots here are not missing values but I put them to show there are &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;other values inbetween)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10001 &amp;nbsp; &amp;nbsp; &amp;nbsp;19830131 &amp;nbsp; &amp;nbsp; 240&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;241&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10002&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;19860131 &amp;nbsp; &amp;nbsp; &amp;nbsp;276&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;10002 &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;19860228 &amp;nbsp; &amp;nbsp; &amp;nbsp; 277 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10002 &amp;nbsp; &amp;nbsp;20100728&amp;nbsp; &amp;nbsp; &amp;nbsp; 570 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 295&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10003. &amp;nbsp;&amp;nbsp;20030430&amp;nbsp; &amp;nbsp; &amp;nbsp; 483 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10003. &amp;nbsp;&amp;nbsp;20030531&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;484&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I want to do is to use an "expanding window of data" or in other words use only the data in months 1 through t-1 in whatever&amp;nbsp;procedure is being used. I heard this can either be done with a macro or a data step. Any method would be fine with me. The procedure I am using is an EGARCH model (below) but please do not be discouraged from answering if you are not familiar with this model, because what I am interested is only the data step or macro that will allow me to select my sample to include upto month t-1 for each month t,&amp;nbsp;you can answer by showing how to use this macro/data step with another procedure you are familiar with such as PROC REG.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc autoreg data= test ;&lt;BR /&gt;model exret = mkt_rf smb hml / &amp;nbsp;garch=( q=1, p=1 , type = exp) maxit=500 ;&lt;BR /&gt;output out=out cev=vhat ;&lt;BR /&gt;by permno;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to 1)avoid the look ahead bias that arises from using whole sample 2)avoid having the return for month t(exret) from getting into the equation when calculating estimates fro month t.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I want is that for each permno, if it is month 30 I want this code to use the data available upto 29 to give an estimate for month 30, in month 31 use data upto month 30 to give an estimate for month 31 and so on until however many months there is for that permno. (I am interested in the estimates of cev(conditional variance)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I created the counter variable for this purpose if it helps. I thought to write something like " if counter = x do above procedure using data between&amp;nbsp;counter= 1 to counter= x-1 for each permno"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I said it doesnt necessarily have to be for the above procedure you can give an example of how to do this with another regression model you are familiar with.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I thank everyone who will reply for their help in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Aug 2017 00:35:48 GMT</pubDate>
    <dc:creator>aka2</dc:creator>
    <dc:date>2017-08-30T00:35:48Z</dc:date>
    <item>
      <title>How to use only months up to month t-1 in a procedure(growing sample / Expanding Window of Data)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-only-months-up-to-month-t-1-in-a-procedure-growing/m-p/391703#M20444</link>
      <description>&lt;P&gt;I am using CRSP data which has firms(permnos) and monthly data for returns for a long time period&amp;nbsp;and the Fama French 3 factors. I created a time column which equals to 0 if January 1963 and goes up 1 each month. Counter is counting the months for each permno(resets to 1 when a new permno comes in). So my data looks like this;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Permno &amp;nbsp; &amp;nbsp;Date &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TIme &amp;nbsp;Counter &amp;nbsp; &amp;nbsp;exret&amp;nbsp; &amp;nbsp; SMB &amp;nbsp; &amp;nbsp;HML &amp;nbsp; MKT_RF &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;10001 &amp;nbsp; &amp;nbsp; &amp;nbsp;19630131 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(There are obviously numbers in exret&amp;nbsp;through mkt_rf)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10001 &amp;nbsp; &amp;nbsp; &amp;nbsp;19630228 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10001 &amp;nbsp; &amp;nbsp; &amp;nbsp;19630331 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(the dots here are not missing values but I put them to show there are &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;other values inbetween)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10001 &amp;nbsp; &amp;nbsp; &amp;nbsp;19830131 &amp;nbsp; &amp;nbsp; 240&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;241&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10002&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;19860131 &amp;nbsp; &amp;nbsp; &amp;nbsp;276&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;10002 &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;19860228 &amp;nbsp; &amp;nbsp; &amp;nbsp; 277 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10002 &amp;nbsp; &amp;nbsp;20100728&amp;nbsp; &amp;nbsp; &amp;nbsp; 570 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 295&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10003. &amp;nbsp;&amp;nbsp;20030430&amp;nbsp; &amp;nbsp; &amp;nbsp; 483 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10003. &amp;nbsp;&amp;nbsp;20030531&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;484&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I want to do is to use an "expanding window of data" or in other words use only the data in months 1 through t-1 in whatever&amp;nbsp;procedure is being used. I heard this can either be done with a macro or a data step. Any method would be fine with me. The procedure I am using is an EGARCH model (below) but please do not be discouraged from answering if you are not familiar with this model, because what I am interested is only the data step or macro that will allow me to select my sample to include upto month t-1 for each month t,&amp;nbsp;you can answer by showing how to use this macro/data step with another procedure you are familiar with such as PROC REG.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc autoreg data= test ;&lt;BR /&gt;model exret = mkt_rf smb hml / &amp;nbsp;garch=( q=1, p=1 , type = exp) maxit=500 ;&lt;BR /&gt;output out=out cev=vhat ;&lt;BR /&gt;by permno;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to 1)avoid the look ahead bias that arises from using whole sample 2)avoid having the return for month t(exret) from getting into the equation when calculating estimates fro month t.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I want is that for each permno, if it is month 30 I want this code to use the data available upto 29 to give an estimate for month 30, in month 31 use data upto month 30 to give an estimate for month 31 and so on until however many months there is for that permno. (I am interested in the estimates of cev(conditional variance)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I created the counter variable for this purpose if it helps. I thought to write something like " if counter = x do above procedure using data between&amp;nbsp;counter= 1 to counter= x-1 for each permno"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I said it doesnt necessarily have to be for the above procedure you can give an example of how to do this with another regression model you are familiar with.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I thank everyone who will reply for their help in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 00:35:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-only-months-up-to-month-t-1-in-a-procedure-growing/m-p/391703#M20444</guid>
      <dc:creator>aka2</dc:creator>
      <dc:date>2017-08-30T00:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use only months up to month t-1 in a procedure(growing sample / Expanding Window of Data)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-only-months-up-to-month-t-1-in-a-procedure-growing/m-p/391704#M20445</link>
      <description>&lt;P&gt;Something along the lines of the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where date &amp;lt; %sysfunc(intnx('month', %sysfunc(today()), -1, 'b');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 00:47:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-only-months-up-to-month-t-1-in-a-procedure-growing/m-p/391704#M20445</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-30T00:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use only months up to month t-1 in a procedure(growing sample / Expanding Window of Data)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-only-months-up-to-month-t-1-in-a-procedure-growing/m-p/420183#M22114</link>
      <description>&lt;P&gt;You may want to check the paper by Guo, Kassa, and Ferguson (2014), as they explain the look ahead bias in estimating the condition variance of time t using the return of time t per se. The authors offer two approaches to avoid the look ahead bias:&lt;/P&gt;&lt;P&gt;1- To estimate the EGARCH model parameters, set the sample from month 1 to month t-1. Then put the parameter estimates into Equation 8 of the paper (expected variance).&lt;/P&gt;&lt;P&gt;2- "Set the sample over the period from month 1 to month t and arbitrarily set the month t return to be a missing observation".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2017 16:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-only-months-up-to-month-t-1-in-a-procedure-growing/m-p/420183#M22114</guid>
      <dc:creator>DavyJones</dc:creator>
      <dc:date>2017-12-11T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use only months up to month t-1 in a procedure(growing sample / Expanding Window of Data)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-only-months-up-to-month-t-1-in-a-procedure-growing/m-p/506815#M26038</link>
      <description>&lt;P&gt;Dear aka2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on my thesis and I am trying to do the exact same code, but i am strugling a bit. Can you please help me.&lt;/P&gt;&lt;P&gt;Could you do it in the end. I am new to SAS and have been having a bit of trouble constructing the code. But I am using a macro and started by modifying a code for a rolling window from WHarton Website.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I also have a doubt. Because, given the model you were trying to estimate, and that I am also trying to estimate.(it is the same) the prediction for t, will be out-of -sample prediction. But I have been trying to undertsand the difference between the differen output options CEV and CPEV, and I understood the CEV would be in sample prediction no?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mariana&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 13:19:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-only-months-up-to-month-t-1-in-a-procedure-growing/m-p/506815#M26038</guid>
      <dc:creator>marianafalcao</dc:creator>
      <dc:date>2018-10-23T13:19:21Z</dc:date>
    </item>
  </channel>
</rss>

