Curve-Fit

Curve Fitting by Least Squares

$0.99 · In‑App Purchases · Designed for iPad

Plots and performs a best-fit curve for given X, Y-value pairs by method of Least Squares. Will fit up to 10 different curves to the data set based on user selection. 'CurveFit' uses regression analysis by the method of least squares to find best fit for a set of data to a selected equation. The curve-fitting technique used in this app is based on regression analysis by the method of least squares. The free version fits a straight line through a data-set using least squares analysis. One In-App purchase is required to fit the other equations to the data set: Straight Line : Y = C0 + C1*X (free) Power Curve : Y = C0 + X^C1 Exponential I : Y = C0 * EXP(C1*X) Exponential II : Y = C0 * X * EXP(C1*X) Hyperbolic : Y = (C0 + C1*X)/(1 - C2*X) Square Root : Y = C0 + C1*SQRT(X) Polynomial : Y = C0 + C1*X + --- + CN*X^N Exponential Poly : Y = C0 * EXP(C1*X + --- + Natural Log : Y = C0 + C1*(LN(X)) + --- + Reciprocal : Y = C0 + C1/X + --- + CN/X^N Most literature deals with least squares analysis for straight lines, 2nd degree polynomials, and functions that can be linearized. The input-data is transformed into a format that the can be put into linear forms with undetermined constants. These types of equations are applicable for least-squares regression. The regression routine is needed for determining values for the set of unknown quantities C1, C2,- - - ,Cm in the equation: Y = C1 x F1(X) + C2 x F2(X) + - - - + Cm x Fm(X) The constants are determined to minimize the sum of squares of the differences between the measured values (Y1, Y2, - - - , Yn) and the predicted equation Yc = F(X) which is found by curve-fitting the given data. The principle of least squares is to find the values for the unknowns C1 through Cm that will minimize the sum of the squares of the residuals: n ∑(ri) = r12 + r22 + - - - + rn2 = minimum i=1 This is done by letting the derivative of the above equation equal zero. Thereby there will be generated as many algebraic equations as given data points, and the number of equations will be larger than unknowns.

  • 5.0
    out of 5
    1 Ratings

Upgraded to latest IOS SDK Minor Bug-fixes Added 'Share' button to enable sharing, saving and printing of graph/data Changed color-scheme to work in Dark Mode Updated layout and fonts to work better with iPads (larger fonts/better layout)

The developer, Bjarne Berge, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy .

  • Data Not Collected

    The developer does not collect any data from this app.

    Privacy practices may vary, for example, based on the features you use or your age. Learn More

    The developer has not yet indicated which accessibility features this app supports. Learn More

    • Seller
      • Bjarne Berge
    • Size
      • 809 KB
    • Category
      • Utilities
    • Compatibility
      Requires iOS 12.3 or later.
      • iPhone
        Requires iOS 12.3 or later.
      • iPad
        Requires iPadOS 12.3 or later.
      • iPod touch
        Requires iOS 12.3 or later.
      • Mac
        Requires macOS 11.0 or later and a Mac with Apple M1 chip or later.
      • Apple Vision
        Requires visionOS 1.0 or later.
    • Languages
      • English
    • Age Rating
      4+
    • In-App Purchases
      Yes
    • Copyright
      • © Bjarne Berge