Topic
to display the results of the regression formula on the chart type ?
Startseite ' Community ' FPScript ' to display the results of the regression formula on the chart type ?
- Dieses Thema hat 5 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 15 Jahren, 7 Monaten von sylvain bressieux aktualisiert.
-
AutorBeiträge
-
12.10.2009 um 20:02 Uhr #33192sylvain bressieuxTeilnehmer
Hello,
On my chart, I have a curve data and a linear regression line, and I’d like to display the results of the regression formula on the chart type
A.X = Y + B.
How does one on FlexPro?Thank you in advance for your reply
Example:
[img]uid6438_linear regression.bmp[/img]12.10.2009 um 20:02 Uhr #33197sylvain bressieuxTeilnehmerHello,
On my chart, I have a curve data and a linear regression line, and I’d like to display the results of the regression formula on the chart type
A.X = Y + B.
How does one on FlexPro?Thank you in advance for your reply
Example:
[img]uid6438_linear regression.bmp[/img]12.10.2009 um 22:58 Uhr #33193Bernhard KantzTeilnehmerUse the analysis object [b]Linear Regression[/b] (New|Curve Fitting|Linear Regression) to calculate the linear regression. Choose the result type [b]Dynamically calculated regression coefficients[/b]. Rename the analysis object into “Regression”.
Insert a label in the 2D-diagram with the content: Y = %{Regression[0]} + %{Regression[1]} * x13.10.2009 um 20:10 Uhr #33194sylvain bressieuxTeilnehmerWhy when I use “Calculate regression” coefficients calculated are accurate
(in our example a = 0.2359 …, and b = -4.4705 …)[img]uid6438_linear regression1.bmp[/img]But showing on the curve, the result is not the same!
[img]uid6438_linear regression2.bmp[/img]14.10.2009 um 18:26 Uhr #33195Bernhard KantzTeilnehmerThe script is correct. We cannot reproduce your problem. Perhaps the diagram is not up-to-date. Please click on [b]Update[/b] or [b]Force Update[/b].
If this suggestion doesn’t solve your problem, please send your database together with the information about your FlexPro version (8.0.xx) to support@weisang.com.
14.10.2009 um 20:47 Uhr #33196sylvain bressieuxTeilnehmerI found the problem, I had not checked the right option that is “the result type Dynamically calculated regression coefficients”
thank you for everything -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.