FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

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

Home page Community FPScript to display the results of the regression formula on the chart type ?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.