<?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: Stability of how people answered questions over time in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/569673#M28028</link>
    <description># of transitions out of public housing each year&lt;BR /&gt;% of transitions out of public housing each year&lt;BR /&gt;# of transitions into public housing each year (new)&lt;BR /&gt;% of public housing each year&lt;BR /&gt;% stayed the same. Those three metrics (which add to 1) should give you a starting point.</description>
    <pubDate>Fri, 28 Jun 2019 00:02:33 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-06-28T00:02:33Z</dc:date>
    <item>
      <title>Stability of how people answered questions over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/569625#M28027</link>
      <description>&lt;P&gt;I have a set of data where I'm hoping to get some statistics on how stable people answer some questions over time. For example, here is the percentage of participants who answered Yes/No that they live in public housing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;TD&gt;2010&lt;/TD&gt;&lt;TD&gt;2012&lt;/TD&gt;&lt;TD&gt;2013&lt;/TD&gt;&lt;TD&gt;2014&lt;/TD&gt;&lt;TD&gt;2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;78%&lt;/TD&gt;&lt;TD&gt;87%&lt;/TD&gt;&lt;TD&gt;80%&lt;/TD&gt;&lt;TD&gt;86%&lt;/TD&gt;&lt;TD&gt;84%&lt;/TD&gt;&lt;TD&gt;80%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;22%&lt;/TD&gt;&lt;TD&gt;13%&lt;/TD&gt;&lt;TD&gt;20%&lt;/TD&gt;&lt;TD&gt;14%&lt;/TD&gt;&lt;TD&gt;16%&lt;/TD&gt;&lt;TD&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, it seems to be fairly stable, where similar percentage of people answered Yes across time, but I would like some kind of statistics to show it beyond just showing percentages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what the data looks like. Each year, the sample of participants is different (i.e., the same participants were not followed over time).&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Participant ID&lt;/TD&gt;&lt;TD&gt;Public Housing&lt;/TD&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2010&lt;/TD&gt;&l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/TD&gt;&lt;TD&gt;2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;19&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;24&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have ideas of what statistics I can use? Thank you in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 20:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/569625#M28027</guid>
      <dc:creator>wfung</dc:creator>
      <dc:date>2019-06-27T20:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stability of how people answered questions over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/569673#M28028</link>
      <description># of transitions out of public housing each year&lt;BR /&gt;% of transitions out of public housing each year&lt;BR /&gt;# of transitions into public housing each year (new)&lt;BR /&gt;% of public housing each year&lt;BR /&gt;% stayed the same. Those three metrics (which add to 1) should give you a starting point.</description>
      <pubDate>Fri, 28 Jun 2019 00:02:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/569673#M28028</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-28T00:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Stability of how people answered questions over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/569689#M28029</link>
      <description>&lt;P&gt;Two simple tests would be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=have;
class year;
model housing = year / dist=binary;
run;

proc freq data=have;
table year*housing / chisq;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Jun 2019 03:20:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/569689#M28029</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-06-28T03:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Stability of how people answered questions over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570580#M28074</link>
      <description>&lt;P&gt;Thank you for the suggestions! I tried both.&lt;/P&gt;&lt;P&gt;Using GLIMMIX:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Over the entire period, the Type III Tests of Fixed Effects show Year is significant, F=6.61, p&amp;lt;.0001.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I subset the data to the two years that are close in percentage of "Yes" then the results non-significant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using chi-square test:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Over the entire period, Chi-square=62.48, p&amp;lt;.0001.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I subset the data to the two years that are close in percentage of "Yes" then the results non-significant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since we're talking about simple models, is SURVEYLOGISTIC&amp;nbsp;appropriate? I ask because it will allow me to use strata and cluster information in the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using&amp;nbsp;SURVEYLOGISTIC:&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Analysis of Maximum Likelihood Estimates shows Year is non-significant, t=-1.14, p=.97&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 14:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570580#M28074</guid>
      <dc:creator>wfung</dc:creator>
      <dc:date>2019-07-02T14:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Stability of how people answered questions over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570672#M28078</link>
      <description>&lt;P&gt;Looks like you had lots more information that presented in your original question. You don't give enough clues for us to guess why p &amp;lt; 0.0001 would become p = 0.97 when taking strata and clusters into account.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 17:50:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570672#M28078</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-07-02T17:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stability of how people answered questions over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570680#M28080</link>
      <description>&lt;P&gt;I apologize for that. Also, the p=.97 was a typo. I mistakenly ran the model on a different variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me try again. Here are the three models I tried on the same Housing variable (0 or 1) and Year variable (2010-2015).&amp;nbsp;Thanks for your patience.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc glimmix&lt;/STRONG&gt; data=temp;&lt;BR /&gt;weight Weight;&lt;BR /&gt;class Year;&lt;BR /&gt;model housing (event="1")= Year / dist=binary;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;This results in p&amp;lt;.0001.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc surveylogistic&lt;/STRONG&gt; data=temp ;&lt;BR /&gt;weight Weight;&lt;BR /&gt;model housing (Event='1') = Year;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;This results in p=.07&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc surveylogistic&lt;/STRONG&gt; data=temp ;&lt;BR /&gt;strata Region Cycle;&lt;BR /&gt;cluster Cluster;&lt;BR /&gt;weight Weight;&lt;BR /&gt;model housing (Event='1') = Year;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;This results in p=.26&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like even without strata and cluster the results differ between GLIMMIX and SURVEYLOGISTIC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found similar results with the other variables I'm looking at. That is, in most cases GLIMMIX&amp;nbsp;would have significant p-value and SURVEYLOGISTIC (without strata or cluster) would have non-significant p-value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I'm trying to understand which one is more appropriate, GLIMMIX or&amp;nbsp;SURVEYLOGISTIC.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 18:16:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570680#M28080</guid>
      <dc:creator>wfung</dc:creator>
      <dc:date>2019-07-02T18:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Stability of how people answered questions over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570685#M28081</link>
      <description>&lt;P&gt;The main difference that I can spot is that you didn't specify YEAR as a class variable in surveylogistic. That changes the model entirely.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 18:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570685#M28081</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-07-02T18:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stability of how people answered questions over time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570745#M28082</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;Here's what the correctly specified SURVEYLOGISTIC model shows (without strata and cluster so I can compare to the GLIMMIX model). It's similar to the GLIMMIX model (i.e., both significant).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc surveylogistic&lt;/STRONG&gt; data=temp;&lt;BR /&gt;weight Weight;&lt;BR /&gt;class Year;&lt;BR /&gt;model Housing (Event='1') = Year;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type 3 Analysis of Effects:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Year is significant, p=.02&lt;/P&gt;&lt;P&gt;Analysis of Maximum Likelihood Estimates&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Year 2010: p=.18&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2011: p=.29&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2012: p=.57&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2013: p=.96&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2014: p=.72&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2015: p=.40&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will need to put in strata and cluster for the final model as it is more accurate for my data. The results are:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type 3 Analysis of Effects:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Year is non-significant, p=.47&lt;/P&gt;&lt;P&gt;Analysis of Maximum Likelihood Estimates&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Year 2010: p=.31&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2011: p=.61&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2012: p=.57&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2013: p=.55&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2014: p=.82&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2015: p=.32&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:56:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stability-of-how-people-answered-questions-over-time/m-p/570745#M28082</guid>
      <dc:creator>wfung</dc:creator>
      <dc:date>2019-07-02T19:56:58Z</dc:date>
    </item>
  </channel>
</rss>

