It appears V2.00 has some issues by using defined functions: log(x) and log2(x)

  • 2 Replies
  • 647 Views
*

xntang88

  • Newbie
  • *
  • 6
    • View Profile
It appears that in V2.00, log2(x) does not work in user defined functions. In fact, log(x) is actually ln(x). Is there any function for log10(x)?

For example, (f()*log2(x) + 4) does not work, but (f()*log(x)+4) works.

Also, when a perfect fitting function exits in the customized function, why R squared value becomes 0. In this case, R-squared value should be close to 1.0
« Last Edit: November 24, 2021, 06:27:45 am by xntang88 »

*

admin

  • Administrator
  • Newbie
  • *****
  • 18
    • View Profile
You are right, log2(x) is being ignored if you type it in a custom formula. This is a small bug that is affecting only this particular function.

Also, the R-squared is indeed being calculated as 0 for a perfect fit, which is another bug. For fits that are not perfect the result is correct though.

Thanks for reporting, both of these will be fixed soon.

log10(x) is not available, but meanwhile you can compute it with log(x)/log(10), and the same for log2(x).

*

xntang88

  • Newbie
  • *
  • 6
    • View Profile
Great. Thanks.