I have a set of 2 data vectors representing X and Y. I was able to plot them using JFreeChart both on a linear and a logarithmic scale. On the linear scale the curve is exponantial and on the logarithmic scale the curve appears to b开发者_开发百科e linear. What I want to do is to calculate the parametrs a and b of the linear curve in the logarithmic scale.
I do understand regression in the linear domain, i can use least square method for that but how can i do it in the logarithmic domain? How can I do linear regression on the logarithmic representation of my curve?
Anyone can help by clarifying how can i proceed?
AFAIK, nonlinear regression is not a feature of JFreeChart. From your description, it sounds like the data may be amenable to a linearization transformation, which would reduce the problem to a linear regression.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论