<?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: Statistical significant change in median age over time in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Statistical-significant-change-in-median-age-over-time/m-p/178104#M9238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With only this data, I think the first statistical test you might look at is whether there is a significant trend in the data, using linear regression.&amp;nbsp; Without the raw data or error estimates at each time point, I don't see any other way to attack this.&amp;nbsp; Any of the modeling procedures (REG, GLM, MIXED, GENMOD, GLIMMIX, HPMIXED, CALIS) could do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;input year med_age;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;2000 20&lt;/P&gt;&lt;P&gt;2001 22&lt;/P&gt;&lt;P&gt;2002 19&lt;/P&gt;&lt;P&gt;2003 26&lt;/P&gt;&lt;P&gt;2004 23&lt;/P&gt;&lt;P&gt;2005 24&lt;/P&gt;&lt;P&gt;2006 29&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;proc reg data=have;&lt;/P&gt;&lt;P&gt;model med_age=year;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should get you started.&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>Thu, 19 Dec 2013 17:31:07 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-12-19T17:31:07Z</dc:date>
    <item>
      <title>Statistical significant change in median age over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Statistical-significant-change-in-median-age-over-time/m-p/178103#M9237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am hoping to get your expertise on showing whether the change in median age over time is statistically different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, here is what my data looks like:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="529"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="81"&gt;Year&lt;/TD&gt;&lt;TD align="right" class="xl63" width="64"&gt;2000&lt;/TD&gt;&lt;TD align="right" class="xl63" width="64"&gt;2001&lt;/TD&gt;&lt;TD align="right" class="xl63" width="64"&gt;2002&lt;/TD&gt;&lt;TD align="right" class="xl63" width="64"&gt;2003&lt;/TD&gt;&lt;TD align="right" class="xl63" width="64"&gt;2004&lt;/TD&gt;&lt;TD align="right" class="xl63" width="64"&gt;2005&lt;/TD&gt;&lt;TD align="right" class="xl63" width="64"&gt;2006&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;Median Age&lt;/TD&gt;&lt;TD align="right"&gt;20&lt;/TD&gt;&lt;TD align="right"&gt;22&lt;/TD&gt;&lt;TD align="right"&gt;19&lt;/TD&gt;&lt;TD align="right"&gt;26&lt;/TD&gt;&lt;TD align="right"&gt;23&lt;/TD&gt;&lt;TD align="right"&gt;24&lt;/TD&gt;&lt;TD align="right"&gt;29&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any help!&amp;nbsp; What statistical test should I use and please advise on the corresponding SAS code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 16:27:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Statistical-significant-change-in-median-age-over-time/m-p/178103#M9237</guid>
      <dc:creator>kewong</dc:creator>
      <dc:date>2013-12-19T16:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Statistical significant change in median age over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Statistical-significant-change-in-median-age-over-time/m-p/178104#M9238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With only this data, I think the first statistical test you might look at is whether there is a significant trend in the data, using linear regression.&amp;nbsp; Without the raw data or error estimates at each time point, I don't see any other way to attack this.&amp;nbsp; Any of the modeling procedures (REG, GLM, MIXED, GENMOD, GLIMMIX, HPMIXED, CALIS) could do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;input year med_age;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;2000 20&lt;/P&gt;&lt;P&gt;2001 22&lt;/P&gt;&lt;P&gt;2002 19&lt;/P&gt;&lt;P&gt;2003 26&lt;/P&gt;&lt;P&gt;2004 23&lt;/P&gt;&lt;P&gt;2005 24&lt;/P&gt;&lt;P&gt;2006 29&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;proc reg data=have;&lt;/P&gt;&lt;P&gt;model med_age=year;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should get you started.&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>Thu, 19 Dec 2013 17:31:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Statistical-significant-change-in-median-age-over-time/m-p/178104#M9238</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-12-19T17:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Statistical significant change in median age over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Statistical-significant-change-in-median-age-over-time/m-p/486374#M25216</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question that is similar to the one asked in this thread, but in my data, I have the raw data (and can therefore compute the error estimates) for each time point. In this case, what is the best way to analyze the median change over time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some context (and to help you better understand my question), I have a dataset with participants with seizures and want to see if their weekly seizure count (which is actually often a decimal, so not pure "count" data) decreases over the course of therapy. Because average weekly seizures is not normal, I would like to use medians to see if there is a decrease over time. I have the data for each individual without any missing data. My sample size is fairly small. What do you suggest?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-LexE&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 15:05:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Statistical-significant-change-in-median-age-over-time/m-p/486374#M25216</guid>
      <dc:creator>LexE</dc:creator>
      <dc:date>2018-08-13T15:05:24Z</dc:date>
    </item>
  </channel>
</rss>

