MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Getting parameters from Fit[]..


Mark Harder wrote:

> ... Alternatively, is there some way to get Regress to provide the 
> BestFitParameters rules without printing them out?


The trick here is to set the RegressionReport option of Regress. This
should do what you want:

paramVector = BestFitParameters/.Regress[data, funs, vars, 
  RegressionReport->BestFitParameters]

Note however, that this will give you the list of parameter values, 
and not a list of rules, which is what you would get from the 
BestFitParameters in NonlinearRegress (from the
Statistics`NonlinearFit`
package).

best regards,

-Tom Anderson
 tga at stanford.edu


  • Prev by Date: Re: Converting Notebook-Files to PDF
  • Next by Date: Re: Re: idiom for recurrence relations
  • Previous by thread: Re: Getting parameters from Fit[]..
  • Next by thread: Re: Getting parameters from Fit[]..