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 started box cox #6

Closed
a3eille opened this issue Dec 19, 2024 · 0 comments · Fixed by #7
Closed

Add started box cox #6

a3eille opened this issue Dec 19, 2024 · 0 comments · Fixed by #7
Assignees

Comments

@a3eille
Copy link
Collaborator

a3eille commented Dec 19, 2024

We want to have the possibility to transform the observations with a started box cox using (pseudo code):

StartedBoxCox(value, power, scaling):
if(value < 0)
           warning message
if(value <= scaling)
         return value
else
         if(power>0)
                 return scaling * (1 + (((pow(value / scaling, power)) - 1) /power));
         elif (power = 0)
                  return scaling * (1 + log(values/scaling))
         else
                     error

(No transformation between 0 and scaling, then Box-Cox transformation with power parameter applied to the scaled value)

  • add started_boxcox function in the code
  • GUI :1 new parameters: scaling; if the scaling is negative, assumes that the user uses the box cox, otherwise, assumes that the started box cox should be used.
  • harmonize variable names and warnings for the box cox and started box cox
@a3eille a3eille self-assigned this Dec 19, 2024
@a3eille a3eille linked a pull request Dec 20, 2024 that will close this issue
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 a pull request may close this issue.

1 participant