Weights syntax in NonlinearRegress/Fit
- To: mathgroup at smc.vnet.net
- Subject: [mg34065] Weights syntax in NonlinearRegress/Fit
- From: Dion Lewis <dlewis at kerr.phys.utas.edu.au>
- Date: Wed, 1 May 2002 08:00:37 -0400 (EDT)
- Reply-to: Dion.Lewis at csiro.au
- Sender: owner-wri-mathgroup at wolfram.com
Hi, It seems I have an identical problem to Frederic Fontaine dated 22 Jun 1999 that didn't get answered in the threads. I'm ALSO having troubles with the syntax of the Weights option in NonlinearRegress. I want to input an equation not simply values. I'm not a member of this list so Im not sure if this will get back to me either... I'd appreciate any help, for ease I have cut and pasted his eloquent version... NonlinearRegress, Weights, Syntax Subject: [mg34065] [mg18212] NonlinearRegress,Weights, Syntax From: Frederic Fontaine <F.Fontaine at fz-rossendorf.de> To: mathgroup at smc.vnet.net Hi, I've been fighting against the syntax of the option "Weights" in the NonlinearRegress command. I want to fit large data sets and I don't want to type hundreds of values. I'd rather use a function defining the weight of each data points. But how to do it with Mathematica 3 for Unix? For instance: NonlinearRegress[dataset, fitfunction(x,para),{x},{para},Weights->{???}] I would appreciate someone helping me remove the question marks! **Edited from F.F.** Regards, Dion Lewis University of Tasmania Physics Department