application of mixed-effect model predictions in...

44
Application of mixed-effect model predictions in forestry Lauri Mehtätalo 1 1 University of Eastern Finland, School of Computing & School of Forest Sciences August 30, 2012 Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 1 / 24

Upload: others

Post on 07-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Application of mixed-effect model predictions in forestry

Lauri Mehtätalo1

1University of Eastern Finland, School of Computing & School of Forest Sciences

August 30, 2012

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 1 / 24

Page 2: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction Background

Types of forest datasets

Forest datasets are usually hierarchical e.g.needles within branchesbranches within treestrees within sample plotssample plots within forest standsforest stand within regionsrepeated measurements of trees, branches etc....

Also crossed grouping structures are commonTree increments for different calendar yearsTrees or forest stands on aerial images

These datasets are naturally modeled using random effect models.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 2 / 24

Page 3: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction Background

Types of forest datasets

Forest datasets are usually hierarchical e.g.needles within branchesbranches within treestrees within sample plotssample plots within forest standsforest stand within regionsrepeated measurements of trees, branches etc....

Also crossed grouping structures are commonTree increments for different calendar yearsTrees or forest stands on aerial images

These datasets are naturally modeled using random effect models.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 2 / 24

Page 4: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction Background

Types of forest datasets

Forest datasets are usually hierarchical e.g.needles within branchesbranches within treestrees within sample plotssample plots within forest standsforest stand within regionsrepeated measurements of trees, branches etc....

Also crossed grouping structures are commonTree increments for different calendar yearsTrees or forest stands on aerial images

These datasets are naturally modeled using random effect models.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 2 / 24

Page 5: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction Background

Why random effects?

Using mixed-effects models with hierarchical datasets result in1 More reliable inference on the model parameters2 Possibilitý to compute the predictions at different levels of the dataset.

If the main interest is the inference (e.g. the effects of certain medical treatments onindividuals) the first property is more important.

If the main interest is prediction, then greatest benefit may arise from the possibility to makepredictions at different levels of hierarchy. This is possible also for observations fromoutside the modeling data

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 3 / 24

Page 6: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction Background

Why random effects?

Using mixed-effects models with hierarchical datasets result in1 More reliable inference on the model parameters2 Possibilitý to compute the predictions at different levels of the dataset.

If the main interest is the inference (e.g. the effects of certain medical treatments onindividuals) the first property is more important.

If the main interest is prediction, then greatest benefit may arise from the possibility to makepredictions at different levels of hierarchy. This is possible also for observations fromoutside the modeling data

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 3 / 24

Page 7: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction Background

Why random effects?

Using mixed-effects models with hierarchical datasets result in1 More reliable inference on the model parameters2 Possibilitý to compute the predictions at different levels of the dataset.

If the main interest is the inference (e.g. the effects of certain medical treatments onindividuals) the first property is more important.

If the main interest is prediction, then greatest benefit may arise from the possibility to makepredictions at different levels of hierarchy. This is possible also for observations fromoutside the modeling data

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 3 / 24

Page 8: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction The contents of this presentation

Topic of this presentation

I will demonstrate and discuss the use of mixed-effects models in four forestry situations (Themain benefit of mixed-effects models arsing either from prediction (P) or inference (I)).

Using a previously fitted linear mixed-effects model for tree height prediction (P)

Using a linear mixed-effect model with crossed grouping structure to predict atreatment-free response in a dataset of a thinning experiment (P).

Using nonlinear mixed-effect-models to analyse the previously extracted tree-level thinningeffects (I)

Using a system of linear mixed-effects models to predict of tree level size and quality-relatedcharacteristics using remotely sensed information and field sample tree measurements (P)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 4 / 24

Page 9: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction The contents of this presentation

Topic of this presentation

I will demonstrate and discuss the use of mixed-effects models in four forestry situations (Themain benefit of mixed-effects models arsing either from prediction (P) or inference (I)).

Using a previously fitted linear mixed-effects model for tree height prediction (P)

Using a linear mixed-effect model with crossed grouping structure to predict atreatment-free response in a dataset of a thinning experiment (P).

Using nonlinear mixed-effect-models to analyse the previously extracted tree-level thinningeffects (I)

Using a system of linear mixed-effects models to predict of tree level size and quality-relatedcharacteristics using remotely sensed information and field sample tree measurements (P)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 4 / 24

Page 10: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction The contents of this presentation

Topic of this presentation

I will demonstrate and discuss the use of mixed-effects models in four forestry situations (Themain benefit of mixed-effects models arsing either from prediction (P) or inference (I)).

Using a previously fitted linear mixed-effects model for tree height prediction (P)

Using a linear mixed-effect model with crossed grouping structure to predict atreatment-free response in a dataset of a thinning experiment (P).

Using nonlinear mixed-effect-models to analyse the previously extracted tree-level thinningeffects (I)

Using a system of linear mixed-effects models to predict of tree level size and quality-relatedcharacteristics using remotely sensed information and field sample tree measurements (P)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 4 / 24

Page 11: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction The contents of this presentation

Topic of this presentation

I will demonstrate and discuss the use of mixed-effects models in four forestry situations (Themain benefit of mixed-effects models arsing either from prediction (P) or inference (I)).

Using a previously fitted linear mixed-effects model for tree height prediction (P)

Using a linear mixed-effect model with crossed grouping structure to predict atreatment-free response in a dataset of a thinning experiment (P).

Using nonlinear mixed-effect-models to analyse the previously extracted tree-level thinningeffects (I)

Using a system of linear mixed-effects models to predict of tree level size and quality-relatedcharacteristics using remotely sensed information and field sample tree measurements (P)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 4 / 24

Page 12: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Introduction Introduction to mixed-effects models

Simple mixed-effects models

Let yki be the observed response for individual i in group k , and let xki be a fixed predictor, justas in the one-predictor regression. In a linear mixed-effects model, one may have both fixed(population level) parameters and random parameters, e.g.,

yki = a + bxki + αk + βk xki + εki ,

where (αk , βk)′ ∼ MVN(0,D) and εki ∼ N(0, σ2). a and b are the fixed parameters.

The model allows population and group-level predictions: a + bxki anda + αk + (b + βk)xki and corresponding residuals

Generalizes to multiple groupings, with either nested or crossed grouring structures

Generalizes to nonlinear models, where some parameters of a nonlinear function areallowed to vary between groups

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 5 / 24

Page 13: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Prediction of tree heights on diameter The model

Why an H-D model?

H-D relationship varies much amongsample plots, but height measurement istime-consuming.

In a forest inventory, diameter is usullytallied for all trees of a sample plot,whereas height is measured only for 0 – 5trees per plot.

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

● ●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●

● ●

●●

●●

●●

●●

●●●

● ●

●●

●●

●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●●

●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

● ●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●● ●

●●

● ●

●●

●●

● ●

●●

●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●● ●

●●

●●

●●

●●

●●

●●

0 10 20 30 40 500

510

1520

2530

Tree height vs Tree diameter

d, cm

h, m

If a previously fitted H-D model is available, it can be localized, or calibrated, for the new plot bypredicting the random effects using the sampled tree heights.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 6 / 24

Page 14: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Prediction of tree heights on diameter The model

Why an H-D model?

H-D relationship varies much amongsample plots, but height measurement istime-consuming.

In a forest inventory, diameter is usullytallied for all trees of a sample plot,whereas height is measured only for 0 – 5trees per plot.

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

● ●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●

● ●

●●

●●

●●

●●

●●●

● ●

●●

●●

●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●●

●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

● ●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●● ●

●●

● ●

●●

●●

● ●

●●

●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●● ●

●●

●●

●●

●●

●●

●●

0 10 20 30 40 500

510

1520

2530

Tree height vs Tree diameter

d, cm

h, m

If a previously fitted H-D model is available, it can be localized, or calibrated, for the new plot bypredicting the random effects using the sampled tree heights.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 6 / 24

Page 15: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Prediction of tree heights on diameter The model

Why an H-D model?

H-D relationship varies much amongsample plots, but height measurement istime-consuming.

In a forest inventory, diameter is usullytallied for all trees of a sample plot,whereas height is measured only for 0 – 5trees per plot.

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

● ●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●

● ●

●●

●●

●●

●●

●●●

● ●

●●

●●

●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●●

●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

● ●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●● ●

●●

● ●

●●

●●

● ●

●●

●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●● ●

●●

●●

●●

●●

●●

●●

0 10 20 30 40 500

510

1520

2530

Tree height vs Tree diameter

d, cm

h, m

If a previously fitted H-D model is available, it can be localized, or calibrated, for the new plot bypredicting the random effects using the sampled tree heights.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 6 / 24

Page 16: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Prediction of tree heights on diameter The model

The Height-Diameter model

The logarithmic heigth Hkti for tree i in stand k at time t with diameter Dkti at the breast height is expressed by

ln(Hkti ) = a(DGMkt ) + αk + αkt + (b(DGMkt ) + βk + βkt )Dkti + εkti ,

where a(DGMkt ) and b(DGMkt ) are known fixed functions of plot-specific mean diameter DGMkt ,(αk , βk )

′ and (αkt , βkt )′ are the plot and measurement occasion -level random effects with varainces (correlations)

var

[αk

βk

]=

[0.1082 (0.269)0.0028 0.09582

]var

[αkt

βkt

]=

[0.01682 (−0.681)−0.0003 0.02232

]and εkti are independent normal residuals with var(εkti ) = 0.4012(max(Dkti , 7.5)

)−1.068

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 7 / 24

Page 17: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Prediction of tree heights on diameter Localizing the model

The stand level mixed-effects model

The sample tree heights of a new stand can be described by

y = µ+ Zb + ε ,

wherey includes the observed sample tree heights,µ is the fixed part,b = ( αk βk αk1 βk1 αk2 βk2 . . .)

′includes the random effects,

Z is the corresponding design matrix, andε includes the residuals.We denote var(b) = D and var(ε) = R.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 8 / 24

Page 18: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Prediction of tree heights on diameter Localizing the model

Prediction of random effects

The variances and covariances between random effects and observed heights can be written as[by

]∼

([0µ

],

[D DZ ′

ZD ZDZ ′ + R

])The Empirical Best Linear Unbiased Predictor (EBLUP) of random effects is

b = DZ ′(ZDZ ′ + R)−1(y − µ) .

and the variance of prediction errors is

var(b − b) = D − DZ ′(ZDZ ′ + R)−1ZD

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 9 / 24

Page 19: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Prediction of tree heights on diameter Localizing the model

Example

Height of one tree was measured 5 years ago and 2 trees at the current year. The matrices andvectors are

µ =

2.592.112.99

y =

2.772.353.19

Z =

1 −0.36 1 −0.36 0 01 −1.22 0 0 1 −1.221 0.058 0 0 1 0.058

R =

0.008 0 00 0.016 00 0 0.004

b =

αk

βk

αk1

βk1

αk2

βk2

D =

0.0118 0.0028 0 0 0 00.0028 0.0092 0 0 0 0

0 0 0.0003 0.0004 0 00 0 0.0004 0.0005 0 00 0 0 0 0.0003 0.00040 0 0 0 0.0004 0.0005

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 10 / 24

Page 20: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Prediction of tree heights on diameter Localizing the model

Uncalibrated and calibrated predictions

●●

●●

●●

●●

●● ●

●●

10 20 30 40 50

1015

2025

Diameter, cm

Hei

ght,

m

T=52,DGM^ =22.0

T=42,DGM=19.7

T=37,DGM=16.6

dashed=fixed part only; solid= calibrated (fixed+random)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 11 / 24

Page 21: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Why thinning effects?

Forest managers use silvicultural thinnings to decrease the competition of neighboringtrees and, consequently, to increase the growth rate of the remaining trees for fasterproduction of sawtimber.

To understand the dynamics of thinning, one may wish to analyse the effect of thinnings ontree growth.

However, the growth is affected also by other factors, especially by the site productivity, treeage, and annual weather.

Mixed-effects models can be used to model out these nuisance effects.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 12 / 24

Page 22: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Why thinning effects?

Forest managers use silvicultural thinnings to decrease the competition of neighboringtrees and, consequently, to increase the growth rate of the remaining trees for fasterproduction of sawtimber.

To understand the dynamics of thinning, one may wish to analyse the effect of thinnings ontree growth.

However, the growth is affected also by other factors, especially by the site productivity, treeage, and annual weather.

Mixed-effects models can be used to model out these nuisance effects.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 12 / 24

Page 23: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Why thinning effects?

Forest managers use silvicultural thinnings to decrease the competition of neighboringtrees and, consequently, to increase the growth rate of the remaining trees for fasterproduction of sawtimber.

To understand the dynamics of thinning, one may wish to analyse the effect of thinnings ontree growth.

However, the growth is affected also by other factors, especially by the site productivity, treeage, and annual weather.

Mixed-effects models can be used to model out these nuisance effects.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 12 / 24

Page 24: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Why thinning effects?

Forest managers use silvicultural thinnings to decrease the competition of neighboringtrees and, consequently, to increase the growth rate of the remaining trees for fasterproduction of sawtimber.

To understand the dynamics of thinning, one may wish to analyse the effect of thinnings ontree growth.

However, the growth is affected also by other factors, especially by the site productivity, treeage, and annual weather.

Mixed-effects models can be used to model out these nuisance effects.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 12 / 24

Page 25: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Study material

Thinning experiment sample plots were established in naturally generated Scots pinestands at the age of ∼ 25 years in Mekrijärvi, Finland in 1986.

One of the four following thinning treatments were applied to each plot: No thinning (I,Control), light (II), moderate (III), and heavy (IV) thinnings.

88 trees were felled in 2006, and the complete time series of diameter increments between1983 and 2006 was measured for each tree using an X-ray densiometer.

The diameter growths were transformed to basal area growths, becauseVolume ∼ Diameter 2Height)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 13 / 24

Page 26: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Study material

Thinning experiment sample plots were established in naturally generated Scots pinestands at the age of ∼ 25 years in Mekrijärvi, Finland in 1986.

One of the four following thinning treatments were applied to each plot: No thinning (I,Control), light (II), moderate (III), and heavy (IV) thinnings.

88 trees were felled in 2006, and the complete time series of diameter increments between1983 and 2006 was measured for each tree using an X-ray densiometer.

The diameter growths were transformed to basal area growths, becauseVolume ∼ Diameter 2Height)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 13 / 24

Page 27: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Study material

Thinning experiment sample plots were established in naturally generated Scots pinestands at the age of ∼ 25 years in Mekrijärvi, Finland in 1986.

One of the four following thinning treatments were applied to each plot: No thinning (I,Control), light (II), moderate (III), and heavy (IV) thinnings.

88 trees were felled in 2006, and the complete time series of diameter increments between1983 and 2006 was measured for each tree using an X-ray densiometer.

The diameter growths were transformed to basal area growths, becauseVolume ∼ Diameter 2Height)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 13 / 24

Page 28: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Study material

Thinning experiment sample plots were established in naturally generated Scots pinestands at the age of ∼ 25 years in Mekrijärvi, Finland in 1986.

One of the four following thinning treatments were applied to each plot: No thinning (I,Control), light (II), moderate (III), and heavy (IV) thinnings.

88 trees were felled in 2006, and the complete time series of diameter increments between1983 and 2006 was measured for each tree using an X-ray densiometer.

The diameter growths were transformed to basal area growths, becauseVolume ∼ Diameter 2Height)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 13 / 24

Page 29: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

The raw data

1985 1990 1995 2000 2005

020

040

060

080

010

00

Year

Rin

g B

asal

are

a, m

m2

I (control) - black; II (light) - redIII (moderate) - green; IV (heavy) - blue

THICK: treatment-specific trends

THIN: 12 randomly selected trees

One can see

(Age trend)climate-related year effectstree effects

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 14 / 24

Page 30: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Modeling the non-thinned response

A dataset without thinning treatments was produced by including from the original dataThe control treatment for whole follow-up periodThe thinned treatments until the year of thinning (1986)

A linear mixed effect model with random year and tree effects was fitted to the unthinneddata

ykt = f (Tkt) + uk + vt + ekt (1)

where yckt is the basal area growth of tree k at year t ,f (Tckt) is the age trend (modeled using a spline),uk is a NID tree effect,vt is a NID year effect andekt is a NID residual.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 15 / 24

Page 31: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Modeling the non-thinned response

A dataset without thinning treatments was produced by including from the original dataThe control treatment for whole follow-up periodThe thinned treatments until the year of thinning (1986)

A linear mixed effect model with random year and tree effects was fitted to the unthinneddata

ykt = f (Tkt) + uk + vt + ekt (1)

where yckt is the basal area growth of tree k at year t ,f (Tckt) is the age trend (modeled using a spline),uk is a NID tree effect,vt is a NID year effect andekt is a NID residual.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 15 / 24

Page 32: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Extracting the thinning effects

Using the estimated age trend and predicted year and tree effects, the growth withoutthinning, ykt was predicted for treatments II -IV after the thinning year.

The pure thinning effects were estimated by subtracting the prediction from the observedgrowth

dkt = ykt − ykt (2)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 16 / 24

Page 33: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

Extracting the thinning effects

Using the estimated age trend and predicted year and tree effects, the growth withoutthinning, ykt was predicted for treatments II -IV after the thinning year.The pure thinning effects were estimated by subtracting the prediction from the observedgrowth

dkt = ykt − ykt (2)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 16 / 24

Page 34: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Extracting effects of silvicultural thinnings

The estimated thinning effects

Extracted thinning effects

1985 1990 1995 2000 2005

−20

00

200

400

600

Year

Thi

nnin

g ef

fect

of R

ing

Bas

al A

rea

Raw data

1985 1990 1995 2000 2005

020

040

060

080

010

00

Year

Rin

g B

asal

are

a, m

m2

Line color specifies treatment (I:black, II: red, III: green IV: blue). Thick lines show thetreatment-specific mean trends; thin lines show 12 randomly selected trees.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 17 / 24

Page 35: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Modeling thinning effects using nonlinear mixed-effects model

Modeling the thinning effects

The thinning effects seem to switch on during a short time called Reaction time andstabilize thereafter at a level of Maximum thinning effect.

To explore what predictors control these two parameters, the thinning effects of thethinnend treatments 2-4 were modeled using a nonlinear mixed-effects model.

The random effects were used to take into account the data hierarchy for more reliableinference.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 18 / 24

Page 36: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Modeling thinning effects using nonlinear mixed-effects model

Nonlinear mixed-effects model for thinning effect

The thinning effect of tree k at time t was modeled using a logistic curve

dkt =Mk

1+exp(

4−8xktRk

) + ekt

dkt - thinning effect

xkt - time since thinning

Mk = µ0 +µ1T2 +µ2T3 +µ4xkt +mk

- maximum thinning effect

T2, . . . , T3 - treatments

Rk = ρ0 + ρ1zk + rk - reaction time

zk - standardized diameter[mk

rk

]∼ MVN(0,D2x2)

ekt - normal heteroscedastic residualwith AR(1) structure within a tree.

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 19 / 24

Page 37: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Modeling thinning effects using nonlinear mixed-effects model

The fitted model

The reaction time was 6 years. It did not significantly vary among treatments but wasshorter for large trees.

The maximum thinning effect increased with thinning intensity, being 282 mm/yr fortreatment IV, which indicates a 87% increase in the basal area growth compared to thecontrol.

Fixed parameters Estimate s.e. p-valueµ0 112.8 23.29 0.0000µ1 91.91 30.45 0.0026µ2 169.2 32.14 0.0000µ3 -3.214 1.006 0.0014ρ0 5.749 0.4458 0.0000ρ1 -1.461 0.4568 0.0014

Random parametersvar(rk ) 93.012

var(mk ) 2.0852cor(rk ,mk ) 0.203Residual

σ2 8.157*10-4δ1 8.746*104δ2 1.886δ3 0.5888

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 20 / 24

Page 38: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

Modeling thinning effects using nonlinear mixed-effects model

The fitted model

The reaction time was 6 years. It did not significantly vary among treatments but wasshorter for large trees.The maximum thinning effect increased with thinning intensity, being 282 mm/yr fortreatment IV, which indicates a 87% increase in the basal area growth compared to thecontrol.

Fixed parameters Estimate s.e. p-valueµ0 112.8 23.29 0.0000µ1 91.91 30.45 0.0026µ2 169.2 32.14 0.0000µ3 -3.214 1.006 0.0014ρ0 5.749 0.4458 0.0000ρ1 -1.461 0.4568 0.0014

Random parametersvar(rk ) 93.012

var(mk ) 2.0852cor(rk ,mk ) 0.203Residual

σ2 8.157*10-4δ1 8.746*104δ2 1.886δ3 0.5888

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 20 / 24

Page 39: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

System of mixed-effects model for aerial forest inventory

Motivation

Airborne Laser Scanners (ALS) provide information on the 3D- structure of forest

Majority of large individual trees can be detected from an ALS point cloud

Point cloud characteristics can be assigned to field-measured tree characteristics toestimate a system of predictive models for tree characteristics, such as stem volume,height, diameter, crown base height, dead crown height.

These tree-specific characteristics are correlated within a forest stand

Also the stand effects are correlated across models

These correlations can be utilized to predict the random effects of a mixed-effects model fora given stand for all 5 models using even one observation of one characteristics only

Enables improved predictions of hard-to-measure characteristics by using easy-to-measurecharacteristics

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 21 / 24

Page 40: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

System of mixed-effects model for aerial forest inventory

The model

The model includes a system of 5 mixed-effects models of form for tree i in stand k :

y1ki = a1 + b1x1ki + . . .+ α1k + β1k x1ki + ε1ki

y2ki = a2 + b1x2ki + . . .+ α2k + β2k x2ki + ε2ki

...

y5ki = a5 + b5x5ki + . . .+ α5k + β5k x5ki + ε5ki

where the fixed parts are as with the previous mixed-effects models and include the ALS-basedpredictors.

The assumptions on the random effects and residuals are(α1k , β1k , α2k , β2k , . . . , α5k , β5k)

′ ∼ MVN(0,D10x10), and(ε1k1, ε2ki , . . . , ε5ki) ∼ MVN(0,R5x5)

The intended use of the model is prediction applying the random effects.

The previously presented principles were used to predict the random effects of the modelsystem by using 1-10 sample trees per stand and 3 different measurement strategies

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 22 / 24

Page 41: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

System of mixed-effects model for aerial forest inventory

Results2.

702.

802.

90

RMSE

DB

H,c

m

● ● ● ● ● ● ●●●

●●

● ●

● ●

Fixed part onlyDBHDBH+HCB+HDBDBH+HCB+HDB+H

0.75

0.77

0.79

H,m

● ● ● ● ● ● ●● ● ● ●● ● ●

0.12

00.

130

V,m

3

● ● ● ● ● ● ●

● ●

● ● ●

1.4

1.6

1.8

2.0

2.2

HD

B,m

● ● ● ● ● ● ●

●● ● ● ● ● ●

1.34

1.38

1.42

HC

B,m

● ● ● ● ●●

● ● ● ●● ●

1.8

2.0

2.2

2.4

Sample size

HC

B−

HD

B,m

2 4 6 8 10

● ● ● ● ● ● ●

●● ● ● ● ● ●

0.0

0.2

0.4

0.6

bias

● ● ● ● ● ● ●

●●

●● ●

−0.

03−

0.01

0.01

Sample size

● ● ● ●●

● ●

●●

●● ●

0.00

0.02

0.04

Sample size

● ● ● ● ● ● ●

●●

● ●● ● ●

−1.

2−

0.8

−0.

40.

0

Sample size

● ● ● ● ● ● ●● ● ● ● ● ● ●

−0.

010.

01

Sample size

t

● ● ●● ● ● ●

●●

●●

● ●●

0.0

0.4

0.8

1.2

Sample size

2 4 6 8 10

● ● ● ● ● ● ●● ● ● ● ● ● ●

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 23 / 24

Page 42: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

System of mixed-effects model for aerial forest inventory

Discussion, conclusions and references

Mixed-effects models are useful tools for analyzing grouping datasets using models ofvarious types.

The prediction of random effects for a new group is a powerful tool to localize modelsafterwards using very limited datasets.I am wondering if other fields than forestry have or could have similar applications.

References

Mehtätalo, L. 2004. A longitudinal height-diameter model for Norway spruce in Finland.Can. J. For. Res. 34(1): 131-140.Mehtätalo, L., Peltola, H., Kilpeläinen, A. and Ikonen, V.-P. 2013. The effect of thinning onthe basal area growth of Scots Pine: a longitudinal analysis using nonlinear mixed-effectsmodel. Submitted manuscript.Maltamo, M., Mehtätalo, L., Vauhkonen, J. and Packalén P. 2012. Predicting and calibratingtree attributes by means of airborne laser scanning and field measurements. Can. J. For.Res. (In press)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 24 / 24

Page 43: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

System of mixed-effects model for aerial forest inventory

Discussion, conclusions and references

Mixed-effects models are useful tools for analyzing grouping datasets using models ofvarious types.The prediction of random effects for a new group is a powerful tool to localize modelsafterwards using very limited datasets.

I am wondering if other fields than forestry have or could have similar applications.

References

Mehtätalo, L. 2004. A longitudinal height-diameter model for Norway spruce in Finland.Can. J. For. Res. 34(1): 131-140.Mehtätalo, L., Peltola, H., Kilpeläinen, A. and Ikonen, V.-P. 2013. The effect of thinning onthe basal area growth of Scots Pine: a longitudinal analysis using nonlinear mixed-effectsmodel. Submitted manuscript.Maltamo, M., Mehtätalo, L., Vauhkonen, J. and Packalén P. 2012. Predicting and calibratingtree attributes by means of airborne laser scanning and field measurements. Can. J. For.Res. (In press)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 24 / 24

Page 44: Application of mixed-effect model predictions in forestrycs.uef.fi/~lamehtat/documents/esitys_JKL2012.pdfUsing a previously fitted linear mixed-effects model for tree height prediction

System of mixed-effects model for aerial forest inventory

Discussion, conclusions and references

Mixed-effects models are useful tools for analyzing grouping datasets using models ofvarious types.The prediction of random effects for a new group is a powerful tool to localize modelsafterwards using very limited datasets.I am wondering if other fields than forestry have or could have similar applications.

References

Mehtätalo, L. 2004. A longitudinal height-diameter model for Norway spruce in Finland.Can. J. For. Res. 34(1): 131-140.Mehtätalo, L., Peltola, H., Kilpeläinen, A. and Ikonen, V.-P. 2013. The effect of thinning onthe basal area growth of Scots Pine: a longitudinal analysis using nonlinear mixed-effectsmodel. Submitted manuscript.Maltamo, M., Mehtätalo, L., Vauhkonen, J. and Packalén P. 2012. Predicting and calibratingtree attributes by means of airborne laser scanning and field measurements. Can. J. For.Res. (In press)

Mehtätalo (UEF) Mixed-effects models in forestry August 30, 2012 24 / 24