On 2/6/08, Masoud Pourmoosa <ampbox at gmail.com> wrote:
> Can I use Maxima to fit some data set to my desired function? I know I can
> fit to linear functions by 'simple_linear_regression' but is there any tool
> that provide more flexibility, i.e. fitting to a random function with some
> adjustable parameters, e.g. a*sin(b*x), and determine those parameters?
There is an add-on package "lsquares" by which more general functions
can be fit to data. First one constructs an expression for the mean-square
error, then one finds parameter estimates by minimizing that error.
?? lsquares
finds the documentation for lsquares, with several examples.
Hope this helps,
Robert Dodier