Skip to content

Wrong interpretation of the Shapiro-Wilk test #8

Open

Description

@F-A

In the Regression_diagnostics notebook , you are presenting the Shapiro-Wilk test.

The Shapiro-Wilk test's null hypothesis is that the data come from a Gaussian distribution. Therefore, the lower the p-value, the higher the change to reject the Gaussian distribution. The notebook says the opposite:
grafik

Activity

  1. puddlejumper90 commented on Dec 12, 2020

    @puddlejumper90

    Do you have a source article to reference? This might be good for those interested to study.

  2. RRighart commented on Sep 10, 2021

    @RRighart

    Under "Encapsulation", cell 22 you have the line:
    self.fitted_ = np.dot(X,mlr.coef_) + mlr.intercept_

    Where I think "mlr" should be replaced by "self":
    self.fitted_ = np.dot(X,self.coef_) + self.intercept_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions