Re: NMF in Mathematica 8
- To: mathgroup at smc.vnet.net
- Subject: [mg130689] Re: NMF in Mathematica 8
- From: "Barrie Stokes" <Barrie.Stokes at newcastle.edu.au>
- Date: Fri, 3 May 2013 03:49:29 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <20130430081845.0BEA769D3@smc.vnet.net>
For what it's worth: In[1]:= $Version Out[1]= "8.0 for Microsoft Windows (64-bit) (February 23, 2011)" data = {{15000, 0.154}, {25000, 0.283}, {35000, 0.402}, {50000, 0.55}, {75000, 0.733}, {100000, 0.843}}; In[3]:= nlm01 = NonlinearModelFit[data, CDF[ParetoDistribution[khat, ahat], $x], {khat, ahat}, $x]; In[4]:= nlm01["BestFitParameters"] Out[4]= {khat -> 18243.5, ahat -> 0.902423} Cheers Barrie >>> On 01/05/2013 at 5:38 pm, in message <20130501073814.95A9F6A3A at smc.vnet.net>, Bob Hanlon <hanlonr357 at gmail.com> wrote: > I get the same results in Mathematica v 8.0.4.0 > > > $Version > > > "8.0 for Mac OS X x86 (64-bit) (October 5, 2011)" > > > data = {{15000, 0.154}, {25000, 0.283}, {35000, 0.402}, {50000, 0.55}, > {75000, > 0.733}, {100000, 0.843}}; > > > nlm01 = NonlinearModelFit[data, > CDF[ParetoDistribution[khat, ahat], $x], {khat, ahat}, $x]; > > > nlm01["BestFitParameters"] > > > {khat -> 12989.3, ahat -> 0.658768} > > > > Bob Hanlon > > > > > On Tue, Apr 30, 2013 at 4:18 AM, Alan <alan.isaac at gmail.com> wrote: > >> I'd appreciate knowing the output in Mathematica 8 of the following 3 >> lines: >> >> data = {{15000, 0.154}, {25000, 0.283}, {35000, 0.402}, {50000, >> 0.55}, {75000, 0.733}, {100000, 0.843}} >> nlm01 = NonlinearModelFit[data, >> CDF[ParetoDistribution[khat, ahat], $x], {khat, ahat}, $x]; >> nlm01["BestFitParameters"] >> >> In Mathematica 5 and 9 it is >> {khat -> 12989.3, ahat -> 0.658768} >> >> But I recall getting a different answer in Mathematica 8. >> >> Thanks, >> Alan Isaac >> >>