Re: Non-linear Rgression

*To*: mathgroup at smc.vnet.net*Subject*: [mg71602] Re: Non-linear Rgression*From*: dh <dh at metrohm.ch>*Date*: Sat, 25 Nov 2006 05:36:37 -0500 (EST)*References*: <ek630t$8qu$1@smc.vnet.net>

Hi, try e.g: d = {{0, 0}, {1, 2}, {3, 6}}; FindFit[d, Log[Cosh[a*x]], a, x] or another possibility: << Statistics`NonlinearFit` NonlinearFit[d, Log[Cosh[a*x]], x, a] Daniel aminr wrote: > Hello, > I'm a physics student.I have done an experiment .I want to use > Mathematica , I found a problem in using it : > > for example I have data ={ {0,0},{1,2},{3,6}} and I want to fit them > for a equation such as " y=Log[Cosh[a*x]] " > so I want the value of parametre"a" and also its error(i.e. a=0.045+- > 0.05 then error is 0.05 ) > and also the regression (i.e. R=0.995 ) > please ,please , tell me how I can do it ? I have seen the help browser > but i did'nt understand. > could you please possibly try it and send me the programme. >