MODEL Procedure

Example 24.22 Reducing Parameter Variance in a Tree Biomass Model

(View the complete code for this example.)

This example uses various dimensions of willow oak trees to model their biomass. Unlike a tree’s biomass, a tree’s dimensions can be measured noninvasively. The model and data for this example are taken from Parresol (1999). This biomass model uses four equations to model the bole wood, bole bark, crown, and total mass of the trees,

StartLayout 1st Row 1st Column y Subscript wood 2nd Column equals b 10 plus b 11 upper D squared upper H 2nd Row 1st Column y Subscript bark 2nd Column equals b 20 plus b 21 upper D squared upper H 3rd Row 1st Column y Subscript crown 2nd Column equals b 30 plus b 31 StartFraction upper D squared upper H upper L Over 1000 EndFraction plus b 32 upper H 4th Row 1st Column y Subscript total 2nd Column equals b 40 plus b 41 upper D squared upper H plus b 42 StartFraction upper D squared upper H upper L Over 1000 EndFraction plus b 43 upper H EndLayout

where y Subscript wood, y Subscript bark, and y Subscript crown are the three components of a tree’s total biomass, y Subscript total; D is the tree’s diameter at breast height; H is the tree’s height; and L is the tree’s live crown length. The efficiency of parameter estimates in this model is improved by taking into account the correlations between errors in the equations for the four components of the trees’ biomass. Also, the efficiency of estimates is improved by taking into account heteroscedasticity in the sample of 39 trees that is used to develop the model.

In an initial OLS estimation of this model’s parameters, some general properties of the model and data can be quantified using the following statements:

proc model data=trees;
   endo wood bark crown total;

   vol = dbh**2*height;
   cvol = vol*lcl/1000;

   wood  = b10 + b11*vol;
   bark  = b20 + b21*vol;
   crown = b30 + b31*cvol + b32*height;
   total = b40 + b41*vol + b42*cvol + b43*height;

   fit / ols outs=stree out=otree outresid;
quit;

Here the covariance of equation errors is saved to the data set STREE, and the residuals are saved to the data set OTREE for later analysis.

The covariance matrix of equation errors that is computed in the OLS estimation can be used in a seemingly unrelated regression (SUR) estimation of the model to improve the efficiency of parameter estimates. The total biomass of trees is restricted to equal the other three biomass components in the following SUR estimation:

proc model data=trees;
   endo wood bark crown total;

   vol = dbh**2*height;
   cvol = vol*lcl/1000;

   wood  = b10 + b11*vol;
   bark  = b20 + b21*vol;
   crown = b30 + b31*cvol + b32*height;
   total = b40 + b41*vol + b42*cvol + b43*height;

   fit / nools sur sdata=stree;

   restrict b10 + b20 + b30 = b40,
            b11 + b21 = b41,
            b42 = b31,
            b43 = b32;
quit;

Output 24.22.1 shows the parameters and standard errors for the restricted SUR tree biomass model.

Output 24.22.1: SUR Parameter Estimates for Willow Oak Model

The MODEL Procedure

Nonlinear SUR Parameter Estimates
ParameterEstimateApprox Std Errt ValueApprox
Pr > |t|
Label
b1059.1865348.24351.230.2274 
b110.0265980.00055847.67<.0001 
b2029.6510110.38392.860.0069 
b210.0032250.00012026.79<.0001 
b30133.106626.62465.00<.0001 
b310.0615430.0050812.11<.0001 
b32-5.336041.1141-4.79<.0001 
b40221.944162.18343.570.0010 
b410.0298240.00062347.91<.0001 
b420.0615430.0050812.11<.0001 
b43-5.336041.1141-4.79<.0001 
Restrict0-656E-140.1316-0.001.0000b10 + b20 + b30 = b40
Restrict1148.560711355.00.010.9898b11 + b21 = b41
Restrict268.66564178.80.380.7067b42 = b31
Restrict30.3887143.54490.110.9145b43 = b32


An analysis of heteroscedasticity in the unrestricted OLS model suggests that the efficiency of the estimation could be improved further by weighting the observations using the following variance model,

StartLayout 1st Row 1st Column sigma Subscript wood Superscript 2 2nd Column equals exp left-parenthesis w 1 plus w 2 ln upper D squared upper H right-parenthesis 2nd Row 1st Column sigma Subscript bark Superscript 2 2nd Column equals exp left-parenthesis k 1 plus k 2 ln upper D squared upper H right-parenthesis 3rd Row 1st Column sigma Subscript crown Superscript 2 2nd Column equals exp left-parenthesis c 1 plus c 2 ln StartFraction upper D squared upper H upper L Over 1000 EndFraction minus c 3 upper H squared right-parenthesis 4th Row 1st Column sigma Subscript total Superscript 2 2nd Column equals exp left-parenthesis t 1 plus t 2 ln upper D squared upper H right-parenthesis EndLayout

where sigma Subscript i Superscript 2 is the variance of the ith component of the biomass and the parameters w 1, w 2, k 1, k 2, c 1, c 2, c 3, t 1, and t 2 are determined by regressing the square of the residuals from the unrestricted OLS estimation against the tree dimensions. Estimates of the parameters in the variance model can be determined using the following statements:

proc model data=otree;
   vol = dbh**2*height;
   cvol = vol*lcl/1000;

   eq.varwood  = log(wood*wood) - (w1 + w2*log(vol));
   eq.varbark  = log(bark*bark) - (k1 + k2*log(vol));
   eq.varcrown = log(crown*crown) - (c1 + c2*log(cvol) - c3*height**2);
   eq.vartotal = log(total*total) - (t1 + t2*log(vol));

   fit varwood varbark varcrown vartotal;
quit;

The biomass component variance model can be used to account for heteroscedasticity and improve the efficiency of parameter estimates by weighting observations in the biomass model. The following PROC MODEL statements accommodate both the covariance among the biomass equations’ errors and the heteroscedasticity that is observed in each component of the trees’ biomass:

proc model data=trees;
   endo wood bark crown total;

   vol = dbh**2*height;
   cvol = vol*lcl/1000;

   wood  = b10 + b11*vol;
   bark  = b20 + b21*vol;
   crown = b30 + b31*cvol + b32*height;
   total = b40 + b41*vol + b42*cvol + b43*height;

   h.wood = exp(&w1)*vol**&w2;
   h.bark = exp(&k1)*vol**&k2;
   h.crown = exp(&c1)*cvol**&c2 * exp (-&c3*height*height);
   h.total = exp(&t1)*vol**&t2;

   fit / sur;

   restrict b10 + b20 + b30 = b40,
            b11 + b21 = b41,
            b42 = b31,
            b43 = b32;
quit;

Output 24.22.2 shows the parameters and standard errors for the heteroscedastic tree biomass model.

Output 24.22.2: SUR Parameter Estimates for Heteroscedastic Willow Oak Model

The MODEL Procedure

Nonlinear SUR Parameter Estimates
ParameterEstimateApprox Std Errt ValueApprox
Pr > |t|
Label
b1010.2225314.22080.720.4766 
b110.0275150.00053451.48<.0001 
b2015.663584.81733.250.0024 
b210.0034760.00013825.13<.0001 
b30103.878210.61229.79<.0001 
b310.0552260.0030618.02<.0001 
b32-4.051630.4603-8.80<.0001 
b40129.764321.56216.02<.0001 
b410.0309910.00061450.47<.0001 
b420.0552260.0030618.02<.0001 
b43-4.051630.4603-8.80<.0001 
Restrict0-0.283691.1969-0.240.8164b10 + b20 + b30 = b40
Restrict1-56046.249194.0-1.140.2603b11 + b21 = b41
Restrict2539.3854697.40.770.4471b42 = b31
Restrict34.37400129.69590.150.8853b43 = b32


Output 24.22.3 shows the improved efficiency of estimates in the heteroscedastic model as compared to the homoscedastic model. For most of the parameters, the standard errors are reduced significantly in the heteroscedastic estimation.

Output 24.22.3: Standard Error Reduction

ParameterStdErr Rel.
Change
b10( 71%)
b11( 4%)
b20( 54%)
b2115%
b30( 60%)
b31( 40%)
b32( 59%)
b40( 65%)
b41( 1%)
b42( 40%)
b43( 59%)


Last updated: June 19, 2025