<?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: Analyzing case counts across years in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164973#M8628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The warning has to do with a range of 12 for variables with a mean of 2006.&amp;nbsp; To get around it, select a common year as a baseline (2000 in the example), and subtract that from all the year values in data step.&amp;nbsp; Then use the elapsed time since baseline (0, 1, 2, 3,...) as the right hand side variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as time series, a course would be useful.&amp;nbsp; Check out the offerings by SAS under Forecasting and Econometrics on their training pages.&amp;nbsp; It is a field where hands on learning is essential in the early stages.&amp;nbsp; The later, more theoretical, parts are not as data driven, but do require thinking differently than you ordinarily would think about designed experiments or surveys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2014 17:43:11 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2014-12-30T17:43:11Z</dc:date>
    <item>
      <title>Analyzing case counts across years</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164969#M8624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking at case counts for various diseases from 2001-2013.&amp;nbsp; I can plot the data (cases by year) but I'm having a hard time figuring out how to measure the increase or decrease (or no change) over that time span.&amp;nbsp; I considered using regression (proc reg) but I'm not sure year meets the continuous assumption.&amp;nbsp; I'm also not sure I can use proc reg for what is basically summary data.&amp;nbsp; This seems like a pretty standard thing to do but my google search keywords aren't giving me what I need.&amp;nbsp; Maybe I just don't know the right language.&amp;nbsp; Any help is appreciated.&amp;nbsp; Below is an example of the data for one of the diseases:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;TD&gt;COUNT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2001&lt;/TD&gt;&lt;TD&gt; 1,489 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2002&lt;/TD&gt;&lt;TD&gt; 1,612 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2003&lt;/TD&gt;&lt;TD&gt; 2,039 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2004&lt;/TD&gt;&lt;TD&gt; 2,537 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2005&lt;/TD&gt;&lt;TD&gt; 2,837 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2006&lt;/TD&gt;&lt;TD&gt; 3,031 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2007&lt;/TD&gt;&lt;TD&gt; 2,943 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2008&lt;/TD&gt;&lt;TD&gt; 2,384 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2009&lt;/TD&gt;&lt;TD&gt; 2,394 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2010&lt;/TD&gt;&lt;TD&gt; 4,430 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2011&lt;/TD&gt;&lt;TD&gt; 5,214 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2012&lt;/TD&gt;&lt;TD&gt; 4,142 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2013&lt;/TD&gt;&lt;TD&gt; 3,298 &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 23:46:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164969#M8624</guid>
      <dc:creator>Ryanb2</dc:creator>
      <dc:date>2014-12-29T23:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing case counts across years</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164970#M8625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have no covariates? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This his is times series data so you can google time series analysis, but a basic plot and proc reg are good places to start. a basic test if the slope is not equal to zero. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 05:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164970#M8625</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-12-30T05:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing case counts across years</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164971#M8626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go with &lt;A __default_attr="255172" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;'s suggestion of PROC REG as a first approximation.&amp;nbsp; Be sure to look at the Durbin-Watson statistic (looking for autocorrelation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just eyeballing the data, it appears that there is both a trend and a cyclicity (period approximately 7 years) for this data.&amp;nbsp; To get at that, you are probably going to have use some of the time series procedures in SAS/ETS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 14:36:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164971#M8626</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-12-30T14:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing case counts across years</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164972#M8627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Reeza and Steve.&amp;nbsp; I'm just doing some preliminary analyses on 60+ diseases.&amp;nbsp; From the results of the preliminary analyses we'll pick some to look look at more closely (i.e. time series, possibly multivariate).&amp;nbsp; From your responses it sounds like I can use proc reg and look at the slope as a basic test.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting a warning "WARNING: The range of variable year is so small relative to its mean that there may be loss of accuracy in the computations."&amp;nbsp; I was worried that the format of the data (summary data), one row for each year, turns year into a categorical variable of sorts.&amp;nbsp; When I look at an example of proc reg work I've done in school, we used a dataset with cases listing age and SBP, and the interpretation of the results (e.g.&amp;nbsp; For every year increase in age we see an increase in SBP of 0.73) is more obvious to me than it is for my current project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any recommendations on time-series resources?&amp;nbsp; I've read a little but it seems complex enough that I might need a class to gain enough understanding to use comfortably.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 17:12:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164972#M8627</guid>
      <dc:creator>Ryanb2</dc:creator>
      <dc:date>2014-12-30T17:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing case counts across years</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164973#M8628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The warning has to do with a range of 12 for variables with a mean of 2006.&amp;nbsp; To get around it, select a common year as a baseline (2000 in the example), and subtract that from all the year values in data step.&amp;nbsp; Then use the elapsed time since baseline (0, 1, 2, 3,...) as the right hand side variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as time series, a course would be useful.&amp;nbsp; Check out the offerings by SAS under Forecasting and Econometrics on their training pages.&amp;nbsp; It is a field where hands on learning is essential in the early stages.&amp;nbsp; The later, more theoretical, parts are not as data driven, but do require thinking differently than you ordinarily would think about designed experiments or surveys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 17:43:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164973#M8628</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-12-30T17:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing case counts across years</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164974#M8629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steve.&amp;nbsp; Much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 17:53:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Analyzing-case-counts-across-years/m-p/164974#M8629</guid>
      <dc:creator>Ryanb2</dc:creator>
      <dc:date>2014-12-30T17:53:07Z</dc:date>
    </item>
  </channel>
</rss>

