VOOZH about

URL: https://www.geeksforgeeks.org/machine-learning/statsmodels-omni_normtest-in-python/

⇱ statsmodels.omni_normtest() in Python - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

statsmodels.omni_normtest() in Python

Last Updated : 22 Apr, 2020
With the help of statsmodels.omni_normtest() method, we can get the omnibus test for normality and we use chi^2 score for this statsmodels.omni_normtest() method.
Syntax : statsmodels.omni_normtest(array) Return : Return the omnibus test for normality.
Example #1 : In this example we can see that by using statsmodels.omni_normtest() method, we are able to calculate the omnibus test for normality by using chi^2 score in this method. Output :
NormaltestResult(statistic=1.7004056883060088, pvalue=0.42732824212143383)
Example #2 : Output :
NormaltestResult(statistic=2.02697581498966, pvalue=0.362950830342156)
Comment