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

Add residuals functions #5

Merged
merged 7 commits into from
Mar 20, 2024
Merged

Conversation

jsahrmann
Copy link
Contributor

This PR adds functionality for calculating residuals between a given vector of data and a specified reference distribution and for identifying the optimal distribution of these residuals. It also incorporates this functionality into the main detect.outliers() function. New scripts/functions include the following:

  • R/calculate.residuals.R/calculate.residuals()
  • R/identify.bic.optimal.residuals.distribution.R/identify.bic.optimal.residuals.distribution()

Calculate residuals in observed data and identify their optimal
distribution in function `detect.outliers()`.
Correct documentation of parameter `distribution` for function
`calculate.residuals()`
Qualify namespace in a few more function calls in
`R/calculate.residuals.R`.
Add code to `detect.outliers()` to avoid errors handling data frame
input to `calculate.residuals()`.
@jsahrmann jsahrmann requested a review from jeeyunhan March 4, 2024 16:25
@jeeyunhan jeeyunhan merged commit d79c991 into main Mar 20, 2024
2 checks passed
@jsahrmann jsahrmann deleted the jsahrmann-add-residuals-functions branch May 28, 2024 18:03
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

Successfully merging this pull request may close these issues.

2 participants