|
4.
Process Modeling
4.5. Use and Interpretation of Process Models 4.5.2. How can I use my process model for calibration?
|
|||||||||||||||||||||
| Calibration | As mentioned in Section 1.3, the goal of calibration (or inverse regression) is to quantitatively convert measurements made on one of two measurement scales to the other measurement scale. Typically the two scales are not of equal importance, so the conversion occurs in only one direction. The model fit to the data that relates the two measurement scales and a new measurement made on the secondary scale provide the means for the conversion. The results from the fit of the model also allow for computation of the associated uncertainty in the estimate of the true value on the primary measurement scale. Just as for prediction, estimates of both the value on primary scale and its uncertainty are needed in order to make sound engineering or scientific decisions or conclusions. Approximate confidence intervals for the true value on the primary measurement scale are typically used to summarize the results probabilistically. An example, which will help make the calibration process more concrete, is given in Section 4.1.3.2. using thermocouple calibration data. | ||||||||||||||||||||
| Calibration Estimates |
Like prediction estimates, calibration estimates can be computed relatively easily using the regression equation.
They are computed by setting a newly observed value of the response variable, |
||||||||||||||||||||
| Pressure / Temperature Example |
In the Pressure/Temperature example, pressure measurements could be
used to measure the temperature of the system by observing a new pressure value, setting it equal to the estimated
regression function,
and solving for the temperature. If a pressure of 178 were measured, the associated temperature would be estimated to be about 43. Although this is a simple process for the straight-line model, note that even for this simple regression function, the estimate of the temperature is not linear in the parameters of the model. |
||||||||||||||||||||
| Numeric Approach |
To set this up to be solved numerically, the equation simply has to be set up in the form
and then the function of temperature ( |
||||||||||||||||||||
| Thermocouple Calibration Example |
For the more realistic thermocouple calibration example, which is well fit by a
LOESS model that does not require an explicit functional form, the numeric approach
must be used to obtain calibration estimates. The LOESS model is set up identically to the straight-line model for
numeric solution, using the estimated regression function from the software used to fit the model.
Again the function of temperature ( |
||||||||||||||||||||
| Dataplot Code | Since the verbal descriptions of these numerical techniques can be hard to follow, these ideas may become clearer by looking at the actual Dataplot computer code for a quadratic calibration, which can be found in the Load Cell Calibration case study. If you have downloaded Dataplot and installed it, you can run the computations yourself. | ||||||||||||||||||||
| Calibration Uncertainties |
As in prediction, the data used to fit the process model can also
be used to determine the uncertainty of the calibration. Both the variation
in the average response and in the new observation of the response value need to
be accounted for. This is similar to the uncertainty for the prediction of a new
measurement. In fact, approximate calibration confidence intervals are actually computed by solving for the
predictor variable value in the formulas for prediction interval end points
[Graybill (1976)].
Because |
||||||||||||||||||||
|
The equations to be solved to get approximate lower and upper calibration confidence limits, are, respectively,
and where |
|||||||||||||||||||||
| Confidence Intervals for the Example Applications | Confidence intervals for the true predictor variable values associated with the observed values of pressure (178) and voltage (1522) are given in the table below for the Pressure/Temperature example and the Thermocouple Calibration example, respectively. The approximate confidence limits and estimated values of the predictor variables were obtained numerically in both cases. | ||||||||||||||||||||
|
|||||||||||||||||||||
| Interpretation of Calibration Intervals |
Although calibration confidence intervals have some unique features, viewed as confidence intervals, their
interpretation is essentially analogous to that of confidence intervals for the true average response. Namely, in
repeated calibration experiments,
when one calibration is made for each set of data used to fit a calibration function and each single new observation of
the response, then approximately |
||||||||||||||||||||
| The plot below shows 95% confidence intervals computed using 50 independently generated data sets that follow the same model as the data in the Thermocouple calibration example. Random errors from a normal distribution with a mean of zero and a known standard deviation are added to each set of true temperatures and true voltages that follow an model that can be well-approximated using LOESS to obtain the simulated data. Then the noisy data in each data set, along with a newly observed voltage measurement, are used to compute a confidence interval for the true temperature that produced the observed voltage. The dashed reference line marks the true temperature under which the thermocouple measurements were made. It is easy to see that most of the intervals do contain the true value they supposed to capture. In 47 out of 50 data sets, or approximately 95%, the confidence intervals covered the true temperature. When the number of data sets was increased to 5000, the confidence intervals computed for 4657, or 93.14%, of the data sets covered the true temperature. Finally, when the number of data sets was increased to 10000, 93.53% of the confidence intervals computed covered the true temperature. While these intervals do not exactly attain their stated coverage, as the confidence intervals for estimation of the average response do, the coverage is reasonably close to the specified level and is probably completely adequate from practical point of view. | |||||||||||||||||||||
| Confidence Intervals Computed from 50 Sets of Simulated Data |
|
||||||||||||||||||||