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

Outliers incorrectly plotted in Cook's d bar plot #12

Closed
aravindhebbali opened this issue Jun 3, 2017 · 1 comment
Closed

Outliers incorrectly plotted in Cook's d bar plot #12

aravindhebbali opened this issue Jun 3, 2017 · 1 comment
Assignees
Labels
bug
Milestone

Comments

@aravindhebbali
Copy link
Member

@aravindhebbali aravindhebbali commented Jun 3, 2017

ols_cooksd_barplot() does not plot all outliers correctly.

> library(caret)
> data("Sacramento")
> lm_fit2 <- lm(price  ~ beds + baths + log(sqft), data = Sacramento)
> ols_cooksd_barplot(lm_fit2)

rplot

@aravindhebbali aravindhebbali added the bug label Jun 3, 2017
@aravindhebbali aravindhebbali self-assigned this Jun 3, 2017
@aravindhebbali aravindhebbali added this to the v0.2.0 milestone Jun 5, 2017
aravindhebbali added a commit that referenced this issue Jun 5, 2017
@aravindhebbali
Copy link
Member Author

@aravindhebbali aravindhebbali commented Jun 5, 2017

ols_cooksd_barplot() plots the outliers correctly.

> library(olsrr)
> library(caret)
> data("Sacramento")
> lm_fit2 <- lm(price  ~ beds + baths + log(sqft), data = Sacramento)
> ols_cooksd_barplot(lm_fit2)

rplot03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.