26
Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop, SWFSC, La Jolla, 6 Nov 2014

Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Embed Size (px)

Citation preview

Page 1: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Flexible estimation of growth transition

matrices: pdf parameters as non-linear

functions of body length

Richard McGarvey and John Feenstra

CAPAM Workshop, SWFSC, La Jolla, 6 Nov 2014

Page 2: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Background: Growth transition matrices

• Length-based assessment models are sensitive to the estimated model growth. • When age proportions are available, mortality rate can be

estimated directly.• But with length samples, growth must be combined with

length frequencies to estimate mortality.• Because length-based assessments operate in discrete time

and with discrete length bins, growth is described by a matrix of transition probabilities.

Page 3: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Growth in South Australian lobster

• Southern rock lobster in southeastern Australia is the largest fishery by GVP.

• Growth in South Australian lobster occurs twice yearly:• summer and winter moulting seasons.

• Males and females grow differently. • After maturity, female growth slows.

• Andre Punt’s length-based lobster stock assessment model is used in Tasmania, Victoria, and South Australia.

• Length transition matrices in South Australia were estimated using a relatively large data set of ordinary fishery single tag recoveries.

Page 4: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Data input for estimating growth transition matrices

• Matrix transition probabilities are estimated from these ordinary fishery single tag-recovery data.

• Often, but not always, the tag-recoveries are binned. • For lobsters tagged and released in each pre-growth length

bin, the fitted data are the proportions of recaptured lobsters that remain in that pre-growth bin, or that grow into larger length bins, across each assumed discrete time of growth transition.

• For crustaceans, these times of growth transition are the seasonal moulting times.

Page 5: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Factors affecting growth rate in South Australian lobster: Depth

Lobster growth rates were found, using Francis’ GROTAG (McGarvey, Ferguson, Prescott, Mar Freshwater Res, 1999) to vary with several factors.

Here, mean yearly growth rate for male and female lobsters of 100 mm CL is shown to decrease with depth:

Page 6: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Factors affecting growth rate in South Australian lobster: Population density

(as number CPUE by statistical reporting block)

Lobster growth also decreased with population density.

Here males are shown:

Page 7: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Female growth deviates from Von Bertalanffy

• Female growth differs from the strict linear decrease with body length postulated by a Von Bertalanffy model of mean growth rate.• When we first developed this method (McGarvey and

Feenstra 2001, Mar Freshwater Res), female growth deccelerated after reaching maturity.

• This is common for female crustacean species.• We sought to a more flexible growth rate description that von

Bertalanffy permits.• Specifically, we sought to improve the accuracy of estimates of

mean growth increment, and variance of growth increment, as functions of body length, in a length-transition framework.

Page 8: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Length-transition probabilities computed by integration over a selected pdf

• Usually the individual elements are not estimated as individual parameters. Rather a model dependence on pre-growth length is formulated.

• In many length-transition estimators, the elements of the matrix, notably the proportions (i.e., probabilities) growing from each ‘starting’ (pre-growth) length bin to length bins of greater body length are computed by integrating under a pdf over pre-chosen integration limits.

• The integration limits under the pdf (here, for males, ), do not equal the actual lobster length bin separation boundaries.

,1 , 1,2 , 2,3 , 3,4 , 4,5 , 5,6 , 6,

Page 9: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Computing elements of the growth transition matrix as areas under the pdf curve

The values of proportions growing (or not) in each matrix column are the probabilities under the estimated pdf.

-2 -1 0 1 2 3 4 5 6 70

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

Example normal pdf: fast growing males

Pdf integration domain

Proportion of lob-sters remaining in same length bin

Proportion growing to the next length bin

Proportion grow-ing two length bins

Proportion growing three length bins

Page 10: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Tested gamma and normal pdf’s

• We have tried normal and gamma pdfs.• Results presented below used a normal pdf, and length bins

that are 4 mm carapace length (CL) wide.• In the paper where we first described this approach (McGarvey

and Feenstra 2001, Mar Freshwater Res), we presented results for 8 mm bins and a gamma.

Page 11: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Polynomial functions of body length define the two parameters of each

normal pdf• The normal pdf parameters are estimated as polynomial functions of body length:

• We tested up to cubic for both mean and sd normal pdf parameters:

• The gamma pdf parameters were also written as polynomials of body length.

• A von Bertalanffy model is given by linear dependence on body length:

2 30 1 2 3l l l l

2 30 1 2 3l l l l

0 1l l

Page 12: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Computing pdf parameters as functions of pre-growth body (carapace) length

-2 -1 0 1 2 3 4 5 6 70

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

Pdf integration domain

Mean of pdf =

SD of pdf =

Example normal pdf: fast growing malesPdf parameters ( ) defined as functions of the pre-growth lobster carapace length ( = 84.5 mm CL)

or

Page 13: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Simple non-linear functions are used to relate body length bin mid-point to the

pdf shape and location:In Summary• Each element of the column vector of growth proportions in the

growth matrix is computed by integration under a pdf.• Each pdf is defined by two pdf parameters ( ).• Each pdf parameter is estimated as a continuous polynomial (or

power) function of pre-growth body length, specifically the length bin midpoint.

• Using non-linear functions of body length, such as polynomial or power functions, increases growth model flexibility.

• A von Bertalanffy growth model is obtained by reducing the polynomial order to a linear decline in growth increment with body length.

, or ,

Page 14: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Power functions replace polynomials for the standard deviation parameter:

Better convergence• In practice, numerical convergence in ADMB has proved to be challenging using the polynomial functions of body length.

• Polynomials having (sometimes) multiple zeros makes them more prone to multiple basins of attraction.

• We substituted power functions in place of polynomials for σ and got much more reliable convergence behaviour:

• The power function avoids needing (in ADMB) to use posfun() to restrain sigma to be positive. It suffices to bound above zero.

• In the results to follow, we present various combinations of these models, most using this power function for .

10

pl p l

l

0p

Page 15: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

• The model predicted growth probabilities are fitted to the observed length bin transition proportions, from the tag recoveries.

• A multinomial likelihood was used.• The model pdf’s are shaped and scaled by the data, via the

non-linear functions of pre-growth length bin, such that integrating the pdf over the chosen limits for each post-growth length bin give the best fitting growth matrix proportions.

• All pre-growth length bins, and both seasons of moulting, are fitted in a single maximised likelihood.

Likelihood for fitting to tag-recovery proportions

Page 16: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

• The integration variable differs from actual lobster body length. • Introducing the non-linear functions of body length, and

using these inside the pdf, makes the relationship of body length to growth matrix proportions less intuitive.

• It’s more empirical than not.• But this is also the feature that permits greater growth model

flexibility.• Integration limits of

are fairly arbitrary.• The outcomes are (fortunately) not very sensitive to the choice

of • integration limits, or• pdf function.

Arbitrary assumptions of this method

,1 , 1,2 , 2,3 , 3,4 , 4,5 , 5,6 , 6,

Page 17: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Female growth rate: Summer and winterFemale growth differed by moulting season.

A von Bertalanffy fit to overall yearly growth requires a compromise between these differing seasonal growth rates.

80 90 100 110 120 130 140 150 160 170

-2

0

2

4

6

8

10Summer and Winter moults, females

Mean and var as polynomials: Summer

GROTAG Von Bertalanffy

Mean and var as polynomials: Winter

Lobster (pre-growth) body length (bin mid-point, mm CL)

Mea

n gr

owth

incr

emen

t (m

m C

L)

Winter

Summer

Overall Von Bertalanffy

Page 18: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Female growth rate: Summer and winterFemale growth differed by moulting season.

A von Bertalanffy fit to overall yearly growth requires a compromise between these differing seasonal growth rates.

80 90 100 110 120 130 140 150 160 170

-2

0

2

4

6

8

10Summer and Winter moults, females

Mean and var as polynomials: SummerVar as power fn; Means as full cubic polynomial: SummerGROTAG Von BertalanffyMean and var as polynomials: WinterVar as power fn; Means as full cubic polynomial: Winter

Lobster (pre-growth) body length (bin mid-point, mm CL)

Mea

n gr

owth

incr

emen

t (m

m C

L)

Winter

Summer

Overall Von Bertalanffy

Page 19: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Male growth rate: Summer and winter

Male growth ismore linear than females, but

like females,shows faster growth over the winter moult.

80 100 120 140 160 180 2000

2

4

6

8

10

12Summer and Winter moult, males

Summer: Means as const & linearSummer: Means as full cubic polynomialGROTAG Von BertalanffyWinter: Means as const & linearWinter: Means as full cubic polynomial

Lobster (pre-growth) body length (bin mid-point, mm CL)

Mea

n gr

owth

incr

emen

t (m

m C

L)

All growth rate curves (including GROTAG von Bertalanffy) use power functions to model the variance of growth increment.

Summer

WinterOverall Von Bertalanffy

Page 20: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Different models: Males, summer

80 100 120 140 160 180 2000

2

4

6

8

10

12

14 Winter moult, males, showing data for the first two winter seasons covered by tag recoveries

Lobster (pre-growth) body length (bin mid-point, mm CL)

Mea

n gr

owth

incr

emen

t (m

m C

L)

Page 21: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

• This approach using a pdf with non-linear parameters is probably not the only way to add flexibility to growth transition models.

• The pdf is useful here to guarantee a sum to 1 for each moult proportion vector.

• Perhaps other methods could be proposed…..?

Observations about this method

Page 22: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

• Q1: Would it be possible to combine random effects with this non-linear growth model scheme?• capturing the mean and variance as flexibly as possible,

while better describing individual variation in growth increment?

• Q2: Which is more accurate for length-based stock assessment, • fitting to data of binned length transitions, or• fitting to individual recapture growth increments?

• Q3: Is fitting to individual recapture growth increments achieved with a random effects approach?

Possible questions for discussion

Page 23: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Acknowledgements

Page 24: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

• Andre noted that measurement error is easily and directly measured for crustaceans:

• So should we add this ~ 1mm CL measurement error SD to the likelihood? (This is only for bins.)• ANS: It can’t be included in the multinomial L very easily.

So no.• But maybe with a RE adaptation of all this.

Other possible future improvements

Page 25: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Integration limits under a normal pdf

• The pdf integration limits were defined such that

• • P(no transition) =

• P(growing to next length bin) =

• P(growing two length bins) =

• etc.

1

normal pdf ( )x

x

2

1

normal pdf ( )x

x

3

2

normal pdf ( )x

x

Page 26: Flexible estimation of growth transition matrices: pdf parameters as non-linear functions of body length Richard McGarvey and John Feenstra CAPAM Workshop,

Different models: Males, summer

80 100 120 140 160 180 2000

1

2

3

4

5

6

7

8

9

10

Mean and var as polynomialsVar as power fn; means as constants Var as power fn; Means as const & quadratic onlyVar as power fn; Means as const & linearVar as power fn; Means as full quadratic polynomialVar as power fn; Means as full cubic polynomialGROTAG Von Bertalanffy

Lobster (pre-growth) body length (bin mid-point, mm CL)

Mea

n gr

owth

incr

emen

t (m

m C

L)