Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong interpretation of the Shapiro-Wilk test #8

Open
F-A opened this issue Oct 15, 2019 · 2 comments
Open

Wrong interpretation of the Shapiro-Wilk test #8

F-A opened this issue Oct 15, 2019 · 2 comments

Comments

@F-A
Copy link

F-A commented Oct 15, 2019

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

@puddlejumper90
Copy link

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

@RRighart
Copy link

RRighart commented Sep 10, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants