You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to understand all steps in quantity calculation, I rebuilt the medianconversion factor calculation. I was aming for the same results.
But unfortunately I didn't get them. After little investigation I figured out that in your calculation conversion factors replaced by inf (division by zero) are not removed before calculating the median. Why are those values beeing kept, what is the idea behind that? Or is it simply a bug?
best regards
The text was updated successfully, but these errors were encountered:
Fixed in this commit by removing Inf values from the calculation.
But this problem of conversion factors equal to Inf would be better solved earlier by changing 0 quantities to NA values. In other words, a zero quantity doesn't make sense, it should be replaced by a missing value. This might be done in an earlier stage. I'll mark this issue as solved for now.
As it is the same topic, I just want to mention that 0 conversion factors exists as well (due to 0 weight) in medianconversion factor calculation. If inf values are removed, 0 values should be removed too - I would consider it just as the same problem.
In order to understand all steps in quantity calculation, I rebuilt the medianconversion factor calculation. I was aming for the same results.
But unfortunately I didn't get them. After little investigation I figured out that in your calculation conversion factors replaced by inf (division by zero) are not removed before calculating the median. Why are those values beeing kept, what is the idea behind that? Or is it simply a bug?
best regards
The text was updated successfully, but these errors were encountered: