View source: R/utils-calc-historical-probs.R
calc_historical_probs | R Documentation |
Calculate probabilities from an MCMC model to compare with estimates from past assessments
calc_historical_probs(model, start = 2012, end)
model |
A model as loaded by |
start |
First assessment year to do comparisons |
end |
Final assessment year to do comparisons |
Calculate a model's estimate of P(B_t+1 < B_t) and P(B_t+1 < B_40%)
to then compare with the estimates of those quantities in year t's
assessment, in combine_historical_probs()
.
Data frame with columns
year
- year (lower case to check when binding columnsin
combine_historical_probs()
P_decline_curr
- current estimate (from model
) of the probability that
the spawning biomass declined from year to year + 1
P_below_B40_curr
- current estimate (from model
) of the probability that
the spawning biomass was below B_40 in year + 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.