ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Regression function
Posted by Neil on Apr-28-2016 02:48
Hi
  I am using chart director v5 , and use the Trendlayer to draw regression chart. I have a requirement where I need to use regression but without drawing a chart, I just need the function. How would I do this? I am using the c++ library.

Many thanks
Neil

  Re: Regression function
Posted by Peter Kwan on Apr-28-2016 15:44
Hi Neil,

As ChartDirector is designed as a charting library, not a statistics package, you would need to use the charting API to create a chart. You can then use the TrendLayer.getCoefficient to obtain the parameters. If you don't need the chart, you can choose not to display the chart object.

http://www.advsofteng.com/doc/cdcpp.htm#TrendLayer.getCoefficient.htm

Hope this can help.

Regards
Peter Kwan