On 9/7/2009 3:54:59 AM, Tom_Gutman wrote:
>.... Rather than use
>IsNaN on the dot product, I
>suggest IsArray. Then any
>scalar, including NaN, will
>cause all parameters to be
>fitted.
A good thought.
>...I do wonder why you use a
>fixed input table for X2/Y2,
>rather than generate the data
>as you do for the other cases.
>... But still, generating
>the exact values and then
>multiplying by either
>(1+rnorm(0,�)) or
>exp(rnorm(0,�)) should
>generate data that meets your
>criteria.
I had to fix the data table because randomly-generated data will sometimes produce data fits that wander off the small-amplitude data and sometimes not.
In fact, as you might expect when you think about it, you'll find that most of the time fits to randomly-generated data look acceptable.
So, I fixed the data set to make the point clear each time someone runs the sheet.
>Another useful tool in this
>set would be the calculation
>of the variance-covariance
>matrix for the parameters,
>using the procedure in PaulW's
>sheet.
I did consider this, and I'm sure those used to seeing & using the covariance matrix would like to have such tools. I've never really used the covariance matrix myself, though, as I pointed out in:
http://collab.mathsoft.com/read?78851,11I state the reasons for my reluctance there, which Paul acknowledges in the post immediately following it.
The Bootstrap method fails to reveal dependency relationsips between fit coefficients, but it does tend to provide a more-accurate assessment of their overall uncertainty values.
- Guy