The Model dialog allows you to adjust the chosen equation so that it comes as close as possible to your data. Each equation has a general form with a set of coefficients that you can adjust.
To apply a manual curve fit or model to your data, follow these steps:
* The Root Mean Square Error is a measure of how far away, on average, the data points are from the fitted curve. RMSE is in the units of the y-axis.
A tutorial covering curve fitting in general is available. To access it, choose Open from the File menu. Open the Experiments folder, then the Tutorials folder.
Check Create Calculated Column to create a column in the data table that contains the y-values of the fitted function at each value for the x-axis. When you check Create Calculated Column, other options will be displayed. Check Plot Column to have the new column plotted on the graph. Check Show Curve Fit to have the Curve Fit box displayed on the graph.
Once a calculated column has been plotted on the graph, you can adjust the variables by adding a Parameter Control from the Insert menu.
Select an equation to fit to the data, then click Try Fit if you are doing an automatic fit.
Time Offset
When Time Offset is checked, the "t" variable in the equation will change to "(t–t0)". An offset, t0, equal to the time of the left edge of the currently selected region, will be used. You can adjust the selection in the active graph in the Curve Fit dialog.
This option may be useful if you want to apply a curve fit to a section of data that does not coincide with the time that data collection started. For example, suppose you start data collection and then toss a ball above a Motion Detector at t=3.2 seconds. When data collection is complete, you can select the position data starting at t=3.2 seconds. If you check Time Offset and then perform a Quadratic fit, the linear coefficient can be correctly interpreted as the velocity at t=3.2 seconds and the additive term can correctly be interpreted as the position at t=3.2 seconds. If Time Offset is not checked, the linear coefficient and additive constant cannot be interpreted in that way.
Define Function...
You can define and add customized mathematical functions to the general equation list. Click Define Function and type in the function in the box. Up to six parameters can be used in the equation. Note: If you save the file with a function you have defined, the custom equation will appear in the list when you open the file again.
Delete Function
Delete added functions by selecting the function and clicking Delete Function. Built-in functions cannot be deleted.
Power
If an equation with a variable or power, such as A*x^n (Variable Power), is selected, the Power box will be displayed and available for editing.
The coefficients can be adjusted individually to improve the fit of the function to the data. Either type in a new value, or use the + and – buttons to step the value of the parameter up and down.
Depending on the coefficients initially chosen, a function may not fall within the graph window. In this case it may be difficult to adjust the coefficients to achieve a good fit. You may want to calculate the necessary values to force the function to pass through one data point (often the y-intercept) and begin with these values.
Click the Delta button to set a value by which to increase or decrease the coefficient value when clicking the + and – buttons to the right of the coefficients.