|
4.
Process Modeling
4.6. Case Studies in Process Modeling 4.6.3. Ultrasonic Reference Block Study
|
|||
| Weighting | Another approach when the assumption of constant variance (homogeneous) of the residuals is violated is to perform a weighted fit. In a weighted fit, we give less weight to the less precise measurements and more weight to more precise measurements when estimating the unknown parameters in the model. | ||
| Finding An Appropriate Weight Function |
Techniques for determining an appropriate weight
function were discussed in detail in
Section 4.4.5.2.
In this case, we have replication in the data, so we can fit the power model
|
||
| Fit for Estimating Weights |
Dataplot generated the following output for the fit
of ln(variances) against ln(means) for the replicate
groups. The output has been edited slightly for
display.
LEAST SQUARES MULTILINEAR FIT SAMPLE SIZE N = 22 NUMBER OF VARIABLES = 1 PARAMETER ESTIMATES (APPROX. ST. DEV.) T VALUE 1 A0 2.46872 (0.2186 ) 11. 2 A1 XTEMP -1.02871 (0.1983 ) -5.2 RESIDUAL STANDARD DEVIATION = 0.6945897937 RESIDUAL DEGREES OF FREEDOM = 20 The fit output and plot from the replicate variances against the replicate means shows that the a linear fit provides a reasonable fit with an estimated slope of -1.03. Based on this fit, we used an estimate of -1.0 for the exponent in the weighting function. |
||
| Residual Plot for Weight Function |
The residual plot from the fit to determine an appropriate weighting function reveals no obvious problems. |
||
| Numerical Output from Weighted Fit |
Dataplot generated the following output for the
weighted fit (edited slightly for display).
LEAST SQUARES NON-LINEAR FIT SAMPLE SIZE N = 214 MODEL--ULTRASON =EXP(-B1*METAL)/(B2+B3*METAL) REPLICATION CASE REPLICATION STANDARD DEVIATION = 0.3281762600D+01 REPLICATION DEGREES OF FREEDOM = 192 NUMBER OF DISTINCT SUBSETS = 22 FINAL PARAMETER ESTIMATES (APPROX. ST. DEV.) T VALUE 1 B1 0.147046 (0.1512E-01) 9.7 2 B2 0.528104E-02 (0.4063E-03) 13. 3 B3 0.123853E-01 (0.7458E-03) 17. RESIDUAL STANDARD DEVIATION = 4.1106567383 RESIDUAL DEGREES OF FREEDOM = 211 REPLICATION STANDARD DEVIATION = 3.2817625999 REPLICATION DEGREES OF FREEDOM = 192 LACK OF FIT F RATIO = 7.3183 = THE 100.0000% POINT OF THE F DISTRIBUTION WITH 19 AND 192 DEGREES OF FREEDOM |
||
| Plot of Predicted Values |
To assess the quality of the weighted fit, we first generate
a plot of the predicted line with the original data.
The plot of the predicted values with the data indicates a good fit. The model for the weighted fit is |
||
| 6-Plot of Fit |
We need to verify that the weighted fit does not violate the egression assumptions. The 6-plot indicates that the regression assumptions are satisfied. |
||
| Plot of Residuals |
In order to check the assumption of homogeneous variances for the residuals in more detail, we generate a full size version of the residuals versus the predictor variable. This plot shows that the residuals now exhibit homogeneous variances. |
||