Re: Extract parameters from FIndFit output
- To: mathgroup at smc.vnet.net
- Subject: [mg107423] Re: Extract parameters from FIndFit output
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Fri, 12 Feb 2010 04:42:22 -0500 (EST)
- References: <hl0opp$t47$1@smc.vnet.net>
Frank, There are some strange characters in your post, so I can't read your variable names, but if the iutput was something like {x->1, y->2} you can get {1,2} by using ReplaceAll ( /. ): {x,y} /. {x->1, y->2} Cheers -- Sjoerd On Feb 11, 1:14 pm, Frank Letkiewicz <fjl... at mac.com> wrote: > Is it possible to extract the parameter values generated from FindFIt to > use in other operations? > > For example: > > xvalues = {3, 5, 12, 47, 81, 112, 129, 186}; > yvalues = {0.05, 0.10, 0.25, 0.50, 0.75, 0.90, 0.95, 0.99}; > data = Partition[Riffle[xvalues, yvalues], 2]; > fitLogNormal = FindFit[data, CDF[LogNormalDistribution[=CE=BC, =C= F=83], > x], {=CE=BC, =CF=83}, x] > > Out[396]= {=CE=BC -> 3.47733, =CF=83 -> 1.19773} > > Can I extract these =CE=BC and =CF=83 values in the output as reg= ular > numbers? > > Frank L.