Topic
Regression line
Startseite ' Community ' Allgemein ' Regression line
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 18 Jahren von Henning Zurborn aktualisiert.
-
AutorBeiträge
-
15.05.2007 um 19:24 Uhr #34009Henning ZurbornTeilnehmer
I have a scatter diagram with 130000 measuing points. I need a regression line. What funktion can i use? I tried something, but found nothing jet.
15.05.2007 um 19:24 Uhr #34011Henning ZurbornTeilnehmerI have a scatter diagram with 130000 measuing points. I need a regression line. What funktion can i use? I tried something, but found nothing jet.
16.05.2007 um 00:39 Uhr #34010Bernhard KantzTeilnehmerYou can either use the [b]Approximation[/b] Analysis Object or the [b]Regression[/b] Analysis Object.
With the Approximation analysis object you can approximate a given model to your data based on the least square error method. Use the Intial function Constant and X.
With the Regression analysis object you can calculate the Linear Regression. You can choose whether you would like the result to be the regression function, i.e. a formula in which the calculated coefficients were inserted, or the regression coefficients as data series with three values. The third value in the data series is the goodness-of-fit measure.
Both analysis objects use the FPScript function [b]Approximation[/b].
Example:[code]
Dim _c = Approximation(Signal, APPROX_C + APPROX_X)
Signal(_c[0] + _c[1] * (Signal.X), Signal.X)
[/code]
support@weisang.com -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.