Presentation is loading. Please wait.

Presentation is loading. Please wait.

NWFSC A short course on data weighting and process error in Stock Synthesis Allan Hicks CAPAM workshop October 19, 2015.

Similar presentations


Presentation on theme: "NWFSC A short course on data weighting and process error in Stock Synthesis Allan Hicks CAPAM workshop October 19, 2015."— Presentation transcript:

1 NWFSC A short course on data weighting and process error in Stock Synthesis Allan Hicks CAPAM workshop October 19, 2015

2 Working definitions Process error – Variability of a process (time-varying) e.g., recruitment or selectivity Data weighting – Balancing data sources such that the expected variability matches input variability SE on indices of abundance Input vs. effective sample sizes on composition data – Allowing some data sources to influence results more than others

3 A brief introduction to SS Four required input files 1)Starter.ss 2)Forecast.ss 3)Data file 4)Control file A possible 5th file 5)wtatage.ss Executable Ss3.exe

4 SS I/O & Associated Tools Input files starter.ss MyControlFile.ss MyDataFile.ss forecast.ss SS3 Output with results Report.sso CompReport.sso covar.sso Forecast-report.sso Output for debugging warning.sso echoinput.sso ParmTrace.sso Output that mirrors input starter.ss_new control.ss_new data.ss_new forecast.ss_new to get comments or simulated data Excel Viewer R4SS any text editor Excel Sheets

5 Starter and forecast files Starter file – Define names of data and control files – Other definitions for minimization, output, and more Forecast file – Set up benchmarks and forecast settings

6 Data File sections (in order) Model dimensions Catches Abundance index Discards Mean weight Length compositions Age compositions Mean size-at-age Environmental observations Size frequencies Tag data Morph compositions

7 Data weighting methods in SS Data file Indices of abundance – Typically a lognormal likelihood – Input SE(log space) Higher values give less weight Allows for year-specific weighting Compositions – Multinomial likelihood – Input sample sizes Lower values give less weight Allows for year-specific weighting

8 Pacific Hake Example Index of abundance Age compositions

9 Control file sections (in order) Biological and time-block setup Biological parameters Stock-recruitment parameters and setup Fishing mortality Catchability Selectivity Tag-recapture Variance adjustments Lambdas (multipliers to likelihood) Extra standard deviation reporting

10 Data weighting methods in SS Variance adjustment factors

11 Data weighting methods in SS Lambdas

12 Data weighting methods Extra SD on indices of abundance

13 Estimate additive SD for indices Two concepts for weighting length and age data 1.Effective N Commonly referred to as McAllister & Ianelli (1997) a)Multiply input N’s by a factor so that harmonic mean of effective N matches the mean of the input N b)By eye, fit a line through the scatterplot of the effective N vs. the input N 2.Adjust input N so that variation around the mean contains the observed mean (Francis weighting) Data weighting guidance

14 Extra SD for indices (Widow Rockfish)

15 Length composition weighting Adj mean (inputN*Adj)meanEffN HarMean (effN) 0.2585.35183.3690.53 Widow Rockfish Midwater Trawl MeaneffN/ MeaninputN HarMeanEffN/ MeanInputNFrancis 2.151.06 0.19 (0.1-0.4)

16 Fits to composition data

17 Process error Recruitment – Estimate recruitment as deviations with a defined variance (σ R ) – Define “eras”: early, main, forecast – Main era is the most informed – Tune the variance such that the RMSE (variability) of the deviates in the main era is slightly greater than σ R

18 Process error Time-varying quantities – For example, growth and selectivity 1.Link to an environmental variable 2.Deviations 3.Random walk 4.Blocks 5.Trend Deviations (N std. dev. pars.) Random walk (N -1 std. dev. pars.) Blocks (1 par. per block) Trend (3 pars.)

19 Parameter elements #Natural Mortality #LO HI INIT PRIOR PR_type SD PHASE env-var use_dev dev_minyr dev_maxyr dev_stddev Block Block_Fxn 0.01 0.50 0.15 -1.8 3 0.3 6 0 0 0 0 0 0 0 #M Short parameter lines (7 elements) Full parameter lines (14 elements) #_Spawner-Recruitment Parameters #_LO HI INIT PRIOR PR_type SD PHASE 5 20 10 9 -1 10 1 #Ln(R0) Bounds PriorInitial value Estimating phase Optional comment Bounds PriorInitial value Estimating phase Optional comment Time-varying properties

20 Final thoughts Data weighting is an art It is basically trying to make the residuals (or lack of fit) consistent – Don’t want standardized residuals much greater than 2 standard deviations – Can look at residuals plots to see this These values do not need to be exact You may want to down-weight (or up-weight) some data sources based on your belief – Not related to the guidance above Process error can interact/confound data weighting

21 Example Let’s first look at Pacific Hake – Annual deviations on selectivity – Estimates of extra SE on indices of abundance – Recruitment and σ R – Age composition weighting If we have time, let’s look at Widow Rockfish – Block setup for time-varying factors – Output for guidance on σ R and composition weights – R4SS output for effective N and Francis weighting


Download ppt "NWFSC A short course on data weighting and process error in Stock Synthesis Allan Hicks CAPAM workshop October 19, 2015."

Similar presentations


Ads by Google