Repository navigation
Fit measured latent covariates and density-dependent effects - #24
Open
PaulRegular wants to merge 16 commits into
Open
PaulRegular wants to merge 16 commits into
PaulRegular wants to merge 16 commits into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Model and data
Annual covariates can be estimated jointly with the stock from measurements and their matching
_sdcolumn in an existing input table. An IID, random-walk or stationary AR(1) trajectory can supply several formulas. A null model retains the measurements and process density, so marginal AIC compares fits to identical observations.In a survey catchability formula,
density_dependent(N)reproducesq_power(N)using abundance at survey time. In the natural mortality mean,density_dependent(capelin / B)uses the current spring capelin index and January 1 stock biomass, including the plus group.Assessment comparisons
Review
Guide source · Editable specification figure · Manuscript
The specification figure connects example input tables to
covariate_settings. The manuscript describes biomass-dependent mortality and survey-time abundance-dependent catchability in a general density-dependence subsection.Tests cover the analytic Gaussian marginal likelihood and its gradients, smoothed uncertainty, missing years, sharing across formulas, survey timing, January biomass feedback, plus-group accounting, simulation, projection and information criteria. The dashboard adds measured trajectories, observation residuals and process innovations.
plot_covariate()uses the trend plot controls. Covariate measurements and uncapped whiskers share the grey and opacity of RV observations in the dashboard.Local Windows
R CMD check --no-manualcompleted with status OK. The packaged suite passed 6,065 assertions with zero failures, warnings or skips. The subsequent observation-style change passed 271 focused plot checks. The rendered guide, two-model interactive dashboard and editable manuscript figure were verified. The Word manuscript has 26 editable display equations and both figures were checked in the page proof. The dashboard was exercised in Chrome at desktop, tablet and mobile widths.