Least Squares Plot
This template generates a Least Squares Plot. If a fitting function is entered, it must have at least one free parameter.
Data can be entered in one of the following formats:
List of lists (either 2-D or 3-D)
Two lists of coordinates (for 2-D)
Three lists of coordinates (for 3-D)
If the fitting function is linear (line in 2-D or plane in 3-D), a function need not be entered.
If a formula for a curve or surface (linear in the unknown parameters) is optionally entered, variables must be explicitly declared, below.
Line or PlaneOther
The default line will use the variables x,y.
The default plane will use the variables x,y,z.
Optionally, these defaults can be overridden.
If a fitting function has been given explicitly, variables must be declared as a sequence or list.
Click the icon below to generate the Least Squares Plot.
LinearAlgebra[LeastSquares], CurveFitting[LeastSquares], Statistics[Fit], Statistics[LinearFit], Optimization[Minimize], Optimization[LSSolve]
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.