-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loading in spawner/recruit data #27
Comments
The Is numbers of fish, rather than spanwer biomass, a good proxy of Total Egg Production for this stock? I hope the script is clear, but please do not hesitate asking for any clarification. |
The code as it stands assumes recruitment age is 1, so matches recruitment with adult biomass, or numbers, one year before. If the recruits data refers to an accumulated number of returns, the values need to be matched with a year lag, by calling
In this way the first ssb value (349) will be matched with the first rec value (549), even if they do not really represent numbers of age 1 recruits. You can then fit them to Ricker and Beverton & Holt models, in different formulations.
I assume there are more sophisticated ways of analyzing salmon SRR data, e.g. Fleischman et al, 2013, but FLCore only provides methods for fitting and applying the basic SRR curves. The FLSRTMB package provides a few extra tools, like fitting via a TMB implementation based on a steepness formulation. But again, nothing salmon specific yet. |
Hello,
I am attempting to load in data to do a simple ricker and beverton holt spawner recruit models on some spring chinook data. The data I have is number of spawner fish and coresponding number of recruits (recruits have already been calculated for different ages and added together for each year corresponding to spawners) from 1981-2017. I am having trouble getting the matrix to read in correctly to identify/recognize ssb and rec.
It seems like the "nsher" data is most similar to mine, I have tried to get my CSV data in the same format. But have been unsusccessful.
Can you help me with the code to get this data loaded in FLQuant?
Attached is the code I have so far (some of it working and some of it not) and the csv file I am reading the data in from.
NasonSR.csv
FLR_SpawnerRecruitCode.txt
Thank you!
Katy
The text was updated successfully, but these errors were encountered: