<?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: Dealing With Significant Deviance and Pearson ChiSquare P-Value in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336495#M17749</link>
    <description>&lt;P&gt;How many observations&amp;nbsp;in your data? &lt;A href="http://blogs.sas.com/content/iml/2016/11/28/goodness-of-fit-large-small-samples.html" target="_self"&gt;For very large data sets, the goodness-of-fit statistics will always reject the null hypothesis. &lt;/A&gt;You can use other statistics (ROC curves, accuracy of predictions on a hold-out sample,...) to assess the fit.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2017 10:31:41 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-02-28T10:31:41Z</dc:date>
    <item>
      <title>Dealing With Significant Deviance and Pearson ChiSquare P-Value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336425#M17737</link>
      <description>&lt;P&gt;Hello Good People!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am analysing students academic performance based on the number of years spent in high school. My major predictor variable is years coded in 1 for (5 years) in high school and 2 for (4years). The response variable is students performance in national exams, which has been categorised based on their success at entering the university. &amp;nbsp;This is&amp;nbsp;coded 1-5, with 5 being the best grade with complete success of university admission. The ordinality of the response variable allows for ordinal logistic regression. I also have other variables such as school type i.e. either top tier or lower tier school can also predict your performance. I also have gender and location of school districts as possible predictors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After runing the logistics, I find that the&amp;nbsp;&lt;STRONG&gt;Score Test for the Proportional Odds Assumption is not held. &amp;nbsp;I did further test (&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;EMPIRACAL PLOTS)&amp;nbsp;&lt;STRONG&gt;to check the parallelism of all predictors with the respon variable and they show very parallel. So I can use visualization of this accept that that the propostional ODDs is met.&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Score Test for the Proportional Odds Assumption&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Chi-Square&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;DF&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Pr&amp;nbsp;&amp;gt;&amp;nbsp;ChiSq&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;3384.2110&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;lt;.0001&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, &amp;nbsp;the deviance and Person p-values are all significant. See below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Deviance and Pearson Goodness-of-Fit Statistics&lt;/STRONG&gt;&lt;/P&gt;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p;&lt;/P&gt;&lt;P&gt;My question is is there anything I can do to continue with this analysis? Can I just continue with the anlysis and ignore the significant Deviance and Pearson p-values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Francios&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 03:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336425#M17737</guid>
      <dc:creator>Francios</dc:creator>
      <dc:date>2017-02-28T03:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing With Significant Deviance and Pearson ChiSquare P-Value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336428#M17738</link>
      <description>&lt;P&gt;NO. You should not .&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Deviance and Pearson Goodness-of-Fit Statistics&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;says your model doesn't fit good.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value/DF should be near 1 if your model fit data very well.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 03:21:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336428#M17738</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-02-28T03:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing With Significant Deviance and Pearson ChiSquare P-Value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336495#M17749</link>
      <description>&lt;P&gt;How many observations&amp;nbsp;in your data? &lt;A href="http://blogs.sas.com/content/iml/2016/11/28/goodness-of-fit-large-small-samples.html" target="_self"&gt;For very large data sets, the goodness-of-fit statistics will always reject the null hypothesis. &lt;/A&gt;You can use other statistics (ROC curves, accuracy of predictions on a hold-out sample,...) to assess the fit.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 10:31:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336495#M17749</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-02-28T10:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing With Significant Deviance and Pearson ChiSquare P-Value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336601#M17760</link>
      <description>&lt;P&gt;The question of sample size here is important. &amp;nbsp;As discussed in &lt;A href="http://support.sas.com/kb/22954" target="_self"&gt;this note&lt;/A&gt;, the test for proportional odds is known to be liberal with small sample sizes. Your graphical assessment might be more important. &amp;nbsp;Also, as discussed in &lt;A href="http://support.sas.com/kb/22630" target="_self"&gt;this note&lt;/A&gt; and in the "Details: Overdispersion: Rescaling the Covariance Matrix" section of the LOGISTIC documentation, the Pearson and deviance statistics require replication within the subpopulations in order to be valid. If there is suitable replication, then the similarity of the two statistics suggests they are providing a reasonable test of fit and their significance could be due to overdispersion or an incorrectly specified model. &amp;nbsp;You might want to try adding complexity to the model (interactions, quadratic terms, splines, etc.) as seems reasonable to try to achieve a correctly specified model. If these statistics are still significant, then you might have a problem with overdispersion. &amp;nbsp;The second note mentioned above discusses this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 15:40:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336601#M17760</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-02-28T15:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing With Significant Deviance and Pearson ChiSquare P-Value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336804#M17771</link>
      <description>Hi Rick,&lt;BR /&gt;&lt;BR /&gt;Thank you for your comment. I have a very large dataset of about 77000 observations. I will implement the ROC curve to see what I get. I will get back to you for further assitance.&lt;BR /&gt;&lt;BR /&gt;Thank you very much!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;&lt;BR /&gt;Francois</description>
      <pubDate>Wed, 01 Mar 2017 00:47:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336804#M17771</guid>
      <dc:creator>Francios</dc:creator>
      <dc:date>2017-03-01T00:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing With Significant Deviance and Pearson ChiSquare P-Value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336806#M17772</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;I thank you very much for the detail comments. I will look at this and if I have questions, I will get back to you.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;&lt;BR /&gt;Francios!</description>
      <pubDate>Wed, 01 Mar 2017 00:50:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dealing-With-Significant-Deviance-and-Pearson-ChiSquare-P-Value/m-p/336806#M17772</guid>
      <dc:creator>Francios</dc:creator>
      <dc:date>2017-03-01T00:50:27Z</dc:date>
    </item>
  </channel>
</rss>

