Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: Getting parameters from Fit[]..

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27117] Re: Getting parameters from Fit[]..
  • From: tga at stanford.edu (Thomas Anderson)
  • Date: Sun, 4 Feb 2001 02:58:51 -0500 (EST)
  • Organization: Stanford University
  • References: <95gkss$8do@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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[]..