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

Function windsorize() ignores outliers with low values #28

Open
MarkoBarzic opened this issue May 5, 2019 · 0 comments
Open

Function windsorize() ignores outliers with low values #28

MarkoBarzic opened this issue May 5, 2019 · 0 comments

Comments

@MarkoBarzic
Copy link

Function windsorize() returns vector that has had only higher outliers windsorized, while the lower outliers remains as they are.
For example, if we have vector
x<- (-20, 1, 2, 3, 4, 5, 6, 7, 8, 9, 20)
windsorize(x) will return
-20, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9.
It should return the following:
-9.5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14.5

MarkoBarzic added a commit to MarkoBarzic/datacleaner that referenced this issue May 6, 2019
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

1 participant