================================ Common Problems In Curve Fitting ================================ +----------------------------------------------+-----------------------------------------------------+ | **Single Outlier At End Point** | Outliers are often caused by manual | | |image0| | errors in recording experimental data. | | | | | | | | `High resolution animation | | | and still images `__ | | | | | +----------------------------------------------+-----------------------------------------------------+ | **Single Outlier At Mid Point** | Outliers are often caused by manual | | |image1| | errors in recording experimental data. | | | | | | | | `High resolution animation | | | and still images `__ | | | | | +----------------------------------------------+-----------------------------------------------------+ | **Fitting Parallel Data** | This problem is often caused by environmental | | |image2| | changes during data collection, such as | | | temperature changes on different days when | | | making multiple data collection runs. | | `High resolution animation | | | and still images `__ | | | | | +----------------------------------------------+-----------------------------------------------------+ | **Data With A Large Step** | This problem is often caused by environmental | | |image3| | changes during data collection, such as a | | | temperature change during a lunch break. | | | | | `High resolution animation | | | and still images `__ | | | | | +----------------------------------------------+-----------------------------------------------------+ | **Data With A Poorly Defined Region** | This problem can be mitigated by taking additional | | |image4| | data in the region that is poorly defined. | | | | | | | | `High resolution animation | | | and still images `__ | | | | | +----------------------------------------------+-----------------------------------------------------+ | **Equation Missing An Offset** | This illustrates the effect of fitting data with | | |image5| | an offset to an equation that does not have one. | | | | | | This problem can be caused by experimental | | `High resolution animation | equipment introducing bias (such as a DC offset) | | and still images `__ | during data acquisition. Fitting the data to an | | | equation with an offset will reveal the bias. | | | | +----------------------------------------------+-----------------------------------------------------+ | **Data Scatter Over Entire Range** | The effect of data scatter (noise) can be reduced | | |image6| | by increasing the total number of data points. | | | | | | | | `High resolution animation | | | and still images `__ | | | | | +----------------------------------------------+-----------------------------------------------------+ | **Fitting Random Data** | This illustrates the effect of fitting completely | | |image7| | random data that has no relationship of any kind. | | | | | | | | `High resolution animation | | | and still images `__ | | | | | +----------------------------------------------+-----------------------------------------------------+ Based on `the pyeq3 CommonProblems example at BitBucket `__ written in Python 3. E-mail zunzun@zunzun.com for questions or suggestions. .. |image0| image:: Outlier_A_small.gif .. |image1| image:: Outlier_B_small.gif .. |image2| image:: ParallelData_A_small.gif .. |image3| image:: LargeStep_A_small.gif .. |image4| image:: PoorlyDefined_A_small.gif .. |image5| image:: MissingOffset_A_small.gif .. |image6| image:: Scatter_A_small.gif .. |image7| image:: RandomData_A_small.gif