FlexPro
HistoryBase
Ingénierie
Formation
Téléchargements
Support FlexPro
Connaissance
Communauté
À propos de nous
Références
Emplois
Contact général
Liste des revendeurs
Support FlexPro
FR
DE
EN
Porte-plaquette
Produits et solutions
Support et téléchargements
Entreprise
Magazine
Contact
Langue
MyWeisang

Paramètres du compte.

Topic

to display the results of the regression formula on the chart type ?

Page d'accueil ' Communauté ' FPScript ' to display the results of the regression formula on the chart type ?

Voir les messages de 6 - 1 à 6 (sur un total de 6)
  • Auteur
    Messages
  • #33192
    sylvain bressieux
    Participant

    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]

    #33197
    sylvain bressieux
    Participant

    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]

    #33193
    Bernhard Kantz
    Participant

    Use 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]} * x

    support@weisang.com

    #33194
    sylvain bressieux
    Participant

    Why 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]

    #33195
    Bernhard Kantz
    Participant

    The 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.

    support@weisang.com

    #33196
    sylvain bressieux
    Participant

    I found the problem, I had not checked the right option that is “the result type Dynamically calculated regression coefficients”
    thank you for everything

Voir les messages de 6 - 1 à 6 (sur un total de 6)
  • Vous devez être connecté pour répondre à ce sujet.