<HTML>
<HEAD>
<TITLE>tabulating fits with more than one output</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Dear users,<BR>
<BR>
Although I&#8217;ve already asked information on this before, I still haven&#8217;t fond the solution to my problem. I am using profit to fit a couple of different data-sets, of which each has their own variables equation/function that describes that specific set, but the share some variables.<BR>
In my profit function I&#8217;ve declared all the variables under inputs (so the shared variables are a[1] to a[4] and then a[5] to a[10] are the variables for dataset 1, a[11] to a[16] are the variables for dataset 2, and so on). Under outputs, I have declared an output for each of the datasets.<BR>
the next thing in my function is Begin, and below it first the equations are listed for the shared parameters and eventually the equations are listed for each of the outputs (which describes then the fit of the individual datasets).<BR>
I use the multiple-fit procedure, so I link the different outputs to the corresponding dataset and if I press fit, I get a nice fit for each individual dataset, and in the results all the values for the variables are displayed. Works beautifully.<BR>
However, when I try to tabulate the fits in order to get the residuals, it doesn&#8217;t work properly. Apparently it calculates the residuals of the fit that I have selected in output, as compared to the second column (first is probably assumed to be the x-value) in the active or front data window. So, it only happens to work well in the case that the fit I try to tabulate is to the data in the second column of my data window.<BR>
<BR>
I hope that this is clear, probably there is an easy way around it and I&#8217;m doing something wrong, but I really have no idea what to do about it.<BR>
thanks in advance for your reply,<BR>
<BR>
Simon Lindhoud<BR>
</SPAN></FONT>
</BODY>
</HTML>