开发者

java linear regression in the logarithmic scale

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜