petregr

Calculates least squares estimates using Nelder Mead's simplex

Contents

Syntax

[q, info] = petregr (func, par, chem, T_ref, data)

Description

Calculates least squares estimates using Nelder Mead's simplex method.

Input

  data values and
  field 'weight' with the weights of the data values
  field 'temp' with the temperature of some of the data values

Output

Remarks

Set options with nmregr_options. Similar to nrregr_st, but slower and a larger bassin of attraction. The number of fields in data is variable

prepare variables

st: structure with data vaules wst: structure with weghts (identical to st) data4pred: data ready to send to predict files