diff --git a/articles/Jitter.html b/articles/Jitter.html index c0f86a3..2158186 100644 --- a/articles/Jitter.html +++ b/articles/Jitter.html @@ -136,7 +136,7 @@
r4ss::get_ss3_exe(dir = dir_jitter, version = "v3.30.21")
-#> The stock synthesis executable for Linux v3.30.21 was downloaded to: /tmp/RtmpQp3hSd/jitter/ss3
We will run the model in dir_jitter
first to produce the
necessary output files. It is recommended to do jitter runs in a
subdirectory of your model run. This will keep all of the output files
@@ -153,7 +153,7 @@
-Njitter <- 5
+Njitter <- 50
jit.likes <- r4ss::jitter(dir = dir_jitter,
Njitter = Njitter,
init_values_src = 1,
@@ -177,41 +177,181 @@ Jitter
head(jit_summary$likelihoods)
#> replist replist1 replist2 replist3 replist4 replist5
#> 1 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02
+#> 2 1.33479e-10 1.33479e-10 1.33480e-10 1.33479e-10 1.33479e-10 1.33479e-10
+#> 3 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01
+#> 4 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00
+#> 5 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02
+#> 6 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02
+#> replist6 replist7 replist8 replist9 replist10 replist11
+#> 1 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02
+#> 2 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10
+#> 3 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01
+#> 4 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00
+#> 5 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02
+#> 6 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02
+#> replist12 replist13 replist14 replist15 replist16 replist17
+#> 1 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02
+#> 2 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10
+#> 3 1.74852e-01 1.74852e-01 1.74852e-01 1.74853e-01 1.74852e-01 1.74852e-01
+#> 4 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00
+#> 5 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02
+#> 6 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02
+#> replist18 replist19 replist20 replist21 replist22 replist23
+#> 1 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02
+#> 2 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10
+#> 3 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01
+#> 4 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00
+#> 5 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02
+#> 6 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02
+#> replist24 replist25 replist26 replist27 replist28 replist29
+#> 1 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02
+#> 2 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10
+#> 3 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01
+#> 4 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00
+#> 5 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02
+#> 6 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02
+#> replist30 replist31 replist32 replist33 replist34 replist35
+#> 1 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02
+#> 2 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10
+#> 3 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01
+#> 4 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00
+#> 5 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02
+#> 6 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02
+#> replist36 replist37 replist38 replist39 replist40 replist41
+#> 1 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02
+#> 2 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10
+#> 3 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01
+#> 4 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00
+#> 5 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02
+#> 6 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02
+#> replist42 replist43 replist44 replist45 replist46 replist47
+#> 1 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02 7.54302e+02
#> 2 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10 1.33479e-10
#> 3 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01 1.74852e-01
#> 4 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00 -7.11813e+00
#> 5 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02 3.66756e+02
#> 6 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02 2.31845e+02
-#> Label
-#> 1 TOTAL
-#> 2 Catch
-#> 3 Equil_catch
-#> 4 Survey
-#> 5 Length_comp
-#> 6 Age_comp
+#> replist48 replist49 replist50 Label
+#> 1 7.54302e+02 7.54302e+02 7.54302e+02 TOTAL
+#> 2 1.33479e-10 1.33479e-10 1.33479e-10 Catch
+#> 3 1.74852e-01 1.74852e-01 1.74852e-01 Equil_catch
+#> 4 -7.11813e+00 -7.11813e+00 -7.11813e+00 Survey
+#> 5 3.66756e+02 3.66756e+02 3.66756e+02 Length_comp
+#> 6 2.31845e+02 2.31845e+02 2.31845e+02 Age_comp
head(jit_summary$quants)
-#> replist replist1 replist2 replist3 replist4 replist5 Label Yr
-#> 1 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 SSB_Virgin NA
-#> 2 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 SSB_Initial NA
-#> 3 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 SSB_2011 2011
-#> 4 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 SSB_2012 2012
-#> 5 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 SSB_2013 2013
-#> 6 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 SSB_2014 2014
+#> replist replist1 replist2 replist3 replist4 replist5 replist6 replist7
+#> 1 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8
+#> 2 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 3 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 4 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1
+#> 5 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1
+#> 6 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5
+#> replist8 replist9 replist10 replist11 replist12 replist13 replist14 replist15
+#> 1 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8
+#> 2 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 3 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 4 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1
+#> 5 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1
+#> 6 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5
+#> replist16 replist17 replist18 replist19 replist20 replist21 replist22
+#> 1 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8
+#> 2 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 3 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 4 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1
+#> 5 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1
+#> 6 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5
+#> replist23 replist24 replist25 replist26 replist27 replist28 replist29
+#> 1 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8
+#> 2 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 3 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 4 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1
+#> 5 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1
+#> 6 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5
+#> replist30 replist31 replist32 replist33 replist34 replist35 replist36
+#> 1 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8
+#> 2 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 3 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 4 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1
+#> 5 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1
+#> 6 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5
+#> replist37 replist38 replist39 replist40 replist41 replist42 replist43
+#> 1 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8
+#> 2 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 3 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 4 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1
+#> 5 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1
+#> 6 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5
+#> replist44 replist45 replist46 replist47 replist48 replist49 replist50
+#> 1 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8 54773.8
+#> 2 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 3 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4 26071.4
+#> 4 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1 24096.1
+#> 5 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1 22126.1
+#> 6 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5 20143.5
+#> Label Yr
+#> 1 SSB_Virgin NA
+#> 2 SSB_Initial NA
+#> 3 SSB_2011 2011
+#> 4 SSB_2012 2012
+#> 5 SSB_2013 2013
+#> 6 SSB_2014 2014
head(jit_summary$pars)
-#> replist replist1 replist2 replist3 replist4 replist5
-#> 1 0.100000 0.100000 0.100000 0.100000 0.100000 0.100000
-#> 2 22.769000 22.769000 22.769000 22.769000 22.769000 22.769000
-#> 3 71.807200 71.807200 71.807200 71.807200 71.807200 71.807200
-#> 4 0.142165 0.142165 0.142165 0.142165 0.142165 0.142165
-#> 5 0.100000 0.100000 0.100000 0.100000 0.100000 0.100000
-#> 6 0.100000 0.100000 0.100000 0.100000 0.100000 0.100000
-#> Label Yr recdev
-#> 1 NatM_uniform_Fem_GP_1 NA FALSE
-#> 2 L_at_Amin_Fem_GP_1 NA FALSE
-#> 3 L_at_Amax_Fem_GP_1 NA FALSE
-#> 4 VonBert_K_Fem_GP_1 NA FALSE
-#> 5 CV_young_Fem_GP_1 NA FALSE
-#> 6 CV_old_Fem_GP_1 NA FALSE
You may also want to check that the models converged. To do this you can check the maximum gradients to make sure they are all small (< 0.0001). You can also compare the estimated spawning biomass, if they diff --git a/articles/Jitter_files/figure-html/unnamed-chunk-9-1.png b/articles/Jitter_files/figure-html/unnamed-chunk-9-1.png index 3688cd6..b527ae7 100644 Binary files a/articles/Jitter_files/figure-html/unnamed-chunk-9-1.png and b/articles/Jitter_files/figure-html/unnamed-chunk-9-1.png differ diff --git a/articles/Retrospective-Analysis.html b/articles/Retrospective-Analysis.html index 3219ca3..f50fd38 100644 --- a/articles/Retrospective-Analysis.html +++ b/articles/Retrospective-Analysis.html @@ -133,7 +133,7 @@
r4ss::get_ss3_exe(dir = dir_retro, version = "v3.30.21")
-#> The stock synthesis executable for Linux v3.30.21 was downloaded to: /tmp/RtmpdTAcjt/retrospectives/ss3
r4ss::get_ss3_exe(dir = dir_tmp, version = "v3.30.21")
## The stock synthesis executable for Linux v3.30.21 was downloaded to: /tmp/RtmpW6yFM8/ss3
+## The stock synthesis executable for Linux v3.30.21 was downloaded to: /tmp/Rtmpal5pLE/ss3
r4ss::get_ss3_exe(dir = dir_tmp, version = "v3.30.21")
-#> The stock synthesis executable for Linux v3.30.21 was downloaded to: /tmp/RtmpKDJxuj/ss3