• mxeff@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    But this takes only into consideration the two selected point used to calculate the the slope and intercept. All other point will not exactly lie on linear function. And as you can choose any combination of two point you will get again infinitely many different parametrization a of the linear model.

    • Clinicallydepressedpoochie@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      5 days ago

      But if it is a linear function it doesnt matter if you only use two points. Unless the function is not linear. If the line isn’t completely smooth you could also use a polynomial function that would fit the curve. Unless it exhibits exponential behavior why would you ever model it as an exponential if linear or polynomial models the data more accurately?

      • mxeff@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        5 days ago

        But if the data originates from an exponential, any selection of two points will yield a different slope, because the data point lie not exactly on a straight line.

        You suggested to model it linearly, that is what we are discussing here.

          • mxeff@feddit.org
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            5 days ago

            Your data, no because I have no access to the actually values. But just a plot of a line that seems very straight (but does not necessarily need to be), and measuring it manually will introduce some noise.

            In my data, that I generated, yes there I know for a fact that it is from an exponential.

              • mxeff@feddit.org
                link
                fedilink
                arrow-up
                2
                ·
                5 days ago

                I am well aware what a graph is and that it shows the actually values, but to obtain some actually values to perform manually some calculations we need to extract some explicit values from the image. This is however not arbitrarily precise and therefore will add some noise to the extracted values.

                My data is simply y = exp(x).

                  • mxeff@feddit.org
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    5 days ago

                    In the case I am discussing, the data is generated using the exponential function exp(x).