Page 1 of 1
Linear Regression
Posted: Tue Jan 17, 2006 5:18 pm
by 9231248
Hello
Does TeeChart Pro v7 support standard linear regression in the form of y=mx+c?
If so please can you provide an example of this. Is it within your demo program?
Cheers
Paul
Posted: Wed Jan 18, 2006 8:54 am
by narcis
Hi Paul,
You can do that with TCustomTeeFunction. There's an example of that at the features demo at All Features\Welcome!\Functions\Extended\Custom y=f(x).
Posted: Wed Jan 18, 2006 11:21 am
by 9231248
Hello
The example shows a simpler formula - Sin, I need to use y=mx+c, can you provide an example of how to use this formula? i.e. where I get m and c from
Cheers
Paul
Calculating regression i.e fitting parameters etc..
Posted: Fri Jan 20, 2006 8:00 am
by 9232649
Hi,
Dont know if this helps, but I think you have to get yourself a component/unit which calculates a regression line, i.e fits parameters, calculates standard deviation for theese,t-values etc.. There are a variety of avaliable products commercial and free. Some also includes diagnostic tests example test for homoscedstic residuals variance etc. Beware however for many of theese avaliable component are not that good of finding best solutions for parameter fits when example mulitcollinearity is present within the independent variables.
I know for example that 1 of steemas employees och ex employee is involved with a company called dewresearch(
www.dewresearch.com) which have a component for regression linear and non-linear. They also offer a good TMtvVector component for increased perfomance using arrays of different types.
Dont know if this helps you, but good luck, let me know how it goes, and if you have any problem, maybe I can assist you in some way.
Best Regards,
Johan Ingemansson
Posted: Mon Jan 30, 2006 12:16 am
by 9337233
I think that you will find that the Trend line function is a linear regression function. Hope this helps.
dan