Closed ahaselsteiner closed 6 years ago
This is likely an error caused by the viroconcom package since the LognormalDistribution instance returns the same values for mu and scale. The mu value is correct, the scale value incorrect.
LognormalDistribution
Interestingly, if the parameter is independent the mu value is correct.
This ist the output of LN LN(power, exp) model:
I narrowed the problem further down.
When a mu is dependent the BasicFit objects are incorrect. They have scale value, which is too low. It is ln(scale) of the correct scale value.
When the BasicFits objects are cretated, they are correct:
The Fitting module seems to send correct BasicFits. However, they seem to get altered later:
I think I got it:
Yes, that was the problem.
Solved it:
This is fixed. It was fixed on Master.
I'm submitting a ...
Expected behavior
How should it work (with the bug fixed or the feature implemented)? The fits should get displayed correctly.
Screenshot
Actual behavior
How does it currently work (with the bug causing problems or without the feature)? The fits are plotted wrongly. The mu values are too low, precisely ln(correct value). The "fit of fits" plot is correct, however. The equation for mu is correct too.
Screenshot Wrong fit and correct "fit of fits":
Used model and correct equation:
Steps to reproduce the problem (how to see the actual behavior)